ANTLR3_BASE_RECOGNIZER - Man Page

ANTLR3_BASE_RECOGNIZER — Base Recognizer Class Definition

Synopsis

Data Structures

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

Macros

#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

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

Referenced By

The man pages ANTLR3_TYPE_LEXER(3), ANTLR3_TYPE_PARSER(3) and ANTLR3_TYPE_TREE_PARSER(3) are aliases of ANTLR3_BASE_RECOGNIZER(3).

Wed Jul 17 2024 00:00:00 Version 3.3.1 ANTLR3C