#include <antlr3parsetree.h>
Data Fields | |
ANTLR3_BASE_TREE | baseTree |
An encapsulated BASE TREE strcuture (NOT a pointer) that perfoms a lot of the dirty work of node management. | |
pANTLR3_BASE_TREE(* | dupNode )(struct ANTLR3_PARSE_TREE_struct *tree) |
How to dup this node. | |
void(* | free )(struct ANTLR3_PARSE_TREE_struct *tree) |
ANTLR3_UINT32(* | getType )(struct ANTLR3_PARSE_TREE_struct *tree) |
Return the type of this node. | |
void * | payload |
The payload that the parse tree node passes around. | |
void * | super |
Any interface that implements methods in this interface may need to point back to itself using this pointer to its super structure. | |
pANTLR3_STRING(* | toString )(struct ANTLR3_PARSE_TREE_struct *payload) |
Return the string representation of the payload (must be installed when the payload is added and point to a function that knwos how to manifest a pANTLR3_STRING from a node. |
An encapsulated BASE TREE strcuture (NOT a pointer) that perfoms a lot of the dirty work of node management.
pANTLR3_BASE_TREE(* ANTLR3_PARSE_TREE_struct::dupNode)(struct ANTLR3_PARSE_TREE_struct *tree) |
How to dup this node.
void(* ANTLR3_PARSE_TREE_struct::free)(struct ANTLR3_PARSE_TREE_struct *tree) |
ANTLR3_UINT32(* ANTLR3_PARSE_TREE_struct::getType)(struct ANTLR3_PARSE_TREE_struct *tree) |
Return the type of this node.
The payload that the parse tree node passes around.
Any interface that implements methods in this interface may need to point back to itself using this pointer to its super structure.
Return the string representation of the payload (must be installed when the payload is added and point to a function that knwos how to manifest a pANTLR3_STRING from a node.