Show / Hide Table of Contents

Class SourceTokenFactory

Provides a SyntaxFactory implementation that creates tokens for the specified source code language

Inheritance
System.Object
SyntaxFactory
SourceTokenFactory
Inherited Members
SyntaxFactory.CreateFromToken(String, String, String)
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
Overrides
SyntaxFactory.CreateNode(String, String, String)
Back to top CIL Tools (published from sources in GitHub repository).
Generated by DocFX