The Parser unit provides a simple parser class ( GParser.TGCustomParser and GParser.TGParser) for parsing (tokenizing) a string. The TGCustomParser class serves as a base class for tokenizing strings, other classes can descend from this class for their special parsing needs. The TGParser class just exposes some properties of the base TGCustomParser class.
|
Name
|
Description
|
|
TGCustomParser
|
Base class for the GParser.TGParser class (The TGParser class exposes the properties of the TGCustomParser class).
The TGCustomParser class tokenizes a string, in other words it parses a string for a series of tokens separated by delimiters (such as spaces). The TGCustomParser class serves as a base class for tokenizing strings, other classes can descend from this class for their special parsing needs.
|
|
TGParser
|
Exposes the properties of the GParser.TGCustomParser class), it tokenizes a string by parsing a string for a series of tokens separated by Delimiters (such as spaces).
|
Top
|
|
Name
|
Description
|
|
TSkipTest
|
Defines a class method that can be called by the GParser.TGCustomParser class and its descendants to skip characters in their parsing.
For example, the TGCustomParser class defines an IsADelimiter and IsAToken method to skip the specified string types respectively
|
Top
|