ANTLR3_PARSE_TREE_struct - Man Page

Synopsis

#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.

Field Documentation

ANTLR3_BASE_TREE ANTLR3_PARSE_TREE_struct::baseTree

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.

void* ANTLR3_PARSE_TREE_struct::payload

The payload that the parse tree node passes around.

void* ANTLR3_PARSE_TREE_struct::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(* ANTLR3_PARSE_TREE_struct::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.

Author

Generated automatically by Doxygen for ANTLR3C from the source code.

Referenced By

The man page antlr3-payload(3) is an alias of ANTLR3_PARSE_TREE_struct(3).

Tue Feb 27 2024 00:00:00 Version 3.3.1 ANTLR3C