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 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().

    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

    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

    • 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