| persistence.antlr.ToolErrorHandler
All known Subclasses: persistence.antlr.DefaultToolErrorHandler,
ToolErrorHandler | interface ToolErrorHandler (Code) | | |
Method Summary | |
public void | warnAltAmbiguity(Grammar grammar, AlternativeBlock blk, boolean lexicalAnalysis, int depth, Lookahead[] sets, int altIdx1, int altIdx2) | public void | warnAltExitAmbiguity(Grammar grammar, BlockWithImpliedExitPath blk, boolean lexicalAnalysis, int depth, Lookahead[] sets, int altIdx) Issue a warning about ambiguity between an alternate and exit path. |
warnAltAmbiguity | public void warnAltAmbiguity(Grammar grammar, AlternativeBlock blk, boolean lexicalAnalysis, int depth, Lookahead[] sets, int altIdx1, int altIdx2)(Code) | | Issue a warning about ambiguity between a alternates
Parameters: blk - The block being analyzed Parameters: lexicalAnalysis - true for lexical rule Parameters: depth - The depth of the ambiguity Parameters: sets - An array of bitsets containing the ambiguities Parameters: altIdx1 - The zero-based index of the first ambiguous alternative Parameters: altIdx2 - The zero-based index of the second ambiguous alternative |
warnAltExitAmbiguity | public void warnAltExitAmbiguity(Grammar grammar, BlockWithImpliedExitPath blk, boolean lexicalAnalysis, int depth, Lookahead[] sets, int altIdx)(Code) | | Issue a warning about ambiguity between an alternate and exit path.
Parameters: blk - The block being analyzed Parameters: lexicalAnalysis - true for lexical rule Parameters: depth - The depth of the ambiguity Parameters: sets - An array of bitsets containing the ambiguities Parameters: altIdx - The zero-based index of the ambiguous alternative |
|
|