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. UseVoidfor 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:
visitFormulain 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:
visitExpressionin 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:
visitOrExpressionin 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:
visitAndExpressionin interfaceLTLParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBinaryOperation
public T visitBinaryOperation(LTLParser.BinaryOperationContext ctx)
Visit a parse tree produced by thebinaryOperationlabeled alternative inLTLParser.binaryExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBinaryOperationin interfaceLTLParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBinaryUnary
public T visitBinaryUnary(LTLParser.BinaryUnaryContext ctx)
Visit a parse tree produced by thebinaryUnarylabeled alternative inLTLParser.binaryExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBinaryUnaryin interfaceLTLParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitUnaryOperation
public T visitUnaryOperation(LTLParser.UnaryOperationContext ctx)
Visit a parse tree produced by theunaryOperationlabeled alternative inLTLParser.unaryExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitUnaryOperationin interfaceLTLParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitUnaryAtom
public T visitUnaryAtom(LTLParser.UnaryAtomContext ctx)
Visit a parse tree produced by theunaryAtomlabeled alternative inLTLParser.unaryExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitUnaryAtomin interfaceLTLParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBoolean
public T visitBoolean(LTLParser.BooleanContext ctx)
Visit a parse tree produced by thebooleanlabeled alternative inLTLParser.atomExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBooleanin interfaceLTLParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVariable
public T visitVariable(LTLParser.VariableContext ctx)
Visit a parse tree produced by thevariablelabeled alternative inLTLParser.atomExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitVariablein interfaceLTLParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSingleQuotedVariable
public T visitSingleQuotedVariable(LTLParser.SingleQuotedVariableContext ctx)
Visit a parse tree produced by thesingleQuotedVariablelabeled alternative inLTLParser.atomExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSingleQuotedVariablein interfaceLTLParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDoubleQuotedVariable
public T visitDoubleQuotedVariable(LTLParser.DoubleQuotedVariableContext ctx)
Visit a parse tree produced by thedoubleQuotedVariablelabeled alternative inLTLParser.atomExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDoubleQuotedVariablein interfaceLTLParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNested
public T visitNested(LTLParser.NestedContext ctx)
Visit a parse tree produced by thenestedlabeled alternative inLTLParser.atomExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNestedin 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:
visitUnaryOpin 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:
visitBinaryOpin 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:
visitBoolin interfaceLTLParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
-