ANTLR3C  3.3.1
antlr3commontreenodestream.h File Reference

Definition of the ANTLR3 common tree node stream. More...

#include <antlr3defs.h>
#include <antlr3commontreeadaptor.h>
#include <antlr3commontree.h>
#include <antlr3collections.h>
#include <antlr3intstream.h>
#include <antlr3string.h>
Include dependency graph for antlr3commontreenodestream.h:
This graph shows which files directly or indirectly include this file:

Data Structures

struct  ANTLR3_COMMON_TREE_NODE_STREAM_struct
 
struct  ANTLR3_TREE_NODE_STREAM_struct
 
struct  ANTLR3_TREE_WALK_STATE_struct
 This structure is used to save the state information in the treenodestream when walking ahead with cyclic DFA or for syntactic predicates, we need to record the state of the tree node stream. More...
 

Macros

#define DEFAULT_INITIAL_BUFFER_SIZE   100
 Token buffer initial size settings ( will auto increase) More...
 
#define INITIAL_CALL_STACK_SIZE   10
 

Typedefs

typedef struct ANTLR3_COMMON_TREE_NODE_STREAM_struct  ANTLR3_COMMON_TREE_NODE_STREAM
 
typedef struct ANTLR3_TREE_NODE_STREAM_struct  ANTLR3_TREE_NODE_STREAM
 
typedef struct ANTLR3_TREE_WALK_STATE_struct  ANTLR3_TREE_WALK_STATE
 This structure is used to save the state information in the treenodestream when walking ahead with cyclic DFA or for syntactic predicates, we need to record the state of the tree node stream. More...
 

Detailed Description

Definition of the ANTLR3 common tree node stream.

Macro Definition Documentation

#define DEFAULT_INITIAL_BUFFER_SIZE   100

Token buffer initial size settings ( will auto increase)

Referenced by antlr3CommonTreeNodeStreamNew(), and antlr3CommonTreeNodeStreamNewStream().

#define INITIAL_CALL_STACK_SIZE   10

Typedef Documentation

This structure is used to save the state information in the treenodestream when walking ahead with cyclic DFA or for syntactic predicates, we need to record the state of the tree node stream.

This class wraps up the current state of the CommonTreeNodeStream. Calling mark() will push another of these on the markers stack.