FileDocCategorySizeDatePackage
ToolErrorHandler.javaAPI DocGlassfish v2 API1496Wed Aug 30 15:34:12 BST 2006persistence.antlr

ToolErrorHandler

public interface ToolErrorHandler

Fields Summary
Constructors Summary
Methods Summary
public voidwarnAltAmbiguity(persistence.antlr.Grammar grammar, persistence.antlr.AlternativeBlock blk, boolean lexicalAnalysis, int depth, persistence.antlr.Lookahead[] sets, int altIdx1, int altIdx2)
Issue a warning about ambiguity between a alternates

param
blk The block being analyzed
param
lexicalAnalysis true for lexical rule
param
depth The depth of the ambiguity
param
sets An array of bitsets containing the ambiguities
param
altIdx1 The zero-based index of the first ambiguous alternative
param
altIdx2 The zero-based index of the second ambiguous alternative

public voidwarnAltExitAmbiguity(persistence.antlr.Grammar grammar, persistence.antlr.BlockWithImpliedExitPath blk, boolean lexicalAnalysis, int depth, persistence.antlr.Lookahead[] sets, int altIdx)
Issue a warning about ambiguity between an alternate and exit path.

param
blk The block being analyzed
param
lexicalAnalysis true for lexical rule
param
depth The depth of the ambiguity
param
sets An array of bitsets containing the ambiguities
param
altIdx The zero-based index of the ambiguous alternative