Class AisFilterBaseListener
- java.lang.Object
-
- dk.tbsalling.ais.filter.AisFilterBaseListener
-
- All Implemented Interfaces:
AisFilterListener
,org.antlr.v4.runtime.tree.ParseTreeListener
public class AisFilterBaseListener extends java.lang.Object implements AisFilterListener
This class provides an empty implementation ofAisFilterListener
, which can be extended to create a listener which only needs to handle a subset of the available methods.
-
-
Constructor Summary
Constructors Constructor Description AisFilterBaseListener()
-
Method Summary
-
-
-
Method Detail
-
enterFilter
public void enterFilter(AisFilterParser.FilterContext ctx)
Enter a parse tree produced byAisFilterParser.filter()
.The default implementation does nothing.
- Specified by:
enterFilter
in interfaceAisFilterListener
- Parameters:
ctx
- the parse tree
-
exitFilter
public void exitFilter(AisFilterParser.FilterContext ctx)
Exit a parse tree produced byAisFilterParser.filter()
.The default implementation does nothing.
- Specified by:
exitFilter
in interfaceAisFilterListener
- Parameters:
ctx
- the parse tree
-
enterAndOr
public void enterAndOr(AisFilterParser.AndOrContext ctx)
Enter a parse tree produced by theandOr
labeled alternative inAisFilterParser.filterExpression()
.The default implementation does nothing.
- Specified by:
enterAndOr
in interfaceAisFilterListener
- Parameters:
ctx
- the parse tree
-
exitAndOr
public void exitAndOr(AisFilterParser.AndOrContext ctx)
Exit a parse tree produced by theandOr
labeled alternative inAisFilterParser.filterExpression()
.The default implementation does nothing.
- Specified by:
exitAndOr
in interfaceAisFilterListener
- Parameters:
ctx
- the parse tree
-
enterMmsi
public void enterMmsi(AisFilterParser.MmsiContext ctx)
Enter a parse tree produced by themmsi
labeled alternative inAisFilterParser.filterExpression()
.The default implementation does nothing.
- Specified by:
enterMmsi
in interfaceAisFilterListener
- Parameters:
ctx
- the parse tree
-
exitMmsi
public void exitMmsi(AisFilterParser.MmsiContext ctx)
Exit a parse tree produced by themmsi
labeled alternative inAisFilterParser.filterExpression()
.The default implementation does nothing.
- Specified by:
exitMmsi
in interfaceAisFilterListener
- Parameters:
ctx
- the parse tree
-
enterRoot
public void enterRoot(AisFilterParser.RootContext ctx)
Enter a parse tree produced by theroot
labeled alternative inAisFilterParser.filterExpression()
.The default implementation does nothing.
- Specified by:
enterRoot
in interfaceAisFilterListener
- Parameters:
ctx
- the parse tree
-
exitRoot
public void exitRoot(AisFilterParser.RootContext ctx)
Exit a parse tree produced by theroot
labeled alternative inAisFilterParser.filterExpression()
.The default implementation does nothing.
- Specified by:
exitRoot
in interfaceAisFilterListener
- Parameters:
ctx
- the parse tree
-
enterMmsiInList
public void enterMmsiInList(AisFilterParser.MmsiInListContext ctx)
Enter a parse tree produced by themmsiInList
labeled alternative inAisFilterParser.filterExpression()
.The default implementation does nothing.
- Specified by:
enterMmsiInList
in interfaceAisFilterListener
- Parameters:
ctx
- the parse tree
-
exitMmsiInList
public void exitMmsiInList(AisFilterParser.MmsiInListContext ctx)
Exit a parse tree produced by themmsiInList
labeled alternative inAisFilterParser.filterExpression()
.The default implementation does nothing.
- Specified by:
exitMmsiInList
in interfaceAisFilterListener
- Parameters:
ctx
- the parse tree
-
enterMsgid
public void enterMsgid(AisFilterParser.MsgidContext ctx)
Enter a parse tree produced by themsgid
labeled alternative inAisFilterParser.filterExpression()
.The default implementation does nothing.
- Specified by:
enterMsgid
in interfaceAisFilterListener
- Parameters:
ctx
- the parse tree
-
exitMsgid
public void exitMsgid(AisFilterParser.MsgidContext ctx)
Exit a parse tree produced by themsgid
labeled alternative inAisFilterParser.filterExpression()
.The default implementation does nothing.
- Specified by:
exitMsgid
in interfaceAisFilterListener
- Parameters:
ctx
- the parse tree
-
enterSogCog
public void enterSogCog(AisFilterParser.SogCogContext ctx)
Enter a parse tree produced by thesogCog
labeled alternative inAisFilterParser.filterExpression()
.The default implementation does nothing.
- Specified by:
enterSogCog
in interfaceAisFilterListener
- Parameters:
ctx
- the parse tree
-
exitSogCog
public void exitSogCog(AisFilterParser.SogCogContext ctx)
Exit a parse tree produced by thesogCog
labeled alternative inAisFilterParser.filterExpression()
.The default implementation does nothing.
- Specified by:
exitSogCog
in interfaceAisFilterListener
- Parameters:
ctx
- the parse tree
-
enterMsgidInList
public void enterMsgidInList(AisFilterParser.MsgidInListContext ctx)
Enter a parse tree produced by themsgidInList
labeled alternative inAisFilterParser.filterExpression()
.The default implementation does nothing.
- Specified by:
enterMsgidInList
in interfaceAisFilterListener
- Parameters:
ctx
- the parse tree
-
exitMsgidInList
public void exitMsgidInList(AisFilterParser.MsgidInListContext ctx)
Exit a parse tree produced by themsgidInList
labeled alternative inAisFilterParser.filterExpression()
.The default implementation does nothing.
- Specified by:
exitMsgidInList
in interfaceAisFilterListener
- Parameters:
ctx
- the parse tree
-
enterLatLng
public void enterLatLng(AisFilterParser.LatLngContext ctx)
Enter a parse tree produced by thelatLng
labeled alternative inAisFilterParser.filterExpression()
.The default implementation does nothing.
- Specified by:
enterLatLng
in interfaceAisFilterListener
- Parameters:
ctx
- the parse tree
-
exitLatLng
public void exitLatLng(AisFilterParser.LatLngContext ctx)
Exit a parse tree produced by thelatLng
labeled alternative inAisFilterParser.filterExpression()
.The default implementation does nothing.
- Specified by:
exitLatLng
in interfaceAisFilterListener
- Parameters:
ctx
- the parse tree
-
enterCompareTo
public void enterCompareTo(AisFilterParser.CompareToContext ctx)
Enter a parse tree produced byAisFilterParser.compareTo()
.The default implementation does nothing.
- Specified by:
enterCompareTo
in interfaceAisFilterListener
- Parameters:
ctx
- the parse tree
-
exitCompareTo
public void exitCompareTo(AisFilterParser.CompareToContext ctx)
Exit a parse tree produced byAisFilterParser.compareTo()
.The default implementation does nothing.
- Specified by:
exitCompareTo
in interfaceAisFilterListener
- Parameters:
ctx
- the parse tree
-
enterNeq
public void enterNeq(AisFilterParser.NeqContext ctx)
Enter a parse tree produced byAisFilterParser.neq()
.The default implementation does nothing.
- Specified by:
enterNeq
in interfaceAisFilterListener
- Parameters:
ctx
- the parse tree
-
exitNeq
public void exitNeq(AisFilterParser.NeqContext ctx)
Exit a parse tree produced byAisFilterParser.neq()
.The default implementation does nothing.
- Specified by:
exitNeq
in interfaceAisFilterListener
- Parameters:
ctx
- the parse tree
-
enterEq
public void enterEq(AisFilterParser.EqContext ctx)
Enter a parse tree produced byAisFilterParser.eq()
.The default implementation does nothing.
- Specified by:
enterEq
in interfaceAisFilterListener
- Parameters:
ctx
- the parse tree
-
exitEq
public void exitEq(AisFilterParser.EqContext ctx)
Exit a parse tree produced byAisFilterParser.eq()
.The default implementation does nothing.
- Specified by:
exitEq
in interfaceAisFilterListener
- Parameters:
ctx
- the parse tree
-
enterGt
public void enterGt(AisFilterParser.GtContext ctx)
Enter a parse tree produced byAisFilterParser.gt()
.The default implementation does nothing.
- Specified by:
enterGt
in interfaceAisFilterListener
- Parameters:
ctx
- the parse tree
-
exitGt
public void exitGt(AisFilterParser.GtContext ctx)
Exit a parse tree produced byAisFilterParser.gt()
.The default implementation does nothing.
- Specified by:
exitGt
in interfaceAisFilterListener
- Parameters:
ctx
- the parse tree
-
enterGte
public void enterGte(AisFilterParser.GteContext ctx)
Enter a parse tree produced byAisFilterParser.gte()
.The default implementation does nothing.
- Specified by:
enterGte
in interfaceAisFilterListener
- Parameters:
ctx
- the parse tree
-
exitGte
public void exitGte(AisFilterParser.GteContext ctx)
Exit a parse tree produced byAisFilterParser.gte()
.The default implementation does nothing.
- Specified by:
exitGte
in interfaceAisFilterListener
- Parameters:
ctx
- the parse tree
-
enterLte
public void enterLte(AisFilterParser.LteContext ctx)
Enter a parse tree produced byAisFilterParser.lte()
.The default implementation does nothing.
- Specified by:
enterLte
in interfaceAisFilterListener
- Parameters:
ctx
- the parse tree
-
exitLte
public void exitLte(AisFilterParser.LteContext ctx)
Exit a parse tree produced byAisFilterParser.lte()
.The default implementation does nothing.
- Specified by:
exitLte
in interfaceAisFilterListener
- Parameters:
ctx
- the parse tree
-
enterLt
public void enterLt(AisFilterParser.LtContext ctx)
Enter a parse tree produced byAisFilterParser.lt()
.The default implementation does nothing.
- Specified by:
enterLt
in interfaceAisFilterListener
- Parameters:
ctx
- the parse tree
-
exitLt
public void exitLt(AisFilterParser.LtContext ctx)
Exit a parse tree produced byAisFilterParser.lt()
.The default implementation does nothing.
- Specified by:
exitLt
in interfaceAisFilterListener
- Parameters:
ctx
- the parse tree
-
enterIn
public void enterIn(AisFilterParser.InContext ctx)
Enter a parse tree produced byAisFilterParser.in()
.The default implementation does nothing.
- Specified by:
enterIn
in interfaceAisFilterListener
- Parameters:
ctx
- the parse tree
-
exitIn
public void exitIn(AisFilterParser.InContext ctx)
Exit a parse tree produced byAisFilterParser.in()
.The default implementation does nothing.
- Specified by:
exitIn
in interfaceAisFilterListener
- Parameters:
ctx
- the parse tree
-
enterNotin
public void enterNotin(AisFilterParser.NotinContext ctx)
Enter a parse tree produced byAisFilterParser.notin()
.The default implementation does nothing.
- Specified by:
enterNotin
in interfaceAisFilterListener
- Parameters:
ctx
- the parse tree
-
exitNotin
public void exitNotin(AisFilterParser.NotinContext ctx)
Exit a parse tree produced byAisFilterParser.notin()
.The default implementation does nothing.
- Specified by:
exitNotin
in interfaceAisFilterListener
- Parameters:
ctx
- the parse tree
-
enterIntList
public void enterIntList(AisFilterParser.IntListContext ctx)
Enter a parse tree produced byAisFilterParser.intList()
.The default implementation does nothing.
- Specified by:
enterIntList
in interfaceAisFilterListener
- Parameters:
ctx
- the parse tree
-
exitIntList
public void exitIntList(AisFilterParser.IntListContext ctx)
Exit a parse tree produced byAisFilterParser.intList()
.The default implementation does nothing.
- Specified by:
exitIntList
in interfaceAisFilterListener
- 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
-
-