#include <antlr3defs.h>
Data Structures | |
struct | ANTLR3_EXCEPTION_struct |
Base structure for an ANTLR3 exception tracker. More... | |
Defines | |
#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 |
#define ANTLR3_EARLY_EXIT_EXCEPTION 5 |
Referenced by displayRecognitionError().
#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" |
#define ANTLR3_MISMATCHED_SET_EXCEPTION 4 |
Referenced by displayRecognitionError().
#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.
Referenced by antlr3MTExceptionNew(), and displayRecognitionError().
#define ANTLR3_MISMATCHED_TREE_NODE_EXCEPTION 7 |
Referenced by antlr3MTNExceptionNew().
#define ANTLR3_MISMATCHED_TREE_NODE_NAME "org.antlr.runtime.MismatchedTreeNodeException" |
Referenced by antlr3MTNExceptionNew().
#define ANTLR3_MISSING_TOKEN_EXCEPTION 10 |
Referenced by displayRecognitionError(), mismatch(), recoverFromMismatchedSet(), and recoverFromMismatchedToken().
#define ANTLR3_MISSING_TOKEN_EXCEPTION_NAME "org.antlr.runtime.MissingTokenException" |
Referenced by mismatch(), and recoverFromMismatchedToken().
#define ANTLR3_NO_VIABLE_ALT_EXCEPTION 3 |
Recognizer could not find a valid alternative from the input.
Referenced by displayRecognitionError(), and noViableAlt().
#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" |
#define ANTLR3_RECOGNITION_EXCEPTION 1 |
Indicates that the recognizer received a token in the input that was not predicted.
Referenced by antlr3RecognitionExceptionNew(), and displayRecognitionError().
#define ANTLR3_REWRITE_EARLY_EXCEPTION 8 |
#define ANTLR3_REWRITE_EARLY_EXCEPTION_NAME "org.antlr.runtime.tree.RewriteEarlyExitException" |
#define ANTLR3_UNWANTED_TOKEN_EXCEPTION 9 |
Referenced by displayRecognitionError(), mismatch(), and recoverFromMismatchedToken().
#define ANTLR3_UNWANTED_TOKEN_EXCEPTION_NAME "org.antlr.runtime.UnwantedTokenException" |
Referenced by mismatch(), and recoverFromMismatchedToken().
typedef struct ANTLR3_EXCEPTION_struct ANTLR3_EXCEPTION |