Class SourceRefCommonCodeProcessor
Provides base implementation for common code processors
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Azos.CodeAnalysis
Assembly: Azos.dll
Syntax
public abstract class SourceRefCommonCodeProcessor : CommonCodeProcessor, ICodeProcessor, IConfigurable
Constructors
SourceRefCommonCodeProcessor(IAnalysisContext, SourceCodeRef, MessageList, Boolean)
Declaration
protected SourceRefCommonCodeProcessor(IAnalysisContext context, SourceCodeRef srcRef, MessageList messages = null, bool throwErrors = false)
Parameters
Type | Name | Description |
---|---|---|
IAnalysisContext | context | |
SourceCodeRef | srcRef | |
MessageList | messages | |
System.Boolean | throwErrors |
Properties
SourceCodeReference
References source code that is processed
Declaration
public SourceCodeRef SourceCodeReference { get; }
Property Value
Type | Description |
---|---|
SourceCodeRef |
Methods
EmitMessage(MessageType, Int32, SourcePosition, Token, String, Exception)
Declaration
protected void EmitMessage(MessageType type, int code, SourcePosition position, Token token = null, string text = null, Exception exception = null)
Parameters
Type | Name | Description |
---|---|---|
MessageType | type | |
System.Int32 | code | |
SourcePosition | position | |
Token | token | |
System.String | text | |
System.Exception | exception |