Package com.walkfares.calendar.period
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 PeriodCodevisitFinancial(com.walkfares.calendar.period.grammar.PeriodCodeParser.FinancialContext ctx)Visit a parse tree produced by thefinanciallabeled alternative inPeriodCodeParser.period().PeriodCodevisitFinancialMonth(com.walkfares.calendar.period.grammar.PeriodCodeParser.FinancialMonthContext ctx)Visit a parse tree produced by thefinancialMonthlabeled alternative inPeriodCodeParser.period().PeriodCodevisitFinancialWeek(com.walkfares.calendar.period.grammar.PeriodCodeParser.FinancialWeekContext ctx)Visit a parse tree produced by thefinancialWeeklabeled alternative inPeriodCodeParser.period().PeriodCodevisitFinancialYear(com.walkfares.calendar.period.grammar.PeriodCodeParser.FinancialYearContext ctx)Visit a parse tree produced by thefinancialYearlabeled alternative inPeriodCodeParser.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, visitYearMonthMethods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
visit, visitChildren, visitErrorNode, visitTerminal
-
Constructor Details
-
GrammarFinancial
public GrammarFinancial()
-
-
Method Details
-
visitFinancial
public PeriodCode visitFinancial(com.walkfares.calendar.period.grammar.PeriodCodeParser.FinancialContext ctx)Description copied from class:com.walkfares.calendar.period.grammar.PeriodCodeBaseVisitorVisit a parse tree produced by thefinanciallabeled alternative inPeriodCodeParser.period().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFinancialin interfacecom.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>- Overrides:
visitFinancialin classcom.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.PeriodCodeBaseVisitorVisit a parse tree produced by thefinancialWeeklabeled alternative inPeriodCodeParser.period().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFinancialWeekin interfacecom.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>- Overrides:
visitFinancialWeekin classcom.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.PeriodCodeBaseVisitorVisit a parse tree produced by thefinancialMonthlabeled alternative inPeriodCodeParser.period().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFinancialMonthin interfacecom.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>- Overrides:
visitFinancialMonthin classcom.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.PeriodCodeBaseVisitorVisit a parse tree produced by thefinancialYearlabeled alternative inPeriodCodeParser.period().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFinancialYearin interfacecom.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>- Overrides:
visitFinancialYearin classcom.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor<PeriodCode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-