RegFileParser Members

tikumo.regis3

RegFileParser Members regdiff Code Documentation

The RegFileParser type exposes the following members.

Constructors

  NameDescription
Public methodRegFileParser
The constructor needs an expected header identifying the version of the .REG file, as well as import options
Back to Top
Methods

  NameDescription
Public methodParse(String)
This method imports a registry key from the text of a .REG file
Protected methodParse(String, AbstractFileParser ExpectFunc)
Start parsing the given content from an initial state
(Inherited from AbstractFileParser.)
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")
(Inherited from AbstractFileParser.)
Back to Top
Fields

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