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 a new instance of the LexicalStateTransition 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

Gets the ISyntaxLanguage that contains the ChildLexicalState.

public ISyntaxLanguage ChildLanguage { get; }

Property Value

ISyntaxLanguage:

The ISyntaxLanguage that contains the ChildLexicalState.

ChildLexicalScope

Gets 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:

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

ChildLexicalState

Gets the ILexicalState into which a transition is made.

public ILexicalState ChildLexicalState { get; }

Property Value

ILexicalState:

The ILexicalState into which a transition is made.

ParentLexicalScope

Gets the ILexicalScope that owns this state transition.

public ILexicalScope ParentLexicalScope { get; }

Property Value

ILexicalScope:

The ILexicalScope that owns this state transition.

Inherited Members