RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Classes.toSymbol Constant

Specifies a TParser symbol token.

Pascal
toSymbol = Char(1);
C++
toSymbol = Char(1);

Classes

toSymbol is one of a number of Char values that are used by the TParser. These are tokens, representing the type of information that TParser has found whilst parsing.  

toSymbol specifies that a symbol value has been encountered. 'object', 'Left' and 'end' are typical DFM symbols. They are like Delphi keywords, as opposed to integer, string, widestring and float values that occur following a symbol and '=' sign combination.  

The value is available in the TokenString property.

Note: TParser is principally used internally by Delphi to parse DFM (form) source files. It can be used as a more general parser, but only for files similar in format to DFM files.
 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!