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 PeriodCodevisitGasYear(com.walkfares.calendar.period.grammar.PeriodCodeParser.GasYearContext ctx)Visit a parse tree produced by thegasYearlabeled alternative inPeriodCodeParser.period().PeriodCodevisitHalfMonth(com.walkfares.calendar.period.grammar.PeriodCodeParser.HalfMonthContext ctx)Visit a parse tree produced by thehalfMonthlabeled alternative inPeriodCodeParser.period().PeriodCodevisitHalfYear(com.walkfares.calendar.period.grammar.PeriodCodeParser.HalfYearContext ctx)Visit a parse tree produced by thehalfYearlabeled alternative inPeriodCodeParser.period().PeriodCodevisitMonth(com.walkfares.calendar.period.grammar.PeriodCodeParser.MonthContext ctx)Visit a parse tree produced by themonthlabeled alternative inPeriodCodeParser.period().PeriodCodevisitQuarter(com.walkfares.calendar.period.grammar.PeriodCodeParser.QuarterContext ctx)Visit a parse tree produced by thequarterlabeled alternative inPeriodCodeParser.period().PeriodCodevisitSeason(com.walkfares.calendar.period.grammar.PeriodCodeParser.SeasonContext ctx)Visit a parse tree produced by theseasonlabeled alternative inPeriodCodeParser.period().PeriodCodevisitSpread(com.walkfares.calendar.period.grammar.PeriodCodeParser.SpreadContext ctx)Visit a parse tree produced by thespreadlabeled alternative inPeriodCodeParser.period().PeriodCodevisitSpring(com.walkfares.calendar.period.grammar.PeriodCodeParser.SpringContext ctx)Visit a parse tree produced by thespringlabeled alternative inPeriodCodeParser.period().PeriodCodevisitSummer(com.walkfares.calendar.period.grammar.PeriodCodeParser.SummerContext ctx)Visit a parse tree produced by thesummerlabeled alternative inPeriodCodeParser.period().PeriodCodevisitWeek(com.walkfares.calendar.period.grammar.PeriodCodeParser.WeekContext ctx)Visit a parse tree produced by theweeklabeled alternative inPeriodCodeParser.period().PeriodCodevisitWeekend(com.walkfares.calendar.period.grammar.PeriodCodeParser.WeekendContext ctx)Visit a parse tree produced by theweekendlabeled alternative inPeriodCodeParser.period().PeriodCodevisitWinter(com.walkfares.calendar.period.grammar.PeriodCodeParser.WinterContext ctx)Visit a parse tree produced by thewinterlabeled alternative inPeriodCodeParser.period().PeriodCodevisitWorkingWeek(com.walkfares.calendar.period.grammar.PeriodCodeParser.WorkingWeekContext ctx)Visit a parse tree produced by theworkingWeeklabeled alternative inPeriodCodeParser.period().PeriodCodevisitYear(com.walkfares.calendar.period.grammar.PeriodCodeParser.YearContext ctx)Visit a parse tree produced by theyearlabeled alternative inPeriodCodeParser.period().PeriodCodevisitYearMonth(com.walkfares.calendar.period.grammar.PeriodCodeParser.YearMonthContext ctx)Visit a parse tree produced by theyearMonthlabeled 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, visitWithinDayMethods 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.PeriodCodeBaseVisitorVisit a parse tree produced by theweeklabeled alternative inPeriodCodeParser.period().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitWeekin interfacecom.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>- Overrides:
visitWeekin 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.PeriodCodeBaseVisitorVisit a parse tree produced by theweekendlabeled alternative inPeriodCodeParser.period().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitWeekendin interfacecom.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>- Overrides:
visitWeekendin 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.PeriodCodeBaseVisitorVisit a parse tree produced by theworkingWeeklabeled alternative inPeriodCodeParser.period().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitWorkingWeekin interfacecom.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>- Overrides:
visitWorkingWeekin 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.PeriodCodeBaseVisitorVisit a parse tree produced by thehalfMonthlabeled alternative inPeriodCodeParser.period().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitHalfMonthin interfacecom.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>- Overrides:
visitHalfMonthin 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.PeriodCodeBaseVisitorVisit a parse tree produced by themonthlabeled alternative inPeriodCodeParser.period().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMonthin interfacecom.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>- Overrides:
visitMonthin 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.PeriodCodeBaseVisitorVisit a parse tree produced by thequarterlabeled alternative inPeriodCodeParser.period().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitQuarterin interfacecom.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>- Overrides:
visitQuarterin 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.PeriodCodeBaseVisitorVisit a parse tree produced by theseasonlabeled alternative inPeriodCodeParser.period().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSeasonin interfacecom.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>- Overrides:
visitSeasonin 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.PeriodCodeBaseVisitorVisit a parse tree produced by thewinterlabeled alternative inPeriodCodeParser.period().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitWinterin interfacecom.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>- Overrides:
visitWinterin 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.PeriodCodeBaseVisitorVisit a parse tree produced by thesummerlabeled alternative inPeriodCodeParser.period().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSummerin interfacecom.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>- Overrides:
visitSummerin 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.PeriodCodeBaseVisitorVisit a parse tree produced by thespringlabeled alternative inPeriodCodeParser.period().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSpringin interfacecom.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>- Overrides:
visitSpringin 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.PeriodCodeBaseVisitorVisit a parse tree produced by theyearlabeled alternative inPeriodCodeParser.period().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitYearin interfacecom.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>- Overrides:
visitYearin 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.PeriodCodeBaseVisitorVisit a parse tree produced by thehalfYearlabeled alternative inPeriodCodeParser.period().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitHalfYearin interfacecom.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>- Overrides:
visitHalfYearin 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.PeriodCodeBaseVisitorVisit a parse tree produced by theyearMonthlabeled alternative inPeriodCodeParser.period().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitYearMonthin interfacecom.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>- Overrides:
visitYearMonthin 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.PeriodCodeBaseVisitorVisit a parse tree produced by thegasYearlabeled alternative inPeriodCodeParser.period().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitGasYearin interfacecom.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>- Overrides:
visitGasYearin 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.PeriodCodeBaseVisitorVisit a parse tree produced by thespreadlabeled alternative inPeriodCodeParser.period().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSpreadin interfacecom.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>- Overrides:
visitSpreadin classcom.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor<PeriodCode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-