Symbol Object

 

Description

The Symbol Object is used to represent each terminal, special terminal and nonterminal in the GOLDParser Object's symbol table.

 

Properties

Property Data Type Access Description
Kind SymbolTypeConstants Read only Returns an enumerated data type that denotes the class of symbols that the object belongs to.
Name String Read only Returns the name of the symbol.
TableIndex Integer (16-bit) Read only Returns the index of the symbol in the GOLDParser object's Symbol Table.
Text String Read only Returns the text representation of the symbol. In the case of nonterminals, the name is delimited by angle brackets, special terminals are delimited by parenthesis and terminals are delimited by single quotes (if special characters are present).

 

Methods

This object does not contain any methods.