IDynamicLexer Interface
Provides the base requirements for a dynamic lexer, one that is pattern based.
public interface IDynamicLexer : IMergableLexer, ILexer, IKeyedObject
Properties
DefaultLexicalState
Gets or sets the root ILexicalState for when the language is entered.
DynamicLexicalState DefaultLexicalState { get; set; }
Property Value
- DynamicLexicalState:
The root ILexicalState for when the language is entered.
See Also
Key
Gets or sets a string that identifies the lexer, generally the related language name.
string Key { get; set; }
Property Value
- string:
A string that identifies the lexer, generally the related language name.
See Also
LexicalMacros
Gets the collection of lexical macros.
IDynamicLexicalMacroCollection LexicalMacros { get; }
Property Value
- IDynamicLexicalMacroCollection:
A IDynamicLexicalMacroCollection containing the lexical macros.
See Also
LexicalStates
Gets the collection of lexical states.
IDynamicLexicalStateCollection LexicalStates { get; }
Property Value
- IDynamicLexicalStateCollection:
A IDynamicLexicalStateCollection containing the lexical states.
See Also
Inherited Members
- IMergableLexer.CreateChangeBatch()
- IMergableLexer.CreateDocumentEndToken(int, TextPosition, ILexicalState)
- IMergableLexer.CreateToken(int, int, TextPosition, TextPosition, MergableLexerFlags, ILexicalState, IMergableTokenLexerData)
- IMergableLexer.GetAllLexicalStateTransitions()
- IMergableLexer.GetDefaultToken(ITextBufferReader, ILexicalState)
- IMergableLexer.GetNextToken(ITextBufferReader, ILexicalState)
- IMergableLexer.LexicalStateIdProvider
- IMergableLexer.Changed
- ILexer.Parse(TextSnapshotRange, ILexerTarget)
- ILexer.TokenIdProvider