[This is preliminary documentation and is subject to change.]
The ILexer type exposes the following members.Methods
Name | Description | |
---|---|---|
![]() | AnalyzeAll |
If lexer supports lazy analysis, forces analysis of the whole source
|
![]() | MessageCodeToString |
Returns string representation of message code which is output by this processor
(Inherited from ICodeProcessor.) |
Properties
Name | Description | |
---|---|---|
![]() | AllAnalyzed |
Returns true when the shole input source has been analyzed. This property is always true for lexers that do not support lazy analysis
|
![]() | Context |
Returns context that this processor operates under
(Inherited from ICodeProcessor.) |
![]() | Language |
References language that this entity supports
(Inherited from ICodeProcessor.) |
![]() | Messages |
References message list that processor emitts messages into.
May be null, in which case errors are always thrown because they can not get logged into message list
(Inherited from ICodeProcessor.) |
![]() | Source |
References source code text that was lexed
|
![]() | SourceCodeReference |
References source code that was lexed
|
![]() | ThrowErrors |
When true, throws an exception on the first error even when MessageList is set.
When MessageList is not set any error is always thrown regardless of this parameter
(Inherited from ICodeProcessor.) |
![]() | TokenStream |
Enumerates Token stream - depending on implementation enumeration may do
lexical analysis token-by-token or in chunks with every enumerator advance
|
See Also