ANTLR3_TYPE_TREE_PARSER (3) - Linux Manuals

ANTLR3_TYPE_TREE_PARSER: Base Recognizer Class Definition -

NAME

ANTLR3_BASE_RECOGNIZER - Base Recognizer Class Definition -

This is the definition of the base recognizer interface, instantiations of which are referred to via pANTLR3_BASE_RECOGNIZER.

Data Structures


struct ANTLR3_BASE_RECOGNIZER_struct
Base tracking context structure for all types of recognizers.

Defines


#define ANTLR3_TYPE_LEXER 0x0001
Type indicator for a lexer recognizer.
#define ANTLR3_TYPE_PARSER 0x0002
Type indicator for a parser recognizer.
#define ANTLR3_TYPE_TREE_PARSER 0x0004
Type indicator for a tree parser recognizer.

Typedefs


typedef struct ANTLR3_BASE_RECOGNIZER_struct ANTLR3_BASE_RECOGNIZER
Base tracking context structure for all types of recognizers.
typedef struct ANTLR3_BASE_RECOGNIZER_struct * pANTLR3_BASE_RECOGNIZER
Pointer to an instantiation of the 'class' ANTLR3_BASE_RECOGNIZER.

Detailed Description

This is the definition of the base recognizer interface, instantiations of which are referred to via pANTLR3_BASE_RECOGNIZER.

In general you will not refer to one of these structures directly as a a pANTLR3_BASE_RECOGNIZER will be embedded within a higher level object such as pANTLR3_PARSER

Define Documentation

#define ANTLR3_TYPE_LEXER 0x0001

Type indicator for a lexer recognizer.

Referenced by alreadyParsedRule(), antlr3LexerNew(), antlr3RecognitionExceptionNew(), and memoize().

#define ANTLR3_TYPE_PARSER 0x0002

Type indicator for a parser recognizer.

Referenced by alreadyParsedRule(), antlr3ParserNew(), antlr3RecognitionExceptionNew(), antlr3TreeParserNewStream(), consumeUntil(), consumeUntilSet(), displayRecognitionError(), match(), matchAny(), memoize(), mismatch(), recover(), recoverFromMismatchedElement(), recoverFromMismatchedSet(), recoverFromMismatchedToken(), and synpred().

#define ANTLR3_TYPE_TREE_PARSER 0x0004

Type indicator for a tree parser recognizer.

Referenced by alreadyParsedRule(), antlr3RecognitionExceptionNew(), antlr3TreeParserNewStream(), consumeUntil(), consumeUntilSet(), displayRecognitionError(), match(), matchAny(), memoize(), recover(), recoverFromMismatchedElement(), recoverFromMismatchedSet(), recoverFromMismatchedToken(), and synpred().

Typedef Documentation

typedef struct ANTLR3_BASE_RECOGNIZER_struct


  ANTLR3_BASE_RECOGNIZER"

Base tracking context structure for all types of recognizers.

typedef struct ANTLR3_BASE_RECOGNIZER_struct* pANTLR3_BASE_RECOGNIZER

Pointer to an instantiation of the 'class' ANTLR3_BASE_RECOGNIZER.

Author

Generated automatically by Doxygen for ANTLR3C from the source code.