ANTLR3C  3.3.1
antlr3parser.c File Reference

Implementation of the base functionality for an ANTLR3 parser. More...

#include <antlr3parser.h>
Include dependency graph for antlr3parser.c:

Functions

ANTLR3_API pANTLR3_PARSER antlr3ParserNew (ANTLR3_UINT32 sizeHint, pANTLR3_RECOGNIZER_SHARED_STATE state)
ANTLR3_API pANTLR3_PARSER antlr3ParserNewStream (ANTLR3_UINT32 sizeHint, pANTLR3_TOKEN_STREAM tstream, pANTLR3_RECOGNIZER_SHARED_STATE state)
ANTLR3_API pANTLR3_PARSER antlr3ParserNewStreamDbg (ANTLR3_UINT32 sizeHint, pANTLR3_TOKEN_STREAM tstream, pANTLR3_DEBUG_EVENT_LISTENER dbg, pANTLR3_RECOGNIZER_SHARED_STATE state)
static void freeParser (pANTLR3_PARSER parser)
static pANTLR3_TOKEN_STREAM getTokenStream (pANTLR3_PARSER parser)
static void setDebugListener (pANTLR3_PARSER parser, pANTLR3_DEBUG_EVENT_LISTENER dbg)
static void setTokenStream (pANTLR3_PARSER parser, pANTLR3_TOKEN_STREAM)

Detailed Description

Implementation of the base functionality for an ANTLR3 parser.


Function Documentation

References antlr3ParserNew(), and ANTLR3_PARSER_struct::setTokenStream.

Referenced by antlr3ParserNewStreamDbg().

Here is the call graph for this function:

Here is the caller graph for this function:

static pANTLR3_TOKEN_STREAM getTokenStream ( pANTLR3_PARSER  parser) [static]

References ANTLR3_PARSER_struct::tstream.

Referenced by antlr3ParserNew().

Here is the caller graph for this function:

static void setTokenStream ( pANTLR3_PARSER  parser,
pANTLR3_TOKEN_STREAM  tstream 
) [static]

References ANTLR3_PARSER_struct::rec, ANTLR3_BASE_RECOGNIZER_struct::reset, and ANTLR3_PARSER_struct::tstream.

Referenced by antlr3ParserNew().

Here is the caller graph for this function: