Package com.walkfares.calendar.period
Class GrammarDay
java.lang.Object
org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
com.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor<PeriodCode>
com.walkfares.calendar.period.GrammarDay
- All Implemented Interfaces:
com.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>
,org.antlr.v4.runtime.tree.ParseTreeVisitor<PeriodCode>
public class GrammarDay extends com.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor<PeriodCode>
-
Constructor Summary
Constructors Constructor Description GrammarDay()
-
Method Summary
Modifier and Type Method Description PeriodCode
visitDay(com.walkfares.calendar.period.grammar.PeriodCodeParser.DayContext ctx)
Visit a parse tree produced by theday
labeled alternative inPeriodCodeParser.period()
.PeriodCode
visitDayahead(com.walkfares.calendar.period.grammar.PeriodCodeParser.DayaheadContext ctx)
Visit a parse tree produced by thedayahead
labeled alternative inPeriodCodeParser.period()
.PeriodCode
visitHalfHour(com.walkfares.calendar.period.grammar.PeriodCodeParser.HalfHourContext ctx)
Visit a parse tree produced by thehalfHour
labeled alternative inPeriodCodeParser.period()
.PeriodCode
visitHour(com.walkfares.calendar.period.grammar.PeriodCodeParser.HourContext ctx)
Visit a parse tree produced by thehour
labeled alternative inPeriodCodeParser.period()
.PeriodCode
visitQuarterHour(com.walkfares.calendar.period.grammar.PeriodCodeParser.QuarterHourContext ctx)
Visit a parse tree produced by thequarterHour
labeled alternative inPeriodCodeParser.period()
.Methods inherited from class com.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor
visitBalance, visitDated, visitDayperiod, visitEndOfMonth, visitEndOfQuarter, visitEndOfYear, visitFinancial, visitFinancialMonth, visitFinancialWeek, visitFinancialYear, visitGasYear, visitHalfMonth, visitHalfYear, visitMonth, visitMultiline, visitPrompt, visitQuarter, 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
-
GrammarDay
public GrammarDay()
-
-
Method Details
-
visitQuarterHour
public PeriodCode visitQuarterHour(com.walkfares.calendar.period.grammar.PeriodCodeParser.QuarterHourContext ctx)Description copied from class:com.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor
Visit a parse tree produced by thequarterHour
labeled alternative inPeriodCodeParser.period()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitQuarterHour
in interfacecom.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>
- Overrides:
visitQuarterHour
in classcom.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor<PeriodCode>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitHour
public PeriodCode visitHour(com.walkfares.calendar.period.grammar.PeriodCodeParser.HourContext ctx)Description copied from class:com.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor
Visit a parse tree produced by thehour
labeled alternative inPeriodCodeParser.period()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitHour
in interfacecom.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>
- Overrides:
visitHour
in classcom.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor<PeriodCode>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitHalfHour
public PeriodCode visitHalfHour(com.walkfares.calendar.period.grammar.PeriodCodeParser.HalfHourContext ctx)Description copied from class:com.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor
Visit a parse tree produced by thehalfHour
labeled alternative inPeriodCodeParser.period()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitHalfHour
in interfacecom.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>
- Overrides:
visitHalfHour
in classcom.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor<PeriodCode>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDay
Description copied from class:com.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor
Visit a parse tree produced by theday
labeled alternative inPeriodCodeParser.period()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitDay
in interfacecom.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>
- Overrides:
visitDay
in classcom.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor<PeriodCode>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDayahead
public PeriodCode visitDayahead(com.walkfares.calendar.period.grammar.PeriodCodeParser.DayaheadContext ctx)Description copied from class:com.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor
Visit a parse tree produced by thedayahead
labeled alternative inPeriodCodeParser.period()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitDayahead
in interfacecom.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>
- Overrides:
visitDayahead
in classcom.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor<PeriodCode>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-