Class GrammarFinancial

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

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

    Constructors 
    Constructor Description
    GrammarFinancial()  
  • Method Summary

    Modifier and Type Method Description
    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().

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

    visitBalance, visitDated, visitDay, visitDayahead, visitDayperiod, visitEndOfMonth, visitEndOfQuarter, visitEndOfYear, 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

    • 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