antlr3basetree.h(3)

include/antlr3basetree.h(3) ANTLR3C include/antlr3basetree.h(3)

NAME

include/antlr3basetree.h - Definition of the ANTLR3 base tree.

SYNOPSIS

#include <antlr3defs.h>
#include <antlr3collections.h>
#include <antlr3string.h>

Data Structures


struct ANTLR3_BASE_TREE_struct
A generic tree implementation with no payload.

Typedefs


typedef struct ANTLR3_BASE_TREE_struct ANTLR3_BASE_TREE
A generic tree implementation with no payload.

Detailed Description

Definition of the ANTLR3 base tree.

Typedef Documentation

typedef struct ANTLR3_BASE_TREE_struct ANTLR3_BASE_TREE

A generic tree implementation with no payload. You must subclass to actually have any user data. ANTLR v3 uses a list of children approach instead of the child-sibling approach in v2. A flat tree (a list) is an empty node whose children represent the list. An empty (as in it does not have payload itself), but non-null node is called 'nil'.

Author

Generated automatically by Doxygen for ANTLR3C from the source code.

Tue Apr 18 2023 Version 3.3.1