ANTLR3_PARSER_struct - Online Linux Manual PageSection : 3
Updated : Tue Jan 26 2021
Source : Version 3.3.1
Note : ANTLR3C

NAMEANTLR3_PARSER_struct − This is the main interface for an ANTLR3 parser​.

SYNOPSIS
#include <antlr3parser​.h>

Data Fieldsvoid(* free )(struct ANTLR3_PARSER_struct *parser)
Pointer to a function that knows how to free resources of an ANTLR3 parser​.
pANTLR3_TOKEN_STREAM(* getTokenStream )(struct ANTLR3_PARSER_struct *parser)
A pointer to a function that returns the token stream for this parser​.
pANTLR3_BASE_RECOGNIZER rec
A pointer to the base recognizer, where most of the parser functions actually live because they are shared between parser and tree parser and this is the easier way than copying the interface all over the place​.
void(* setDebugListener )(struct ANTLR3_PARSER_struct *parser, pANTLR3_DEBUG_EVENT_LISTENER dbg)
A pointer to a function that installs a debugger object (it also installs the debugging versions of the parser methods​.
void(* setTokenStream )(struct ANTLR3_PARSER_struct *parser, pANTLR3_TOKEN_STREAM)
A pointer to a function that installs a token stream for the parser​.
void * super
All superstructure implementers of this interface require a pointer to their selves, which they can reference using the super pointer here​.
pANTLR3_TOKEN_STREAM tstream
A provider of a tokenstream interface, for the parser to consume tokens from​.

Detailed DescriptionThis is the main interface for an ANTLR3 parser​.

Field Documentation

void(* ANTLR3_PARSER_struct::free) (struct ANTLR3_PARSER_struct *parser)Pointer to a function that knows how to free resources of an ANTLR3 parser​. Referenced by antlr3ParserNew()​.

pANTLR3_TOKEN_STREAM(* ANTLR3_PARSER_struct::getTokenStream) (struct ANTLR3_PARSER_struct *parser)A pointer to a function that returns the token stream for this parser​. Referenced by antlr3ParserNew()​.

pANTLR3_BASE_RECOGNIZER ANTLR3_PARSER_struct::recA pointer to the base recognizer, where most of the parser functions actually live because they are shared between parser and tree parser and this is the easier way than copying the interface all over the place​. Macros hide this for the generated code so it is easier on the eye (though not the debugger ;-)​. Referenced by antlr3ParserNew(), freeParser(), setDebugListener(), and setTokenStream()​.

void(* ANTLR3_PARSER_struct::setDebugListener) (struct ANTLR3_PARSER_struct *parser, pANTLR3_DEBUG_EVENT_LISTENER dbg)A pointer to a function that installs a debugger object (it also installs the debugging versions of the parser methods​. This means that a non debug parser incurs no overhead because of the debugging stuff​. Referenced by antlr3ParserNew(), and antlr3ParserNewStreamDbg()​.

void(* ANTLR3_PARSER_struct::setTokenStream) (struct ANTLR3_PARSER_struct *parser, pANTLR3_TOKEN_STREAM)A pointer to a function that installs a token stream for the parser​. Referenced by antlr3ParserNew(), and antlr3ParserNewStream()​.

void* ANTLR3_PARSER_struct::superAll superstructure implementers of this interface require a pointer to their selves, which they can reference using the super pointer here​.

pANTLR3_TOKEN_STREAM ANTLR3_PARSER_struct::tstreamA provider of a tokenstream interface, for the parser to consume tokens from​. Referenced by alreadyParsedRule(), antlr3RecognitionExceptionNew(), consumeUntil(), consumeUntilSet(), displayRecognitionError(), getTokenStream(), match(), matchAny(), memoize(), mismatch(), recover(), recoverFromMismatchedElement(), recoverFromMismatchedSet(), recoverFromMismatchedToken(), setDebugListener(), setTokenStream(), and synpred()​.

AuthorGenerated automatically by Doxygen for ANTLR3C from the source code​.
0
Johanes Gumabo
Data Size   :   14,802 byte
man-ANTLR3_PARSER_struct.3Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   4 / 175,655
Visitor ID   :     :  
Visitor IP   :   3.144.95.167   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.