Class GrammarStandard
- All Implemented Interfaces:
com.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>
,org.antlr.v4.runtime.tree.ParseTreeVisitor<PeriodCode>
public class GrammarStandard extends com.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor<PeriodCode>
-
Constructor Summary
Constructors Constructor Description GrammarStandard()
-
Method Summary
Modifier and Type Method Description PeriodCode
visitGasYear(com.walkfares.calendar.period.grammar.PeriodCodeParser.GasYearContext ctx)
Visit a parse tree produced by thegasYear
labeled alternative inPeriodCodeParser.period()
.PeriodCode
visitHalfMonth(com.walkfares.calendar.period.grammar.PeriodCodeParser.HalfMonthContext ctx)
Visit a parse tree produced by thehalfMonth
labeled alternative inPeriodCodeParser.period()
.PeriodCode
visitHalfYear(com.walkfares.calendar.period.grammar.PeriodCodeParser.HalfYearContext ctx)
Visit a parse tree produced by thehalfYear
labeled alternative inPeriodCodeParser.period()
.PeriodCode
visitMonth(com.walkfares.calendar.period.grammar.PeriodCodeParser.MonthContext ctx)
Visit a parse tree produced by themonth
labeled alternative inPeriodCodeParser.period()
.PeriodCode
visitQuarter(com.walkfares.calendar.period.grammar.PeriodCodeParser.QuarterContext ctx)
Visit a parse tree produced by thequarter
labeled alternative inPeriodCodeParser.period()
.PeriodCode
visitSeason(com.walkfares.calendar.period.grammar.PeriodCodeParser.SeasonContext ctx)
Visit a parse tree produced by theseason
labeled alternative inPeriodCodeParser.period()
.PeriodCode
visitSpread(com.walkfares.calendar.period.grammar.PeriodCodeParser.SpreadContext ctx)
Visit a parse tree produced by thespread
labeled alternative inPeriodCodeParser.period()
.PeriodCode
visitSpring(com.walkfares.calendar.period.grammar.PeriodCodeParser.SpringContext ctx)
Visit a parse tree produced by thespring
labeled alternative inPeriodCodeParser.period()
.PeriodCode
visitSummer(com.walkfares.calendar.period.grammar.PeriodCodeParser.SummerContext ctx)
Visit a parse tree produced by thesummer
labeled alternative inPeriodCodeParser.period()
.PeriodCode
visitWeek(com.walkfares.calendar.period.grammar.PeriodCodeParser.WeekContext ctx)
Visit a parse tree produced by theweek
labeled alternative inPeriodCodeParser.period()
.PeriodCode
visitWeekend(com.walkfares.calendar.period.grammar.PeriodCodeParser.WeekendContext ctx)
Visit a parse tree produced by theweekend
labeled alternative inPeriodCodeParser.period()
.PeriodCode
visitWinter(com.walkfares.calendar.period.grammar.PeriodCodeParser.WinterContext ctx)
Visit a parse tree produced by thewinter
labeled alternative inPeriodCodeParser.period()
.PeriodCode
visitWorkingWeek(com.walkfares.calendar.period.grammar.PeriodCodeParser.WorkingWeekContext ctx)
Visit a parse tree produced by theworkingWeek
labeled alternative inPeriodCodeParser.period()
.PeriodCode
visitYear(com.walkfares.calendar.period.grammar.PeriodCodeParser.YearContext ctx)
Visit a parse tree produced by theyear
labeled alternative inPeriodCodeParser.period()
.PeriodCode
visitYearMonth(com.walkfares.calendar.period.grammar.PeriodCodeParser.YearMonthContext ctx)
Visit a parse tree produced by theyearMonth
labeled alternative inPeriodCodeParser.period()
.Methods inherited from class com.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor
visitBalance, visitDated, visitDay, visitDayahead, visitDayperiod, visitEndOfMonth, visitEndOfQuarter, visitEndOfYear, visitFinancial, visitFinancialMonth, visitFinancialWeek, visitFinancialYear, visitHalfHour, visitHour, visitMultiline, visitPrompt, visitQuarterHour, visitSaturday, visitSpot, visitSunday, visitTest, visitTz, visitWithinDay
Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
visit, visitChildren, visitErrorNode, visitTerminal
-
Constructor Details
-
GrammarStandard
public GrammarStandard()
-
-
Method Details
-
visitWeek
public PeriodCode visitWeek(com.walkfares.calendar.period.grammar.PeriodCodeParser.WeekContext ctx)Description copied from class:com.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor
Visit a parse tree produced by theweek
labeled alternative inPeriodCodeParser.period()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitWeek
in interfacecom.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>
- Overrides:
visitWeek
in classcom.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor<PeriodCode>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitWeekend
public PeriodCode visitWeekend(com.walkfares.calendar.period.grammar.PeriodCodeParser.WeekendContext ctx)Description copied from class:com.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor
Visit a parse tree produced by theweekend
labeled alternative inPeriodCodeParser.period()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitWeekend
in interfacecom.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>
- Overrides:
visitWeekend
in classcom.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor<PeriodCode>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitWorkingWeek
public PeriodCode visitWorkingWeek(com.walkfares.calendar.period.grammar.PeriodCodeParser.WorkingWeekContext ctx)Description copied from class:com.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor
Visit a parse tree produced by theworkingWeek
labeled alternative inPeriodCodeParser.period()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitWorkingWeek
in interfacecom.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>
- Overrides:
visitWorkingWeek
in classcom.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor<PeriodCode>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitHalfMonth
public PeriodCode visitHalfMonth(com.walkfares.calendar.period.grammar.PeriodCodeParser.HalfMonthContext ctx)Description copied from class:com.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor
Visit a parse tree produced by thehalfMonth
labeled alternative inPeriodCodeParser.period()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitHalfMonth
in interfacecom.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>
- Overrides:
visitHalfMonth
in classcom.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor<PeriodCode>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMonth
public PeriodCode visitMonth(com.walkfares.calendar.period.grammar.PeriodCodeParser.MonthContext ctx)Description copied from class:com.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor
Visit a parse tree produced by themonth
labeled alternative inPeriodCodeParser.period()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitMonth
in interfacecom.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>
- Overrides:
visitMonth
in classcom.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor<PeriodCode>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitQuarter
public PeriodCode visitQuarter(com.walkfares.calendar.period.grammar.PeriodCodeParser.QuarterContext ctx)Description copied from class:com.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor
Visit a parse tree produced by thequarter
labeled alternative inPeriodCodeParser.period()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitQuarter
in interfacecom.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>
- Overrides:
visitQuarter
in classcom.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor<PeriodCode>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSeason
public PeriodCode visitSeason(com.walkfares.calendar.period.grammar.PeriodCodeParser.SeasonContext ctx)Description copied from class:com.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor
Visit a parse tree produced by theseason
labeled alternative inPeriodCodeParser.period()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitSeason
in interfacecom.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>
- Overrides:
visitSeason
in classcom.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor<PeriodCode>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitWinter
public PeriodCode visitWinter(com.walkfares.calendar.period.grammar.PeriodCodeParser.WinterContext ctx)Description copied from class:com.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor
Visit a parse tree produced by thewinter
labeled alternative inPeriodCodeParser.period()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitWinter
in interfacecom.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>
- Overrides:
visitWinter
in classcom.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor<PeriodCode>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSummer
public PeriodCode visitSummer(com.walkfares.calendar.period.grammar.PeriodCodeParser.SummerContext ctx)Description copied from class:com.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor
Visit a parse tree produced by thesummer
labeled alternative inPeriodCodeParser.period()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitSummer
in interfacecom.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>
- Overrides:
visitSummer
in classcom.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor<PeriodCode>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSpring
public PeriodCode visitSpring(com.walkfares.calendar.period.grammar.PeriodCodeParser.SpringContext ctx)Description copied from class:com.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor
Visit a parse tree produced by thespring
labeled alternative inPeriodCodeParser.period()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitSpring
in interfacecom.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>
- Overrides:
visitSpring
in classcom.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor<PeriodCode>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitYear
public PeriodCode visitYear(com.walkfares.calendar.period.grammar.PeriodCodeParser.YearContext ctx)Description copied from class:com.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor
Visit a parse tree produced by theyear
labeled alternative inPeriodCodeParser.period()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitYear
in interfacecom.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>
- Overrides:
visitYear
in classcom.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor<PeriodCode>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitHalfYear
public PeriodCode visitHalfYear(com.walkfares.calendar.period.grammar.PeriodCodeParser.HalfYearContext ctx)Description copied from class:com.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor
Visit a parse tree produced by thehalfYear
labeled alternative inPeriodCodeParser.period()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitHalfYear
in interfacecom.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>
- Overrides:
visitHalfYear
in classcom.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor<PeriodCode>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitYearMonth
public PeriodCode visitYearMonth(com.walkfares.calendar.period.grammar.PeriodCodeParser.YearMonthContext ctx)Description copied from class:com.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor
Visit a parse tree produced by theyearMonth
labeled alternative inPeriodCodeParser.period()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitYearMonth
in interfacecom.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>
- Overrides:
visitYearMonth
in classcom.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor<PeriodCode>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitGasYear
public PeriodCode visitGasYear(com.walkfares.calendar.period.grammar.PeriodCodeParser.GasYearContext ctx)Description copied from class:com.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor
Visit a parse tree produced by thegasYear
labeled alternative inPeriodCodeParser.period()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitGasYear
in interfacecom.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>
- Overrides:
visitGasYear
in classcom.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor<PeriodCode>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSpread
public PeriodCode visitSpread(com.walkfares.calendar.period.grammar.PeriodCodeParser.SpreadContext ctx)Description copied from class:com.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor
Visit a parse tree produced by thespread
labeled alternative inPeriodCodeParser.period()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitSpread
in interfacecom.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>
- Overrides:
visitSpread
in classcom.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor<PeriodCode>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-