ANTLR3_TREE_WALK_STATE_struct man page

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.

Synopsis

#include <antlr3commontreenodestream.h>

Data Fields

ANTLR3_MARKER absoluteNodeIndex

ANTLR3_UINT32 currentChildIndex

pANTLR3_BASE_TREE currentNode

ANTLR3_UINT32 head

pANTLR3_BASE_TREE * lookAhead

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

Author

Generated automatically by Doxygen for ANTLR3C from the source code.

Referenced By

antlr3-nodeStackSize(3) is an alias of ANTLR3_TREE_WALK_STATE_struct(3).

Tue Oct 4 2016 Version 3.3.1 ANTLR3C