RegFileParser Members | regdiff Code Documentation |
The RegFileParser type exposes the following members.
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
RegFileParser |
The constructor needs an expected header identifying the version of the .REG file, as well as import options
|
Methods
Name | Description | |
---|---|---|
Parse(String) |
This method imports a registry key from the text of a .REG file
| |
Parse(String, AbstractFileParser ExpectFunc) |
Start parsing the given content from an initial state
(Inherited from AbstractFileParser.) | |
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")
(Inherited from AbstractFileParser.) |
Fields
Name | Description | |
---|---|---|
Buffer |
Buffer used by parser states to collect longer strings
(Inherited from AbstractFileParser.) | |
ColumnNumber |
Current column number
(Inherited from AbstractFileParser.) | |
LineNumber |
Current line number
(Inherited from AbstractFileParser.) | |
ParserState |
This is the current parser state. Derived classes initialize and maintain this.
(Inherited from AbstractFileParser.) |
See Also