In This Article

LexicalStateTransition Class

Contains information about a transition from one lexical state to another.

public class LexicalStateTransition : ILexicalStateTransition
Inheritance:
object object
Implements:
ILexicalStateTransition

Constructors

LexicalStateTransition(ISyntaxLanguage, ILexicalState, LexicalScopeBase?)

Initializes an instance of the class.

public LexicalStateTransition(ISyntaxLanguage childLanguage, ILexicalState childLexicalState, LexicalScopeBase? childLexicalScope)
Parameter Type Description
childLanguage ISyntaxLanguage

The ISyntaxLanguage that contains the ChildLexicalState.

childLexicalState ILexicalState

The ILexicalState into which a transition is made.

childLexicalScope LexicalScopeBase

The ILexicalScope that is used in the ChildLexicalState to end the transition and pop back up to the parent lexical state.

Properties

ChildLanguage

The ISyntaxLanguage that contains the ChildLexicalState.

public ISyntaxLanguage ChildLanguage { get; }

Property Value

ISyntaxLanguage

ChildLexicalScope

The ILexicalScope that is used in the ChildLexicalState to end the transition and pop back up to the parent lexical state.

public ILexicalScope? ChildLexicalScope { get; }

Property Value

ILexicalScope

ChildLexicalState

The ILexicalState into which a transition is made.

public ILexicalState ChildLexicalState { get; }

Property Value

ILexicalState

ParentLexicalScope

The ILexicalScope that owns this state transition.

public ILexicalScope? ParentLexicalScope { get; }

Property Value

ILexicalScope

Inherited Members

Extension Methods