Class SourceTokenFactory
Provides a SyntaxFactory implementation that creates tokens for the specified source code language
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: CilTools.SourceCode.Common
Assembly: CilTools.SourceCode.dll
Syntax
public class SourceTokenFactory : SyntaxFactory
Properties
Language
Gets a programming language for this token factory
Declaration
public SourceLanguage Language { get; }
Property Value
Type | Description |
---|---|
SourceLanguage |
Methods
CreateNode(String, String, String)
Creates a new source token
Declaration
public override SyntaxNode CreateNode(string content, string leadingWhitespace, string trailingWhitespace)
Parameters
Type | Name | Description |
---|---|---|
System.String | content | |
System.String | leadingWhitespace | |
System.String | trailingWhitespace |
Returns
Type | Description |
---|---|
SyntaxNode |