Class LTLParserBaseListener
- java.lang.Object
-
- owl.grammar.LTLParserBaseListener
-
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeListener
,LTLParserListener
public class LTLParserBaseListener extends Object implements LTLParserListener
This class provides an empty implementation ofLTLParserListener
, which can be extended to create a listener which only needs to handle a subset of the available methods.
-
-
Constructor Summary
Constructors Constructor Description LTLParserBaseListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
enterAndExpression(LTLParser.AndExpressionContext ctx)
Enter a parse tree produced byLTLParser.andExpression()
.void
enterBinaryOp(LTLParser.BinaryOpContext ctx)
Enter a parse tree produced byLTLParser.binaryOp()
.void
enterBinaryOperation(LTLParser.BinaryOperationContext ctx)
Enter a parse tree produced by thebinaryOperation
labeled alternative inLTLParser.binaryExpression()
.void
enterBinaryUnary(LTLParser.BinaryUnaryContext ctx)
Enter a parse tree produced by thebinaryUnary
labeled alternative inLTLParser.binaryExpression()
.void
enterBool(LTLParser.BoolContext ctx)
Enter a parse tree produced byLTLParser.bool()
.void
enterBoolean(LTLParser.BooleanContext ctx)
Enter a parse tree produced by theboolean
labeled alternative inLTLParser.atomExpression()
.void
enterDoubleQuotedVariable(LTLParser.DoubleQuotedVariableContext ctx)
Enter a parse tree produced by thedoubleQuotedVariable
labeled alternative inLTLParser.atomExpression()
.void
enterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
void
enterExpression(LTLParser.ExpressionContext ctx)
Enter a parse tree produced byLTLParser.expression()
.void
enterFormula(LTLParser.FormulaContext ctx)
Enter a parse tree produced byLTLParser.formula()
.void
enterNested(LTLParser.NestedContext ctx)
Enter a parse tree produced by thenested
labeled alternative inLTLParser.atomExpression()
.void
enterOrExpression(LTLParser.OrExpressionContext ctx)
Enter a parse tree produced byLTLParser.orExpression()
.void
enterSingleQuotedVariable(LTLParser.SingleQuotedVariableContext ctx)
Enter a parse tree produced by thesingleQuotedVariable
labeled alternative inLTLParser.atomExpression()
.void
enterUnaryAtom(LTLParser.UnaryAtomContext ctx)
Enter a parse tree produced by theunaryAtom
labeled alternative inLTLParser.unaryExpression()
.void
enterUnaryOp(LTLParser.UnaryOpContext ctx)
Enter a parse tree produced byLTLParser.unaryOp()
.void
enterUnaryOperation(LTLParser.UnaryOperationContext ctx)
Enter a parse tree produced by theunaryOperation
labeled alternative inLTLParser.unaryExpression()
.void
enterVariable(LTLParser.VariableContext ctx)
Enter a parse tree produced by thevariable
labeled alternative inLTLParser.atomExpression()
.void
exitAndExpression(LTLParser.AndExpressionContext ctx)
Exit a parse tree produced byLTLParser.andExpression()
.void
exitBinaryOp(LTLParser.BinaryOpContext ctx)
Exit a parse tree produced byLTLParser.binaryOp()
.void
exitBinaryOperation(LTLParser.BinaryOperationContext ctx)
Exit a parse tree produced by thebinaryOperation
labeled alternative inLTLParser.binaryExpression()
.void
exitBinaryUnary(LTLParser.BinaryUnaryContext ctx)
Exit a parse tree produced by thebinaryUnary
labeled alternative inLTLParser.binaryExpression()
.void
exitBool(LTLParser.BoolContext ctx)
Exit a parse tree produced byLTLParser.bool()
.void
exitBoolean(LTLParser.BooleanContext ctx)
Exit a parse tree produced by theboolean
labeled alternative inLTLParser.atomExpression()
.void
exitDoubleQuotedVariable(LTLParser.DoubleQuotedVariableContext ctx)
Exit a parse tree produced by thedoubleQuotedVariable
labeled alternative inLTLParser.atomExpression()
.void
exitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
void
exitExpression(LTLParser.ExpressionContext ctx)
Exit a parse tree produced byLTLParser.expression()
.void
exitFormula(LTLParser.FormulaContext ctx)
Exit a parse tree produced byLTLParser.formula()
.void
exitNested(LTLParser.NestedContext ctx)
Exit a parse tree produced by thenested
labeled alternative inLTLParser.atomExpression()
.void
exitOrExpression(LTLParser.OrExpressionContext ctx)
Exit a parse tree produced byLTLParser.orExpression()
.void
exitSingleQuotedVariable(LTLParser.SingleQuotedVariableContext ctx)
Exit a parse tree produced by thesingleQuotedVariable
labeled alternative inLTLParser.atomExpression()
.void
exitUnaryAtom(LTLParser.UnaryAtomContext ctx)
Exit a parse tree produced by theunaryAtom
labeled alternative inLTLParser.unaryExpression()
.void
exitUnaryOp(LTLParser.UnaryOpContext ctx)
Exit a parse tree produced byLTLParser.unaryOp()
.void
exitUnaryOperation(LTLParser.UnaryOperationContext ctx)
Exit a parse tree produced by theunaryOperation
labeled alternative inLTLParser.unaryExpression()
.void
exitVariable(LTLParser.VariableContext ctx)
Exit a parse tree produced by thevariable
labeled alternative inLTLParser.atomExpression()
.void
visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node)
void
visitTerminal(org.antlr.v4.runtime.tree.TerminalNode node)
-
-
-
Method Detail
-
enterFormula
public void enterFormula(LTLParser.FormulaContext ctx)
Enter a parse tree produced byLTLParser.formula()
.The default implementation does nothing.
- Specified by:
enterFormula
in interfaceLTLParserListener
- Parameters:
ctx
- the parse tree
-
exitFormula
public void exitFormula(LTLParser.FormulaContext ctx)
Exit a parse tree produced byLTLParser.formula()
.The default implementation does nothing.
- Specified by:
exitFormula
in interfaceLTLParserListener
- Parameters:
ctx
- the parse tree
-
enterExpression
public void enterExpression(LTLParser.ExpressionContext ctx)
Enter a parse tree produced byLTLParser.expression()
.The default implementation does nothing.
- Specified by:
enterExpression
in interfaceLTLParserListener
- Parameters:
ctx
- the parse tree
-
exitExpression
public void exitExpression(LTLParser.ExpressionContext ctx)
Exit a parse tree produced byLTLParser.expression()
.The default implementation does nothing.
- Specified by:
exitExpression
in interfaceLTLParserListener
- Parameters:
ctx
- the parse tree
-
enterOrExpression
public void enterOrExpression(LTLParser.OrExpressionContext ctx)
Enter a parse tree produced byLTLParser.orExpression()
.The default implementation does nothing.
- Specified by:
enterOrExpression
in interfaceLTLParserListener
- Parameters:
ctx
- the parse tree
-
exitOrExpression
public void exitOrExpression(LTLParser.OrExpressionContext ctx)
Exit a parse tree produced byLTLParser.orExpression()
.The default implementation does nothing.
- Specified by:
exitOrExpression
in interfaceLTLParserListener
- Parameters:
ctx
- the parse tree
-
enterAndExpression
public void enterAndExpression(LTLParser.AndExpressionContext ctx)
Enter a parse tree produced byLTLParser.andExpression()
.The default implementation does nothing.
- Specified by:
enterAndExpression
in interfaceLTLParserListener
- Parameters:
ctx
- the parse tree
-
exitAndExpression
public void exitAndExpression(LTLParser.AndExpressionContext ctx)
Exit a parse tree produced byLTLParser.andExpression()
.The default implementation does nothing.
- Specified by:
exitAndExpression
in interfaceLTLParserListener
- Parameters:
ctx
- the parse tree
-
enterBinaryOperation
public void enterBinaryOperation(LTLParser.BinaryOperationContext ctx)
Enter a parse tree produced by thebinaryOperation
labeled alternative inLTLParser.binaryExpression()
.The default implementation does nothing.
- Specified by:
enterBinaryOperation
in interfaceLTLParserListener
- Parameters:
ctx
- the parse tree
-
exitBinaryOperation
public void exitBinaryOperation(LTLParser.BinaryOperationContext ctx)
Exit a parse tree produced by thebinaryOperation
labeled alternative inLTLParser.binaryExpression()
.The default implementation does nothing.
- Specified by:
exitBinaryOperation
in interfaceLTLParserListener
- Parameters:
ctx
- the parse tree
-
enterBinaryUnary
public void enterBinaryUnary(LTLParser.BinaryUnaryContext ctx)
Enter a parse tree produced by thebinaryUnary
labeled alternative inLTLParser.binaryExpression()
.The default implementation does nothing.
- Specified by:
enterBinaryUnary
in interfaceLTLParserListener
- Parameters:
ctx
- the parse tree
-
exitBinaryUnary
public void exitBinaryUnary(LTLParser.BinaryUnaryContext ctx)
Exit a parse tree produced by thebinaryUnary
labeled alternative inLTLParser.binaryExpression()
.The default implementation does nothing.
- Specified by:
exitBinaryUnary
in interfaceLTLParserListener
- Parameters:
ctx
- the parse tree
-
enterUnaryOperation
public void enterUnaryOperation(LTLParser.UnaryOperationContext ctx)
Enter a parse tree produced by theunaryOperation
labeled alternative inLTLParser.unaryExpression()
.The default implementation does nothing.
- Specified by:
enterUnaryOperation
in interfaceLTLParserListener
- Parameters:
ctx
- the parse tree
-
exitUnaryOperation
public void exitUnaryOperation(LTLParser.UnaryOperationContext ctx)
Exit a parse tree produced by theunaryOperation
labeled alternative inLTLParser.unaryExpression()
.The default implementation does nothing.
- Specified by:
exitUnaryOperation
in interfaceLTLParserListener
- Parameters:
ctx
- the parse tree
-
enterUnaryAtom
public void enterUnaryAtom(LTLParser.UnaryAtomContext ctx)
Enter a parse tree produced by theunaryAtom
labeled alternative inLTLParser.unaryExpression()
.The default implementation does nothing.
- Specified by:
enterUnaryAtom
in interfaceLTLParserListener
- Parameters:
ctx
- the parse tree
-
exitUnaryAtom
public void exitUnaryAtom(LTLParser.UnaryAtomContext ctx)
Exit a parse tree produced by theunaryAtom
labeled alternative inLTLParser.unaryExpression()
.The default implementation does nothing.
- Specified by:
exitUnaryAtom
in interfaceLTLParserListener
- Parameters:
ctx
- the parse tree
-
enterBoolean
public void enterBoolean(LTLParser.BooleanContext ctx)
Enter a parse tree produced by theboolean
labeled alternative inLTLParser.atomExpression()
.The default implementation does nothing.
- Specified by:
enterBoolean
in interfaceLTLParserListener
- Parameters:
ctx
- the parse tree
-
exitBoolean
public void exitBoolean(LTLParser.BooleanContext ctx)
Exit a parse tree produced by theboolean
labeled alternative inLTLParser.atomExpression()
.The default implementation does nothing.
- Specified by:
exitBoolean
in interfaceLTLParserListener
- Parameters:
ctx
- the parse tree
-
enterVariable
public void enterVariable(LTLParser.VariableContext ctx)
Enter a parse tree produced by thevariable
labeled alternative inLTLParser.atomExpression()
.The default implementation does nothing.
- Specified by:
enterVariable
in interfaceLTLParserListener
- Parameters:
ctx
- the parse tree
-
exitVariable
public void exitVariable(LTLParser.VariableContext ctx)
Exit a parse tree produced by thevariable
labeled alternative inLTLParser.atomExpression()
.The default implementation does nothing.
- Specified by:
exitVariable
in interfaceLTLParserListener
- Parameters:
ctx
- the parse tree
-
enterSingleQuotedVariable
public void enterSingleQuotedVariable(LTLParser.SingleQuotedVariableContext ctx)
Enter a parse tree produced by thesingleQuotedVariable
labeled alternative inLTLParser.atomExpression()
.The default implementation does nothing.
- Specified by:
enterSingleQuotedVariable
in interfaceLTLParserListener
- Parameters:
ctx
- the parse tree
-
exitSingleQuotedVariable
public void exitSingleQuotedVariable(LTLParser.SingleQuotedVariableContext ctx)
Exit a parse tree produced by thesingleQuotedVariable
labeled alternative inLTLParser.atomExpression()
.The default implementation does nothing.
- Specified by:
exitSingleQuotedVariable
in interfaceLTLParserListener
- Parameters:
ctx
- the parse tree
-
enterDoubleQuotedVariable
public void enterDoubleQuotedVariable(LTLParser.DoubleQuotedVariableContext ctx)
Enter a parse tree produced by thedoubleQuotedVariable
labeled alternative inLTLParser.atomExpression()
.The default implementation does nothing.
- Specified by:
enterDoubleQuotedVariable
in interfaceLTLParserListener
- Parameters:
ctx
- the parse tree
-
exitDoubleQuotedVariable
public void exitDoubleQuotedVariable(LTLParser.DoubleQuotedVariableContext ctx)
Exit a parse tree produced by thedoubleQuotedVariable
labeled alternative inLTLParser.atomExpression()
.The default implementation does nothing.
- Specified by:
exitDoubleQuotedVariable
in interfaceLTLParserListener
- Parameters:
ctx
- the parse tree
-
enterNested
public void enterNested(LTLParser.NestedContext ctx)
Enter a parse tree produced by thenested
labeled alternative inLTLParser.atomExpression()
.The default implementation does nothing.
- Specified by:
enterNested
in interfaceLTLParserListener
- Parameters:
ctx
- the parse tree
-
exitNested
public void exitNested(LTLParser.NestedContext ctx)
Exit a parse tree produced by thenested
labeled alternative inLTLParser.atomExpression()
.The default implementation does nothing.
- Specified by:
exitNested
in interfaceLTLParserListener
- Parameters:
ctx
- the parse tree
-
enterUnaryOp
public void enterUnaryOp(LTLParser.UnaryOpContext ctx)
Enter a parse tree produced byLTLParser.unaryOp()
.The default implementation does nothing.
- Specified by:
enterUnaryOp
in interfaceLTLParserListener
- Parameters:
ctx
- the parse tree
-
exitUnaryOp
public void exitUnaryOp(LTLParser.UnaryOpContext ctx)
Exit a parse tree produced byLTLParser.unaryOp()
.The default implementation does nothing.
- Specified by:
exitUnaryOp
in interfaceLTLParserListener
- Parameters:
ctx
- the parse tree
-
enterBinaryOp
public void enterBinaryOp(LTLParser.BinaryOpContext ctx)
Enter a parse tree produced byLTLParser.binaryOp()
.The default implementation does nothing.
- Specified by:
enterBinaryOp
in interfaceLTLParserListener
- Parameters:
ctx
- the parse tree
-
exitBinaryOp
public void exitBinaryOp(LTLParser.BinaryOpContext ctx)
Exit a parse tree produced byLTLParser.binaryOp()
.The default implementation does nothing.
- Specified by:
exitBinaryOp
in interfaceLTLParserListener
- Parameters:
ctx
- the parse tree
-
enterBool
public void enterBool(LTLParser.BoolContext ctx)
Enter a parse tree produced byLTLParser.bool()
.The default implementation does nothing.
- Specified by:
enterBool
in interfaceLTLParserListener
- Parameters:
ctx
- the parse tree
-
exitBool
public void exitBool(LTLParser.BoolContext ctx)
Exit a parse tree produced byLTLParser.bool()
.The default implementation does nothing.
- Specified by:
exitBool
in interfaceLTLParserListener
- Parameters:
ctx
- the parse tree
-
enterEveryRule
public void enterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
The default implementation does nothing.
- Specified by:
enterEveryRule
in interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
exitEveryRule
public void exitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
The default implementation does nothing.
- Specified by:
exitEveryRule
in interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
visitTerminal
public void visitTerminal(org.antlr.v4.runtime.tree.TerminalNode node)
The default implementation does nothing.
- Specified by:
visitTerminal
in interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
visitErrorNode
public void visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node)
The default implementation does nothing.
- Specified by:
visitErrorNode
in interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
-