The DataType property provides a place where the data type of the string token can be set and retrieved from. Since the exact data types a token may take is specific to a parser, the DataType property is an integer. Parsers need to define integer constants or an enumeration which define the all unique types the token can take.
When the parser sets a token to be a numeric type, it should also place the numeric value in the CommonInterfaces.IBaseStreamToken.Number property.
Namespace: CommonInterfaces
Delphi |
public |
Property Value
Type: Integer