Describes a token which has been parsed from a stream
Namespace: IECSInterfaces
Delphi
|
type
IStreamToken = interface( ICloneable )
['{2D42CCDF-D296-11D3-B9BB-00C04F8EDA5F}']
end;
|
|
Name
|
Description
|
|
AsString
|
Returns the textual representation of the token
|
|
DataType
|
Identifies the type of the token, whether it's an inference engine TIEType or another type of character.
|
|
LineNumber
|
Returns the line number within the stream that this token was parsed from
|
|
Number
|
Returns the numeric representation of the token
|
|
Text
|
Returns the string representation of the token
|
|
Whitespace
|
Contains the whitespace, including comments, that occur after this token and before the next token.
|
Top
|
This token is used by the TIEParser used to parse expert system files.
The TIEStreamToken class implements this interface for the IECS
|