antlr3exception.h(3)

include/antlr3exception.h(3) ANTLR3C include/antlr3exception.h(3)

NAME

include/antlr3exception.h - Contains the definition of a basic ANTLR3 exception structure created by a recognizer when errors are found/predicted.

SYNOPSIS

#include <antlr3defs.h>

Data Structures


struct ANTLR3_EXCEPTION_struct
Base structure for an ANTLR3 exception tracker.

Macros


#define ANTLR3_EARLY_EXIT_EXCEPTION 5
#define ANTLR3_EARLY_EXIT_NAME 'org.antlr.runtime.EarlyExitException'
#define ANTLR3_FAILED_PREDICATE_EXCEPTION 6
#define ANTLR3_FAILED_PREDICATE_NAME 'org.antlr.runtime.FailedPredicateException'
#define ANTLR3_MISMATCHED_EX_NAME 'org.antlr.runtime.MismatchedTokenException'
Name of ANTLR3_MISMATCHED_TOKEN_EXCEPTION. #define ANTLR3_MISMATCHED_SET_EXCEPTION 4
#define ANTLR3_MISMATCHED_SET_NAME 'org.antlr.runtime.MismatchedSetException'
#define ANTLR3_MISMATCHED_TOKEN_EXCEPTION 2
Indicates that the recognizer was expecting one token and found a a different one. #define ANTLR3_MISMATCHED_TREE_NODE_EXCEPTION 7
#define ANTLR3_MISMATCHED_TREE_NODE_NAME 'org.antlr.runtime.MismatchedTreeNodeException'
#define ANTLR3_MISSING_TOKEN_EXCEPTION 10
#define ANTLR3_MISSING_TOKEN_EXCEPTION_NAME 'org.antlr.runtime.MissingTokenException'
#define ANTLR3_NO_VIABLE_ALT_EXCEPTION 3
Recognizer could not find a valid alternative from the input. #define ANTLR3_NO_VIABLE_ALT_NAME 'org.antlr.runtime.NoViableAltException'
Name of ANTLR3_NO_VIABLE_ALT_EXCEPTION. #define ANTLR3_RECOGNITION_EX_NAME 'org.antlr.runtime.RecognitionException'
Name of exception ANTLR3_RECOGNITION_EXCEPTION. #define ANTLR3_RECOGNITION_EXCEPTION 1
Indicates that the recognizer received a token in the input that was not predicted. #define ANTLR3_REWRITE_EARLY_EXCEPTION 8
#define ANTLR3_REWRITE_EARLY_EXCEPTION_NAME 'org.antlr.runtime.tree.RewriteEarlyExitException'
#define ANTLR3_UNWANTED_TOKEN_EXCEPTION 9
#define ANTLR3_UNWANTED_TOKEN_EXCEPTION_NAME 'org.antlr.runtime.UnwantedTokenException'

Typedefs


typedef struct ANTLR3_EXCEPTION_struct ANTLR3_EXCEPTION
Base structure for an ANTLR3 exception tracker.

Detailed Description

Contains the definition of a basic ANTLR3 exception structure created by a recognizer when errors are found/predicted.

Macro Definition Documentation

#define ANTLR3_EARLY_EXIT_EXCEPTION 5

#define ANTLR3_EARLY_EXIT_NAME 'org.antlr.runtime.EarlyExitException'

#define ANTLR3_FAILED_PREDICATE_EXCEPTION 6

#define ANTLR3_FAILED_PREDICATE_NAME 'org.antlr.runtime.FailedPredicateException'

#define ANTLR3_MISMATCHED_EX_NAME 'org.antlr.runtime.MismatchedTokenException'

Name of ANTLR3_MISMATCHED_TOKEN_EXCEPTION.

#define ANTLR3_MISMATCHED_SET_EXCEPTION 4

#define ANTLR3_MISMATCHED_SET_NAME 'org.antlr.runtime.MismatchedSetException'

#define ANTLR3_MISMATCHED_TOKEN_EXCEPTION 2

Indicates that the recognizer was expecting one token and found a a different one.

#define ANTLR3_MISMATCHED_TREE_NODE_EXCEPTION 7

#define ANTLR3_MISMATCHED_TREE_NODE_NAME 'org.antlr.runtime.MismatchedTreeNodeException'

#define ANTLR3_MISSING_TOKEN_EXCEPTION 10

#define ANTLR3_MISSING_TOKEN_EXCEPTION_NAME 'org.antlr.runtime.MissingTokenException'

#define ANTLR3_NO_VIABLE_ALT_EXCEPTION 3

Recognizer could not find a valid alternative from the input.

#define ANTLR3_NO_VIABLE_ALT_NAME 'org.antlr.runtime.NoViableAltException'

Name of ANTLR3_NO_VIABLE_ALT_EXCEPTION.

#define ANTLR3_RECOGNITION_EX_NAME 'org.antlr.runtime.RecognitionException'

Name of exception ANTLR3_RECOGNITION_EXCEPTION.

#define ANTLR3_RECOGNITION_EXCEPTION 1

Indicates that the recognizer received a token in the input that was not predicted.

#define ANTLR3_REWRITE_EARLY_EXCEPTION 8

#define ANTLR3_REWRITE_EARLY_EXCEPTION_NAME 'org.antlr.runtime.tree.RewriteEarlyExitException'

#define ANTLR3_UNWANTED_TOKEN_EXCEPTION 9

#define ANTLR3_UNWANTED_TOKEN_EXCEPTION_NAME 'org.antlr.runtime.UnwantedTokenException'

Typedef Documentation

typedef struct ANTLR3_EXCEPTION_struct ANTLR3_EXCEPTION

Base structure for an ANTLR3 exception tracker.

Author

Generated automatically by Doxygen for ANTLR3C from the source code.

Tue Apr 18 2023 Version 3.3.1