public class ProxyParseTreeListenerUtil extends Object
| Modifier | Constructor and Description |
|---|---|
private |
ProxyParseTreeListenerUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
delegateEnterRule(org.antlr.v4.runtime.ParserRuleContext ctx,
Collection<org.antlr.v4.runtime.tree.ParseTreeListener> listeners,
Collection<ParsingException> errors)
Delegates enter rule event to collection of parsing listeners and captures parsing exceptions that may appear.
|
static void |
delegateExitRule(org.antlr.v4.runtime.ParserRuleContext ctx,
Collection<org.antlr.v4.runtime.tree.ParseTreeListener> listeners,
Collection<ParsingException> errors)
Delegates exit rule event to collection of parsing listeners and captures parsing exceptions that may appear.
|
static void |
visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node,
Collection<org.antlr.v4.runtime.tree.ParseTreeListener> listeners,
Collection<ParsingException> errors)
Delegates visit error node event to collection of parsing listeners and captures parsing exceptions that may appear.
|
static void |
visitTerminal(org.antlr.v4.runtime.tree.TerminalNode node,
Collection<org.antlr.v4.runtime.tree.ParseTreeListener> listeners,
Collection<ParsingException> errors)
Delegates visit terminal event to collection of parsing listeners and captures parsing exceptions that may appear.
|
public static void delegateEnterRule(org.antlr.v4.runtime.ParserRuleContext ctx,
Collection<org.antlr.v4.runtime.tree.ParseTreeListener> listeners,
Collection<ParsingException> errors)
ctx - enter rule context; may not be nulllisteners - collection of listeners; may not be nullerrors - collection of errors; may not be nullpublic static void delegateExitRule(org.antlr.v4.runtime.ParserRuleContext ctx,
Collection<org.antlr.v4.runtime.tree.ParseTreeListener> listeners,
Collection<ParsingException> errors)
ctx - exit rule context; may not be nulllisteners - collection of listeners; may not be nullerrors - collection of errors; may not be nullpublic static void visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node,
Collection<org.antlr.v4.runtime.tree.ParseTreeListener> listeners,
Collection<ParsingException> errors)
node - error node; may not be nulllisteners - collection of listeners; may not be nullerrors - collection of errors; may not be nullpublic static void visitTerminal(org.antlr.v4.runtime.tree.TerminalNode node,
Collection<org.antlr.v4.runtime.tree.ParseTreeListener> listeners,
Collection<ParsingException> errors)
node - terminal node; may not be nulllisteners - collection of listeners; may not be nullerrors - collection of errors; may not be nullCopyright © 2021 JBoss by Red Hat. All rights reserved.