[This is preliminary documentation and is subject to change.]
The Parser TLexer type exposes the following members.Constructors
Name | Description | |
---|---|---|
![]() | Parser TLexer | Initializes a new instance of the Parser TLexer class |
Methods
Name | Description | |
---|---|---|
![]() | DoParse |
Override to perform actual parsing
|
![]() | 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 |
Returns string representation of message code which is output by this processor
(Inherited from CommonCodeProcessor.) |
![]() | Parse |
Performs parsing if it has not been performed yet
|
![]() | ![]() | 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
|
![]() | Input |
Returns lexers that feed this parser
|
![]() | Language |
Returns language that this processor is capable of processing
(Inherited from CommonCodeProcessor.) |
![]() | Messages |
References message list that lexer emitts messages into. May be null
(Inherited from CommonCodeProcessor.) |
![]() | SourceInput |
Lists source lexers that supply token stream for parsing
|
![]() | 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