[This is preliminary documentation and is subject to change.]
The JSONParser type exposes the following members.Constructors
Name | Description | |
---|---|---|
![]() | JSONParser(JSONLexer, MessageList, Boolean, Boolean) | Initializes a new instance of the JSONParser class |
![]() | JSONParser(JSONData, JSONLexer, MessageList, Boolean, Boolean) | Initializes a new instance of the JSONParser class |
Methods
Name | Description | |
---|---|---|
![]() | DoParse | (Overrides Parser TLexer DoParse .) |
![]() | EmitMessage | (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 ![]() |
![]() | ![]() | 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).) |
![]() | Parse |
Performs parsing if it has not been performed yet
(Inherited from Parser TLexer .) |
![]() | ![]() | Returns a string that represents the current object. (Inherited from ![]() |
Extension Methods
Properties
Name | Description | |
---|---|---|
![]() | 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.) |
![]() | HasParsed |
Indicates whether Parse() already happened
(Inherited from Parser TLexer .) |
![]() | Input |
Returns lexers that feed this parser
(Inherited from Parser TLexer .) |
![]() | Language | (Overrides CommonCodeProcessor Language.) |
![]() | Lexer | |
![]() | Messages |
References message list that lexer emitts messages into. May be null
(Inherited from CommonCodeProcessor.) |
![]() | ResultContext | |
![]() | SourceInput |
Lists source lexers that supply token stream for parsing
(Inherited from Parser TLexer .) |
![]() | 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.) |
See Also