Package com.walkfares.calendar.period
Class GrammarEndPeriod
java.lang.Object
org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
com.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor<PeriodCode>
com.walkfares.calendar.period.GrammarEndPeriod
- All Implemented Interfaces:
com.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>
,org.antlr.v4.runtime.tree.ParseTreeVisitor<PeriodCode>
public class GrammarEndPeriod extends com.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor<PeriodCode>
-
Constructor Summary
Constructors Constructor Description GrammarEndPeriod()
-
Method Summary
Modifier and Type Method Description PeriodCode
visitEndOfMonth(com.walkfares.calendar.period.grammar.PeriodCodeParser.EndOfMonthContext ctx)
Visit a parse tree produced by theendOfMonth
labeled alternative inPeriodCodeParser.period()
.PeriodCode
visitEndOfQuarter(com.walkfares.calendar.period.grammar.PeriodCodeParser.EndOfQuarterContext ctx)
Visit a parse tree produced by theendOfQuarter
labeled alternative inPeriodCodeParser.period()
.PeriodCode
visitEndOfYear(com.walkfares.calendar.period.grammar.PeriodCodeParser.EndOfYearContext ctx)
Visit a parse tree produced by theendOfYear
labeled alternative inPeriodCodeParser.period()
.Methods inherited from class com.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor
visitBalance, visitDated, visitDay, visitDayahead, visitDayperiod, visitFinancial, visitFinancialMonth, visitFinancialWeek, visitFinancialYear, visitGasYear, visitHalfHour, visitHalfMonth, visitHalfYear, visitHour, visitMonth, visitMultiline, visitPrompt, visitQuarter, visitQuarterHour, visitSaturday, visitSeason, visitSpot, visitSpread, visitSpring, visitSummer, visitSunday, visitTest, visitTz, visitWeek, visitWeekend, visitWinter, visitWithinDay, visitWorkingWeek, visitYear, visitYearMonth
Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
visit, visitChildren, visitErrorNode, visitTerminal
-
Constructor Details
-
GrammarEndPeriod
public GrammarEndPeriod()
-
-
Method Details
-
visitEndOfMonth
public PeriodCode visitEndOfMonth(com.walkfares.calendar.period.grammar.PeriodCodeParser.EndOfMonthContext ctx)Description copied from class:com.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor
Visit a parse tree produced by theendOfMonth
labeled alternative inPeriodCodeParser.period()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitEndOfMonth
in interfacecom.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>
- Overrides:
visitEndOfMonth
in classcom.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor<PeriodCode>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEndOfQuarter
public PeriodCode visitEndOfQuarter(com.walkfares.calendar.period.grammar.PeriodCodeParser.EndOfQuarterContext ctx)Description copied from class:com.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor
Visit a parse tree produced by theendOfQuarter
labeled alternative inPeriodCodeParser.period()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitEndOfQuarter
in interfacecom.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>
- Overrides:
visitEndOfQuarter
in classcom.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor<PeriodCode>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEndOfYear
public PeriodCode visitEndOfYear(com.walkfares.calendar.period.grammar.PeriodCodeParser.EndOfYearContext ctx)Description copied from class:com.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor
Visit a parse tree produced by theendOfYear
labeled alternative inPeriodCodeParser.period()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitEndOfYear
in interfacecom.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>
- Overrides:
visitEndOfYear
in classcom.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor<PeriodCode>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-