Lines Matching full:recognizer
48 /** Type indicator for a lexer recognizer
52 /** Type indicator for a parser recognizer
56 /** Type indicator for a tree parser recognizer
75 /// Indicates the type of recognizer that we are an instance of.
88 /// A pointer to the shared recognizer state, such that multiple
109 /// in this interface after the recognizer has initialized. This can
119 void * (*match) (struct ANTLR3_BASE_RECOGNIZER_struct * recognizer,
125 void (*matchAny) (struct ANTLR3_BASE_RECOGNIZER_struct * recognizer);
132 (*mismatchIsUnwantedToken) (struct ANTLR3_BASE_RECOGNIZER_struct * recognizer, pANTLR3_INT_STREAM input, ANTLR3_UINT32 ttype);
139 (*mismatchIsMissingToken) (struct ANTLR3_BASE_RECOGNIZER_struct * recognizer, pANTLR3_INT_STREAM input, pANTLR3_BITSET_LIST follow);
144 void (*mismatch) (struct ANTLR3_BASE_RECOGNIZER_struct * recognizer,
164 void (*reportError) (struct ANTLR3_BASE_RECOGNIZER_struct * recognizer);
170 void (*displayRecognitionError) (struct ANTLR3_BASE_RECOGNIZER_struct * recognizer, pANTLR3_UINT8 * tokenNames);
173 /// recognizer tracks its own number. So parser and lexer each have
180 (*getNumberOfSyntaxErrors) (struct ANTLR3_BASE_RECOGNIZER_struct * recognizer);
186 void (*recover) (struct ANTLR3_BASE_RECOGNIZER_struct * recognizer);
191 void (*beginResync) (struct ANTLR3_BASE_RECOGNIZER_struct * recognizer);
196 void (*endResync) (struct ANTLR3_BASE_RECOGNIZER_struct * recognizer);
201 void (*beginBacktrack) (struct ANTLR3_BASE_RECOGNIZER_struct * recognizer, ANTLR3_UINT32 level);
206 void (*endBacktrack) (struct ANTLR3_BASE_RECOGNIZER_struct * recognizer, ANTLR3_UINT32 level, ANTLR3_BOOLEAN successful);
211 pANTLR3_BITSET (*computeErrorRecoverySet) (struct ANTLR3_BASE_RECOGNIZER_struct * recognizer);
217 pANTLR3_BITSET (*computeCSRuleFollow) (struct ANTLR3_BASE_RECOGNIZER_struct * recognizer);
222 pANTLR3_BITSET (*combineFollows) (struct ANTLR3_BASE_RECOGNIZER_struct * recognizer,
229 (struct ANTLR3_BASE_RECOGNIZER_struct * recognizer,
236 void * (*recoverFromMismatchedSet) (struct ANTLR3_BASE_RECOGNIZER_struct * recognizer,
242 (struct ANTLR3_BASE_RECOGNIZER_struct * recognizer,
248 void (*consumeUntil) (struct ANTLR3_BASE_RECOGNIZER_struct * recognizer,
254 void (*consumeUntilSet) (struct ANTLR3_BASE_RECOGNIZER_struct * recognizer,
263 pANTLR3_STACK (*getRuleInvocationStack) (struct ANTLR3_BASE_RECOGNIZER_struct * recognizer);
264 pANTLR3_STACK (*getRuleInvocationStackNamed) (struct ANTLR3_BASE_RECOGNIZER_struct * recognizer,
271 pANTLR3_HASH_TABLE (*toStrings) (struct ANTLR3_BASE_RECOGNIZER_struct * recognizer,
279 ANTLR3_MARKER (*getRuleMemoization) (struct ANTLR3_BASE_RECOGNIZER_struct * recognizer,
286 ANTLR3_BOOLEAN (*alreadyParsedRule) (struct ANTLR3_BASE_RECOGNIZER_struct * recognizer,
292 void (*memoize) (struct ANTLR3_BASE_RECOGNIZER_struct * recognizer,
300 /// a simple method to ask the recognizer to tell me what the current
306 void * (*getCurrentInputSymbol) ( struct ANTLR3_BASE_RECOGNIZER_struct * recognizer,
311 /// The recognizer attempts to recover from single missing
328 void * (*getMissingSymbol) ( struct ANTLR3_BASE_RECOGNIZER_struct * recognizer,
340 ANTLR3_BOOLEAN (*synpred) ( struct ANTLR3_BASE_RECOGNIZER_struct * recognizer, void * ctx,
346 void (*exConstruct) (struct ANTLR3_BASE_RECOGNIZER_struct * recognizer);
348 /** Reset the recognizer
350 void (*reset) (struct ANTLR3_BASE_RECOGNIZER_struct * recognizer);
352 /** Pointer to a function that knows how to free the resources of a base recognizer.
354 recognizer);