AbstractFileParser Members

tikumo.regis3

AbstractFileParser Members regdiff Code Documentation

The AbstractFileParser type exposes the following members.

Constructors

  NameDescription
Protected methodAbstractFileParser
Initializes a new instance of the AbstractFileParser class
Back to Top
Methods

  NameDescription
Protected methodParse
Start parsing the given content from an initial state
Protected methodSyntaxError
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")
Back to Top
Fields

  NameDescription
Protected fieldBuffer
Buffer used by parser states to collect longer strings
Protected fieldColumnNumber
Current column number
Protected fieldLineNumber
Current line number
Protected fieldParserState
This is the current parser state. Derived classes initialize and maintain this.
Back to Top
See Also