[This is preliminary documentation and is subject to change.]
The JSONLexer type exposes the following members.Constructors
Name | Description | |
---|---|---|
![]() | JSONLexer(ISourceText, MessageList, Boolean) | Initializes a new instance of the JSONLexer class |
![]() | JSONLexer(IAnalysisContext, SourceCodeRef, ISourceText, MessageList, Boolean) | Initializes a new instance of the JSONLexer class |
Methods
Name | Description | |
---|---|---|
![]() | AnalyzeAll |
If lexer supports lazy analysis, forces analysis of the whole source
(Inherited from Lexer TToken .) |
![]() | DoLexingChunk | (Overrides Lexer TToken DoLexingChunk .) |
![]() | EmitMessage(MessageType, Int32, SourcePosition, Token, String, Exception) | (Inherited from SourceRefCommonCodeProcessor.) |
![]() | EmitMessage(MessageType, Int32, SourceCodeRef, Nullable SourcePosition , Token, String, Exception) | (Inherited from CommonCodeProcessor.) |
![]() | ![]() | Determines whether the specified object is equal to the current object. (Inherited from ![]() |
![]() | ![]() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from ![]() |
![]() | GetEnumerator | (Inherited from Lexer TToken .) |
![]() | ![]() | Serves as the default hash function. (Inherited from ![]() |
![]() | ![]() | Gets the (Inherited from ![]() ![]() |
![]() | ![]() | Creates a shallow copy of the current (Inherited from ![]() ![]() |
![]() | MessageCodeToString | (Overrides CommonCodeProcessor MessageCodeToString(Int32).) |
![]() | ToString | (Inherited from Lexer TToken .) |
Extension Methods
Fields
Name | Description | |
---|---|---|
![]() | m_AllAnalyzed | (Inherited from Lexer TToken .) |
![]() | m_Tokens | (Inherited from Lexer TToken .) |
Properties
Name | Description | |
---|---|---|
![]() | AllAnalyzed |
Returns true when the whole input source has been analyzed. This property is always true for lexers that do not support lazy analysis
(Inherited from Lexer TToken .) |
![]() | Context |
Returns context that this processor operates under -
an entity that retains state during analysis, such as: module compiler, project compiler, code unit translator etc.
This entity may also contain compiler/parser/lexer options etc.
(Inherited from CommonCodeProcessor.) |
![]() | Language | (Overrides CommonCodeProcessor Language.) |
![]() | Messages |
References message list that lexer emitts messages into. May be null
(Inherited from CommonCodeProcessor.) |
![]() | Source |
References source code text that was lexed
(Inherited from Lexer TToken .) |
![]() | SourceCodeReference |
References source code that is processed
(Inherited from SourceRefCommonCodeProcessor.) |
![]() | ThrowErrors |
When true, throws an exception on the first error even when MessageList is set.
When MessageList is not set any lexing error is always thrown regardless of this parameter
(Inherited from CommonCodeProcessor.) |
![]() | Tokens |
Returns tokenized source as indexable list.
Accessing this property causes lexical analysis to complete on the whole source if it has not been completed yet
(Inherited from Lexer TToken .) |
![]() | TokenStream |
Enumerates Token stream - depending on implementation enumeration may do
lexical analysis token-by-token or in chunks with every enumerator advance
(Inherited from Lexer TToken .) |
Explicit Interface Implementations
Name | Description | |
---|---|---|
![]() ![]() | IEnumerable GetEnumerator | (Inherited from Lexer TToken .) |
See Also