2.3.1.10. lex_Type()
[<<<] [>>>]
During lexeme iteration this function can be used to retrieve the typeof the current lexeme. The
type of a lexeme can be:
- LEX_T_DOUBLE a double value. A number which is not integer.
- LEX_T_LONG an long value. A number which is integer.
- LEX_T_STRING a string.
- LEX_T_ASYMBOL an alpha symbol, like a variable. This symbol is not predefined. The value
of the lexeme is the string of the symbol.
- LEX_T_NSYMBOL a predefined symbol. The actual value of the lexeme is the token value
of the symbol. If you wan to get the actual string of the symbol you have to call the function
@xref{lex_SymbolicName()}.
- LEX_T_CHARACTER A character that is not a predefined symbol and does not fit into any string.
int lex_Type(pLexObject pLex
){
[<<<] [>>>]