Class LTLParserBaseVisitor<T>
- java.lang.Object
-
- org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
-
- owl.grammar.LTLParserBaseVisitor<T>
-
- Type Parameters:
T
- The return type of the visit operation. UseVoid
for operations with no return type.
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
,LTLParserVisitor<T>
public class LTLParserBaseVisitor<T> extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T> implements LTLParserVisitor<T>
This class provides an empty implementation ofLTLParserVisitor
, which can be extended to create a visitor which only needs to handle a subset of the available methods.
-
-
Constructor Summary
Constructors Constructor Description LTLParserBaseVisitor()
-
Method Summary
-
Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
-
-
-
-
Method Detail
-
visitFormula
public T visitFormula(LTLParser.FormulaContext ctx)
Visit a parse tree produced byLTLParser.formula()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitFormula
in interfaceLTLParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExpression
public T visitExpression(LTLParser.ExpressionContext ctx)
Visit a parse tree produced byLTLParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitExpression
in interfaceLTLParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitOrExpression
public T visitOrExpression(LTLParser.OrExpressionContext ctx)
Visit a parse tree produced byLTLParser.orExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitOrExpression
in interfaceLTLParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAndExpression
public T visitAndExpression(LTLParser.AndExpressionContext ctx)
Visit a parse tree produced byLTLParser.andExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitAndExpression
in interfaceLTLParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBinaryOperation
public T visitBinaryOperation(LTLParser.BinaryOperationContext ctx)
Visit a parse tree produced by thebinaryOperation
labeled alternative inLTLParser.binaryExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitBinaryOperation
in interfaceLTLParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBinaryUnary
public T visitBinaryUnary(LTLParser.BinaryUnaryContext ctx)
Visit a parse tree produced by thebinaryUnary
labeled alternative inLTLParser.binaryExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitBinaryUnary
in interfaceLTLParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitUnaryOperation
public T visitUnaryOperation(LTLParser.UnaryOperationContext ctx)
Visit a parse tree produced by theunaryOperation
labeled alternative inLTLParser.unaryExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitUnaryOperation
in interfaceLTLParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitUnaryAtom
public T visitUnaryAtom(LTLParser.UnaryAtomContext ctx)
Visit a parse tree produced by theunaryAtom
labeled alternative inLTLParser.unaryExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitUnaryAtom
in interfaceLTLParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBoolean
public T visitBoolean(LTLParser.BooleanContext ctx)
Visit a parse tree produced by theboolean
labeled alternative inLTLParser.atomExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitBoolean
in interfaceLTLParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitVariable
public T visitVariable(LTLParser.VariableContext ctx)
Visit a parse tree produced by thevariable
labeled alternative inLTLParser.atomExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitVariable
in interfaceLTLParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSingleQuotedVariable
public T visitSingleQuotedVariable(LTLParser.SingleQuotedVariableContext ctx)
Visit a parse tree produced by thesingleQuotedVariable
labeled alternative inLTLParser.atomExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitSingleQuotedVariable
in interfaceLTLParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDoubleQuotedVariable
public T visitDoubleQuotedVariable(LTLParser.DoubleQuotedVariableContext ctx)
Visit a parse tree produced by thedoubleQuotedVariable
labeled alternative inLTLParser.atomExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitDoubleQuotedVariable
in interfaceLTLParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitNested
public T visitNested(LTLParser.NestedContext ctx)
Visit a parse tree produced by thenested
labeled alternative inLTLParser.atomExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitNested
in interfaceLTLParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitUnaryOp
public T visitUnaryOp(LTLParser.UnaryOpContext ctx)
Visit a parse tree produced byLTLParser.unaryOp()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitUnaryOp
in interfaceLTLParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBinaryOp
public T visitBinaryOp(LTLParser.BinaryOpContext ctx)
Visit a parse tree produced byLTLParser.binaryOp()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitBinaryOp
in interfaceLTLParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBool
public T visitBool(LTLParser.BoolContext ctx)
Visit a parse tree produced byLTLParser.bool()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitBool
in interfaceLTLParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
-