Class NaftahDateParserBaseVisitor<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>,NaftahDateParserVisitor<T>
- Direct Known Subclasses:
DefaultNaftahDateParserVisitor
NaftahDateParserVisitor,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionVisit a parse tree produced byNaftahDateParser.betweenSpecifier().Visit a parse tree produced by thebetweenTemporalAmountlabeled alternative inNaftahDateParser.root().Visit a parse tree produced byNaftahDateParser.betweenTimeSpecifier().Visit a parse tree produced byNaftahDateParser.calendarSpecifier().Visit a parse tree produced byNaftahDateParser.dateAmount().Visit a parse tree produced byNaftahDateParser.dateSpecifier().Visit a parse tree produced by thedateTimelabeled alternative inNaftahDateParser.root().Visit a parse tree produced byNaftahDateParser.dateTimeSpecifier().Visit a parse tree produced by thedurationlabeled alternative inNaftahDateParser.root().Visit a parse tree produced byNaftahDateParser.durationSpecifier().Visit a parse tree produced by thenowlabeled alternative inNaftahDateParser.root().Visit a parse tree produced by thenowAsDatelabeled alternative inNaftahDateParser.nowSpecifier().Visit a parse tree produced by thenowAsDateTimelabeled alternative inNaftahDateParser.nowSpecifier().Visit a parse tree produced by thenowAsTimelabeled alternative inNaftahDateParser.nowSpecifier().Visit a parse tree produced by theoffsetSpecifierlabeled alternative inNaftahDateParser.zoneOrOffsetSpecifier().Visit a parse tree produced byNaftahDateParser.periodSpecifier().Visit a parse tree produced by theperiodWithDurationlabeled alternative inNaftahDateParser.root().Visit a parse tree produced by thetimelabeled alternative inNaftahDateParser.root().Visit a parse tree produced byNaftahDateParser.timeAmount().Visit a parse tree produced byNaftahDateParser.timeSpecifier().Visit a parse tree produced byNaftahDateParser.zonedOrOffsetTimeSpecifier().Visit a parse tree produced by thezoneSpecifierlabeled alternative inNaftahDateParser.zoneOrOffsetSpecifier().Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminalMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.antlr.v4.runtime.tree.ParseTreeVisitor
visit, visitChildren, visitErrorNode, visitTerminal
-
Constructor Details
-
NaftahDateParserBaseVisitor
public NaftahDateParserBaseVisitor()
-
-
Method Details
-
visitNow
Visit a parse tree produced by thenowlabeled alternative inNaftahDateParser.root().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNowin interfaceNaftahDateParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDateTime
Visit a parse tree produced by thedateTimelabeled alternative inNaftahDateParser.root().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDateTimein interfaceNaftahDateParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTime
Visit a parse tree produced by thetimelabeled alternative inNaftahDateParser.root().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTimein interfaceNaftahDateParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPeriodWithDuration
Visit a parse tree produced by theperiodWithDurationlabeled alternative inNaftahDateParser.root().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPeriodWithDurationin interfaceNaftahDateParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDuration
Visit a parse tree produced by thedurationlabeled alternative inNaftahDateParser.root().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDurationin interfaceNaftahDateParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBetweenTemporalAmount
Visit a parse tree produced by thebetweenTemporalAmountlabeled alternative inNaftahDateParser.root().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBetweenTemporalAmountin interfaceNaftahDateParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNowAsDate
Visit a parse tree produced by thenowAsDatelabeled alternative inNaftahDateParser.nowSpecifier().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNowAsDatein interfaceNaftahDateParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNowAsTime
Visit a parse tree produced by thenowAsTimelabeled alternative inNaftahDateParser.nowSpecifier().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNowAsTimein interfaceNaftahDateParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNowAsDateTime
Visit a parse tree produced by thenowAsDateTimelabeled alternative inNaftahDateParser.nowSpecifier().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNowAsDateTimein interfaceNaftahDateParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDateTimeSpecifier
Visit a parse tree produced byNaftahDateParser.dateTimeSpecifier().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDateTimeSpecifierin interfaceNaftahDateParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDateSpecifier
Visit a parse tree produced byNaftahDateParser.dateSpecifier().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDateSpecifierin interfaceNaftahDateParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitZonedOrOffsetTimeSpecifier
Visit a parse tree produced byNaftahDateParser.zonedOrOffsetTimeSpecifier().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitZonedOrOffsetTimeSpecifierin interfaceNaftahDateParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTimeSpecifier
Visit a parse tree produced byNaftahDateParser.timeSpecifier().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTimeSpecifierin interfaceNaftahDateParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitZoneSpecifier
Visit a parse tree produced by thezoneSpecifierlabeled alternative inNaftahDateParser.zoneOrOffsetSpecifier().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitZoneSpecifierin interfaceNaftahDateParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitOffsetSpecifier
Visit a parse tree produced by theoffsetSpecifierlabeled alternative inNaftahDateParser.zoneOrOffsetSpecifier().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitOffsetSpecifierin interfaceNaftahDateParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCalendarSpecifier
Visit a parse tree produced byNaftahDateParser.calendarSpecifier().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCalendarSpecifierin interfaceNaftahDateParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDurationSpecifier
Visit a parse tree produced byNaftahDateParser.durationSpecifier().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDurationSpecifierin interfaceNaftahDateParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTimeAmount
Visit a parse tree produced byNaftahDateParser.timeAmount().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTimeAmountin interfaceNaftahDateParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPeriodSpecifier
Visit a parse tree produced byNaftahDateParser.periodSpecifier().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPeriodSpecifierin interfaceNaftahDateParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDateAmount
Visit a parse tree produced byNaftahDateParser.dateAmount().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDateAmountin interfaceNaftahDateParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBetweenSpecifier
Visit a parse tree produced byNaftahDateParser.betweenSpecifier().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBetweenSpecifierin interfaceNaftahDateParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBetweenTimeSpecifier
Visit a parse tree produced byNaftahDateParser.betweenTimeSpecifier().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBetweenTimeSpecifierin interfaceNaftahDateParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-