tok.hfilesource file

This header defines some macros for the standard tokenizer class.

Summary of Classes  

(none)

Summary of Global Functions  

(none)

Summary of Macros  

getTokOrig  getTokType  getTokVal 

Summary of Enums  

(none)

Summary of Templates  

(none)

Global Functions  

(none)

Macros  

getTokOrig (tok)tok.h[39]

((tok)[3])
Get the token's original text. This is the original text matched from the tokenized string.

getTokType (tok)tok.h[33]
((tok)[2])
Get the token type. This is a token enum value describing the type of the token.

getTokVal (tok)tok.h[27]
((tok)[1])
Get the token value. This is the parsed representation of the token; in most cases, this is simply the text of the original token, although it might be converted in some way (words are usually converted to lower-case, for example).

Enums  

(none)

Templates  

(none)

TADS 3 Library Manual
Generated on 9/15/2006 from TADS version 3.0.12