|
ANTLR3C 3.3.1
|
Data Fields | |
| pANTLR3_UCHAR | chars |
| Pointer that is used when the token just has a pointer to a char *, such as when a rewrite of an imaginary token supplies a string in the grammar. | |
| pANTLR3_STRING | text |
| Some token types actually do carry around their associated text, hence (*getText)() will return this pointer if it is not NULL. | |
| pANTLR3_UCHAR ANTLR3_COMMON_TOKEN_struct::[union].tokText chars |
Pointer that is used when the token just has a pointer to a char *, such as when a rewrite of an imaginary token supplies a string in the grammar.
No sense in constructing a pANTLR3_STRING just for that, as mostly the text will not be accessed - if it is, then we will build a pANTLR3_STRING for it a that point.
| pANTLR3_STRING ANTLR3_COMMON_TOKEN_struct::[union].tokText text |
Some token types actually do carry around their associated text, hence (*getText)() will return this pointer if it is not NULL.