AbstractFileParser Members | regdiff Code Documentation |
The AbstractFileParser type exposes the following members.
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
![]() | AbstractFileParser | Initializes a new instance of the AbstractFileParser class |
Methods
Name | Description | |
---|---|---|
![]() | Parse |
Start parsing the given content from an initial state
|
![]() | SyntaxError |
This function should be used to create SyntaxError exceptions. It provides a generic helptext as well as contextual information
(such as line / column number, and file context) in the trace data.
Typical use in a parser would be something like this:
throw SyntaxError("error message goes here")
|
Fields
Name | Description | |
---|---|---|
![]() | Buffer |
Buffer used by parser states to collect longer strings
|
![]() | ColumnNumber |
Current column number
|
![]() | LineNumber |
Current line number
|
![]() | ParserState |
This is the current parser state. Derived classes initialize and maintain this.
|
See Also