In This Article

ProgrammaticLexicalState Class

Provides a default implementation for a lexical state.

public class ProgrammaticLexicalState : LexicalStateBase, ILexicalState, IKeyedObject
Inheritance:
object LexicalStateBase object
Implements:
ILexicalState IKeyedObject

Constructors

ProgrammaticLexicalState(int, string)

Provides a default implementation for a lexical state.

public ProgrammaticLexicalState(int id, string key)
Parameter Type Description
id int

The ID of the lexical state.

key string

The key of the lexical state.

Properties

ChildLexicalStates

The collection of child lexical states.

public ILexicalStateCollection ChildLexicalStates { get; }

Property Value

ILexicalStateCollection

Lexer

The ILexer that contains the state.

public ILexer? Lexer { get; }

Property Value

ILexer

LexicalScopes

The collection of lexical scopes.

public ILexicalScopeCollection LexicalScopes { get; }

Property Value

ILexicalScopeCollection

Inherited Members

Extension Methods