ANTLR3C  3.3.1
ANTLR3_TREE_WALK_STATE_struct Struct Reference

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

#include <antlr3commontreenodestream.h>

Collaboration diagram for ANTLR3_TREE_WALK_STATE_struct:

Data Fields

ANTLR3_MARKER absoluteNodeIndex
ANTLR3_UINT32 currentChildIndex
pANTLR3_BASE_TREE currentNode
ANTLR3_UINT32 head
pANTLR3_BASE_TREElookAhead
ANTLR3_UINT32 lookAheadLength
ANTLR3_UINT32 nodeStackSize
pANTLR3_BASE_TREE previousNode
ANTLR3_UINT32 tail

Detailed Description

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.


Field Documentation

ANTLR3_MARKER ANTLR3_TREE_WALK_STATE_struct::absoluteNodeIndex
ANTLR3_UINT32 ANTLR3_TREE_WALK_STATE_struct::currentChildIndex
pANTLR3_BASE_TREE ANTLR3_TREE_WALK_STATE_struct::currentNode
ANTLR3_UINT32 ANTLR3_TREE_WALK_STATE_struct::head
pANTLR3_BASE_TREE* ANTLR3_TREE_WALK_STATE_struct::lookAhead
ANTLR3_UINT32 ANTLR3_TREE_WALK_STATE_struct::lookAheadLength
ANTLR3_UINT32 ANTLR3_TREE_WALK_STATE_struct::nodeStackSize
pANTLR3_BASE_TREE ANTLR3_TREE_WALK_STATE_struct::previousNode
ANTLR3_UINT32 ANTLR3_TREE_WALK_STATE_struct::tail

The documentation for this struct was generated from the following file: