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)
Initializes a new instance of the ProgrammaticLexicalState
class.
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
Gets the collection of child lexical states.
public ILexicalStateCollection ChildLexicalStates { get; }
Property Value
- ILexicalStateCollection:
A ILexicalStateCollection containing the child lexical states.
Lexer
Gets the ILexer that contains the state.
LexicalScopes
Gets the collection of lexical scopes.
public ILexicalScopeCollection LexicalScopes { get; }
Property Value
- ILexicalScopeCollection:
A ILexicalScopeCollection containing the lexical scopes.
Inherited Members
- LexicalStateBase.CreateChildLexicalStates()
- LexicalStateBase.CreateLexicalScopes()
- LexicalStateBase.ChildLexicalStatesCore
- LexicalStateBase.DefaultTokenId
- LexicalStateBase.DefaultTokenKey
- LexicalStateBase.Id
- LexicalStateBase.Key
- LexicalStateBase.LexerCore
- LexicalStateBase.LexicalScopesCore
- LexicalStateBase.Tag
- LexicalStateBase.Transition
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()