Skip to content

Properties of TParser

Methods

Member Visibility Description
CheckToken public Checks whether the token if of the given type.
CheckTokenSymbol public Checks whether the token equals the given symbol.
Create public Creates a new parser instance.
Destroy public Destroys the parser instance.
Error public Raises an EParserError exception with the given message.
ErrorFmt public Raises an EParserError exception and formats the message.
ErrorStr public Raises an EParserError exception with the given message.
HexToBinary public Writes hexadecimal data to a stream.
NextToken public Reads the next token and returns its type.
SourcePos public Returns the current position in the stream.
TokenComponentIdent public Returns the path of a subcomponent starting from the current token.
TokenFloat public Returns the current token as a float.
TokenInt public Returns the current token as an integer.
TokenString public Returns the current token as a string.
TokenSymbolIs public Returns True if the token equals the given symbol.
TokenWideString public Returns the current token as a widestring.