Represents one token (string) parsed by a fuzzy logic parser. However, the token can not only represent the string token parsed from a stream, but also provide methods for retrieving and setting its value based on a type. In other words, as the parser compiles more information about a token (possibly based on tokens before or after this token), it can replace the string token with other objects/interfaces, for example, the actual fuzzy set the string token represented.
Namespace: FuzzyInterfaces
IBaseStreamToken |
Delphi |
type |
|
|
Note that the fuzzy stream token object can also represent a list of tokens (this occurs when the parser determines that the a token's type represents a more complex object such as a function, in which case it parses all of the tokens of the function and puts them in the list. The IFuzzyStreamToken interface provides properties and methods for: accessing the string token accessing its fuzzy set or list representation determining where in the stream the token came from |
Reference |