Class PeriodCodeGrammar

java.lang.Object
org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
com.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor<PeriodCode>
com.walkfares.calendar.period.PeriodCodeGrammar
All Implemented Interfaces:
com.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>, org.antlr.v4.runtime.tree.ParseTreeVisitor<PeriodCode>

public class PeriodCodeGrammar
extends com.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor<PeriodCode>
  • Constructor Summary

    Constructors 
    Constructor Description
    PeriodCodeGrammar()  
  • Method Summary

    Modifier and Type Method Description
    PeriodCode visitBalance​(com.walkfares.calendar.period.grammar.PeriodCodeParser.BalanceContext ctx)
    Visit a parse tree produced by the balance labeled alternative in PeriodCodeParser.period().
    PeriodCode visitDated​(com.walkfares.calendar.period.grammar.PeriodCodeParser.DatedContext ctx)
    Visit a parse tree produced by the dated labeled alternative in PeriodCodeParser.period().
    PeriodCode visitDay​(com.walkfares.calendar.period.grammar.PeriodCodeParser.DayContext ctx)
    Visit a parse tree produced by the day labeled alternative in PeriodCodeParser.period().
    PeriodCode visitDayahead​(com.walkfares.calendar.period.grammar.PeriodCodeParser.DayaheadContext ctx)
    Visit a parse tree produced by the dayahead labeled alternative in PeriodCodeParser.period().
    PeriodCode visitEndOfMonth​(com.walkfares.calendar.period.grammar.PeriodCodeParser.EndOfMonthContext ctx)
    Visit a parse tree produced by the endOfMonth labeled alternative in PeriodCodeParser.period().
    PeriodCode visitEndOfQuarter​(com.walkfares.calendar.period.grammar.PeriodCodeParser.EndOfQuarterContext ctx)
    Visit a parse tree produced by the endOfQuarter labeled alternative in PeriodCodeParser.period().
    PeriodCode visitEndOfYear​(com.walkfares.calendar.period.grammar.PeriodCodeParser.EndOfYearContext ctx)
    Visit a parse tree produced by the endOfYear labeled alternative in PeriodCodeParser.period().
    PeriodCode visitFinancial​(com.walkfares.calendar.period.grammar.PeriodCodeParser.FinancialContext ctx)
    Visit a parse tree produced by the financial labeled alternative in PeriodCodeParser.period().
    PeriodCode visitFinancialMonth​(com.walkfares.calendar.period.grammar.PeriodCodeParser.FinancialMonthContext ctx)
    Visit a parse tree produced by the financialMonth labeled alternative in PeriodCodeParser.period().
    PeriodCode visitFinancialWeek​(com.walkfares.calendar.period.grammar.PeriodCodeParser.FinancialWeekContext ctx)
    Visit a parse tree produced by the financialWeek labeled alternative in PeriodCodeParser.period().
    PeriodCode visitFinancialYear​(com.walkfares.calendar.period.grammar.PeriodCodeParser.FinancialYearContext ctx)
    Visit a parse tree produced by the financialYear labeled alternative in PeriodCodeParser.period().
    PeriodCode visitGasYear​(com.walkfares.calendar.period.grammar.PeriodCodeParser.GasYearContext ctx)
    Visit a parse tree produced by the gasYear labeled alternative in PeriodCodeParser.period().
    PeriodCode visitHalfHour​(com.walkfares.calendar.period.grammar.PeriodCodeParser.HalfHourContext ctx)
    Visit a parse tree produced by the halfHour labeled alternative in PeriodCodeParser.period().
    PeriodCode visitHalfMonth​(com.walkfares.calendar.period.grammar.PeriodCodeParser.HalfMonthContext ctx)
    Visit a parse tree produced by the halfMonth labeled alternative in PeriodCodeParser.period().
    PeriodCode visitHalfYear​(com.walkfares.calendar.period.grammar.PeriodCodeParser.HalfYearContext ctx)
    Visit a parse tree produced by the halfYear labeled alternative in PeriodCodeParser.period().
    PeriodCode visitHour​(com.walkfares.calendar.period.grammar.PeriodCodeParser.HourContext ctx)
    Visit a parse tree produced by the hour labeled alternative in PeriodCodeParser.period().
    PeriodCode visitMonth​(com.walkfares.calendar.period.grammar.PeriodCodeParser.MonthContext ctx)
    Visit a parse tree produced by the month labeled alternative in PeriodCodeParser.period().
    PeriodCode visitPrompt​(com.walkfares.calendar.period.grammar.PeriodCodeParser.PromptContext ctx)
    Visit a parse tree produced by the prompt labeled alternative in PeriodCodeParser.period().
    PeriodCode visitQuarter​(com.walkfares.calendar.period.grammar.PeriodCodeParser.QuarterContext ctx)
    Visit a parse tree produced by the quarter labeled alternative in PeriodCodeParser.period().
    PeriodCode visitQuarterHour​(com.walkfares.calendar.period.grammar.PeriodCodeParser.QuarterHourContext ctx)
    Visit a parse tree produced by the quarterHour labeled alternative in PeriodCodeParser.period().
    PeriodCode visitSaturday​(com.walkfares.calendar.period.grammar.PeriodCodeParser.SaturdayContext ctx)
    Visit a parse tree produced by the saturday labeled alternative in PeriodCodeParser.period().
    PeriodCode visitSeason​(com.walkfares.calendar.period.grammar.PeriodCodeParser.SeasonContext ctx)
    Visit a parse tree produced by the season labeled alternative in PeriodCodeParser.period().
    PeriodCode visitSpot​(com.walkfares.calendar.period.grammar.PeriodCodeParser.SpotContext ctx)
    Visit a parse tree produced by the spot labeled alternative in PeriodCodeParser.period().
    PeriodCode visitSpread​(com.walkfares.calendar.period.grammar.PeriodCodeParser.SpreadContext ctx)
    Visit a parse tree produced by the spread labeled alternative in PeriodCodeParser.period().
    PeriodCode visitSpring​(com.walkfares.calendar.period.grammar.PeriodCodeParser.SpringContext ctx)
    Visit a parse tree produced by the spring labeled alternative in PeriodCodeParser.period().
    PeriodCode visitSummer​(com.walkfares.calendar.period.grammar.PeriodCodeParser.SummerContext ctx)
    Visit a parse tree produced by the summer labeled alternative in PeriodCodeParser.period().
    PeriodCode visitSunday​(com.walkfares.calendar.period.grammar.PeriodCodeParser.SundayContext ctx)
    Visit a parse tree produced by the sunday labeled alternative in PeriodCodeParser.period().
    PeriodCode visitWeek​(com.walkfares.calendar.period.grammar.PeriodCodeParser.WeekContext ctx)
    Visit a parse tree produced by the week labeled alternative in PeriodCodeParser.period().
    PeriodCode visitWeekend​(com.walkfares.calendar.period.grammar.PeriodCodeParser.WeekendContext ctx)
    Visit a parse tree produced by the weekend labeled alternative in PeriodCodeParser.period().
    PeriodCode visitWinter​(com.walkfares.calendar.period.grammar.PeriodCodeParser.WinterContext ctx)
    Visit a parse tree produced by the winter labeled alternative in PeriodCodeParser.period().
    PeriodCode visitWithinDay​(com.walkfares.calendar.period.grammar.PeriodCodeParser.WithinDayContext ctx)
    Visit a parse tree produced by the withinDay labeled alternative in PeriodCodeParser.period().
    PeriodCode visitWorkingWeek​(com.walkfares.calendar.period.grammar.PeriodCodeParser.WorkingWeekContext ctx)
    Visit a parse tree produced by the workingWeek labeled alternative in PeriodCodeParser.period().
    PeriodCode visitYear​(com.walkfares.calendar.period.grammar.PeriodCodeParser.YearContext ctx)
    Visit a parse tree produced by the year labeled alternative in PeriodCodeParser.period().
    PeriodCode visitYearMonth​(com.walkfares.calendar.period.grammar.PeriodCodeParser.YearMonthContext ctx)
    Visit a parse tree produced by the yearMonth labeled alternative in PeriodCodeParser.period().

    Methods inherited from class com.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor

    visitDayperiod, visitMultiline, visitTest, visitTz

    Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor

    visit, visitChildren, visitErrorNode, visitTerminal

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.antlr.v4.runtime.tree.ParseTreeVisitor

    visit, visitChildren, visitErrorNode, visitTerminal
  • Constructor Details

  • 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 the quarterHour labeled alternative in PeriodCodeParser.period().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitQuarterHour in interface com.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>
      Overrides:
      visitQuarterHour in class com.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 the halfHour labeled alternative in PeriodCodeParser.period().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitHalfHour in interface com.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>
      Overrides:
      visitHalfHour in class com.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 the hour labeled alternative in PeriodCodeParser.period().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitHour in interface com.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>
      Overrides:
      visitHour in class com.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor<PeriodCode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitDay

      public PeriodCode visitDay​(com.walkfares.calendar.period.grammar.PeriodCodeParser.DayContext ctx)
      Description copied from class: com.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor
      Visit a parse tree produced by the day labeled alternative in PeriodCodeParser.period().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitDay in interface com.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>
      Overrides:
      visitDay in class com.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 the dayahead labeled alternative in PeriodCodeParser.period().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitDayahead in interface com.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>
      Overrides:
      visitDayahead in class com.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor<PeriodCode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • 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 the week labeled alternative in PeriodCodeParser.period().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitWeek in interface com.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>
      Overrides:
      visitWeek in class com.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 the weekend labeled alternative in PeriodCodeParser.period().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitWeekend in interface com.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>
      Overrides:
      visitWeekend in class com.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 the workingWeek labeled alternative in PeriodCodeParser.period().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitWorkingWeek in interface com.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>
      Overrides:
      visitWorkingWeek in class com.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 the halfMonth labeled alternative in PeriodCodeParser.period().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitHalfMonth in interface com.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>
      Overrides:
      visitHalfMonth in class com.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 the month labeled alternative in PeriodCodeParser.period().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitMonth in interface com.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>
      Overrides:
      visitMonth in class com.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 the quarter labeled alternative in PeriodCodeParser.period().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitQuarter in interface com.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>
      Overrides:
      visitQuarter in class com.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 the season labeled alternative in PeriodCodeParser.period().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitSeason in interface com.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>
      Overrides:
      visitSeason in class com.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 the winter labeled alternative in PeriodCodeParser.period().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitWinter in interface com.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>
      Overrides:
      visitWinter in class com.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 the summer labeled alternative in PeriodCodeParser.period().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitSummer in interface com.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>
      Overrides:
      visitSummer in class com.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 the spring labeled alternative in PeriodCodeParser.period().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitSpring in interface com.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>
      Overrides:
      visitSpring in class com.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 the halfYear labeled alternative in PeriodCodeParser.period().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitHalfYear in interface com.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>
      Overrides:
      visitHalfYear in class com.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 the yearMonth labeled alternative in PeriodCodeParser.period().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitYearMonth in interface com.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>
      Overrides:
      visitYearMonth in class com.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 the gasYear labeled alternative in PeriodCodeParser.period().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitGasYear in interface com.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>
      Overrides:
      visitGasYear in class com.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 the year labeled alternative in PeriodCodeParser.period().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitYear in interface com.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>
      Overrides:
      visitYear in class com.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 the spread labeled alternative in PeriodCodeParser.period().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitSpread in interface com.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>
      Overrides:
      visitSpread in class com.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor<PeriodCode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • 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 the endOfMonth labeled alternative in PeriodCodeParser.period().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitEndOfMonth in interface com.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>
      Overrides:
      visitEndOfMonth in class com.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 the endOfQuarter labeled alternative in PeriodCodeParser.period().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitEndOfQuarter in interface com.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>
      Overrides:
      visitEndOfQuarter in class com.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 the endOfYear labeled alternative in PeriodCodeParser.period().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitEndOfYear in interface com.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>
      Overrides:
      visitEndOfYear in class com.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor<PeriodCode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitSpot

      public PeriodCode visitSpot​(com.walkfares.calendar.period.grammar.PeriodCodeParser.SpotContext ctx)
      Description copied from class: com.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor
      Visit a parse tree produced by the spot labeled alternative in PeriodCodeParser.period().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitSpot in interface com.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>
      Overrides:
      visitSpot in class com.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor<PeriodCode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitBalance

      public PeriodCode visitBalance​(com.walkfares.calendar.period.grammar.PeriodCodeParser.BalanceContext ctx)
      Description copied from class: com.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor
      Visit a parse tree produced by the balance labeled alternative in PeriodCodeParser.period().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitBalance in interface com.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>
      Overrides:
      visitBalance in class com.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor<PeriodCode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitWithinDay

      public PeriodCode visitWithinDay​(com.walkfares.calendar.period.grammar.PeriodCodeParser.WithinDayContext ctx)
      Description copied from class: com.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor
      Visit a parse tree produced by the withinDay labeled alternative in PeriodCodeParser.period().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitWithinDay in interface com.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>
      Overrides:
      visitWithinDay in class com.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor<PeriodCode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitPrompt

      public PeriodCode visitPrompt​(com.walkfares.calendar.period.grammar.PeriodCodeParser.PromptContext ctx)
      Description copied from class: com.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor
      Visit a parse tree produced by the prompt labeled alternative in PeriodCodeParser.period().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitPrompt in interface com.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>
      Overrides:
      visitPrompt in class com.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor<PeriodCode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitDated

      public PeriodCode visitDated​(com.walkfares.calendar.period.grammar.PeriodCodeParser.DatedContext ctx)
      Description copied from class: com.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor
      Visit a parse tree produced by the dated labeled alternative in PeriodCodeParser.period().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitDated in interface com.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>
      Overrides:
      visitDated in class com.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor<PeriodCode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitSaturday

      public PeriodCode visitSaturday​(com.walkfares.calendar.period.grammar.PeriodCodeParser.SaturdayContext ctx)
      Description copied from class: com.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor
      Visit a parse tree produced by the saturday labeled alternative in PeriodCodeParser.period().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitSaturday in interface com.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>
      Overrides:
      visitSaturday in class com.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor<PeriodCode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitSunday

      public PeriodCode visitSunday​(com.walkfares.calendar.period.grammar.PeriodCodeParser.SundayContext ctx)
      Description copied from class: com.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor
      Visit a parse tree produced by the sunday labeled alternative in PeriodCodeParser.period().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitSunday in interface com.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>
      Overrides:
      visitSunday in class com.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor<PeriodCode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitFinancial

      public PeriodCode visitFinancial​(com.walkfares.calendar.period.grammar.PeriodCodeParser.FinancialContext ctx)
      Description copied from class: com.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor
      Visit a parse tree produced by the financial labeled alternative in PeriodCodeParser.period().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitFinancial in interface com.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>
      Overrides:
      visitFinancial in class com.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor<PeriodCode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitFinancialWeek

      public PeriodCode visitFinancialWeek​(com.walkfares.calendar.period.grammar.PeriodCodeParser.FinancialWeekContext ctx)
      Description copied from class: com.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor
      Visit a parse tree produced by the financialWeek labeled alternative in PeriodCodeParser.period().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitFinancialWeek in interface com.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>
      Overrides:
      visitFinancialWeek in class com.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor<PeriodCode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitFinancialMonth

      public PeriodCode visitFinancialMonth​(com.walkfares.calendar.period.grammar.PeriodCodeParser.FinancialMonthContext ctx)
      Description copied from class: com.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor
      Visit a parse tree produced by the financialMonth labeled alternative in PeriodCodeParser.period().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitFinancialMonth in interface com.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>
      Overrides:
      visitFinancialMonth in class com.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor<PeriodCode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitFinancialYear

      public PeriodCode visitFinancialYear​(com.walkfares.calendar.period.grammar.PeriodCodeParser.FinancialYearContext ctx)
      Description copied from class: com.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor
      Visit a parse tree produced by the financialYear labeled alternative in PeriodCodeParser.period().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitFinancialYear in interface com.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>
      Overrides:
      visitFinancialYear in class com.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor<PeriodCode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result