Package com.evolveum.axiom.lang.antlr
Class AbstractAxiomAntlrVisitor<T>
- java.lang.Object
-
- org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
-
- com.evolveum.axiom.lang.antlr.AxiomBaseVisitor<T>
-
- com.evolveum.axiom.lang.antlr.AbstractAxiomAntlrVisitor<T>
-
- All Implemented Interfaces:
AxiomVisitor<T>
,org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
- Direct Known Subclasses:
AxiomAntlrVisitor2
public abstract class AbstractAxiomAntlrVisitor<T> extends AxiomBaseVisitor<T>
-
-
Constructor Summary
Constructors Constructor Description AbstractAxiomAntlrVisitor(String name)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract AxiomStreamTarget<AxiomParser.PrefixedNameContext,AxiomParser.ArgumentContext>
delegate()
T
visitArgument(AxiomParser.ArgumentContext ctx)
Visit a parse tree produced byAxiomParser.argument()
.T
visitItem(AxiomParser.ItemContext ctx)
Visit a parse tree produced byAxiomParser.item()
.T
visitItemValue(AxiomParser.ItemValueContext ctx)
Visit a parse tree produced byAxiomParser.itemValue()
.-
Methods inherited from class com.evolveum.axiom.lang.antlr.AxiomBaseVisitor
visitDataName, visitDoubleQuoteString, visitFile, visitInfraName, visitItemName, visitLocalName, visitMultilineString, visitPath, visitPathComponent, visitPathDataItem, visitPathInfraItem, visitPathValue, visitPrefix, visitPrefixedName, visitSingleQuoteString, visitString
-
Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
-
-
-
-
Constructor Detail
-
AbstractAxiomAntlrVisitor
public AbstractAxiomAntlrVisitor(String name)
-
-
Method Detail
-
delegate
protected abstract AxiomStreamTarget<AxiomParser.PrefixedNameContext,AxiomParser.ArgumentContext> delegate()
-
visitItem
public T visitItem(AxiomParser.ItemContext ctx)
Description copied from class:AxiomBaseVisitor
Visit a parse tree produced byAxiomParser.item()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitItem
in interfaceAxiomVisitor<T>
- Overrides:
visitItem
in classAxiomBaseVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitItemValue
public T visitItemValue(AxiomParser.ItemValueContext ctx)
Description copied from class:AxiomBaseVisitor
Visit a parse tree produced byAxiomParser.itemValue()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitItemValue
in interfaceAxiomVisitor<T>
- Overrides:
visitItemValue
in classAxiomBaseVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitArgument
public final T visitArgument(AxiomParser.ArgumentContext ctx)
Description copied from class:AxiomBaseVisitor
Visit a parse tree produced byAxiomParser.argument()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitArgument
in interfaceAxiomVisitor<T>
- Overrides:
visitArgument
in classAxiomBaseVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
-