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 PeriodCode
visitFinancial(com.walkfares.calendar.period.grammar.PeriodCodeParser.FinancialContext ctx)
Visit a parse tree produced by thefinancial
labeled alternative inPeriodCodeParser.period()
.PeriodCode
visitFinancialMonth(com.walkfares.calendar.period.grammar.PeriodCodeParser.FinancialMonthContext ctx)
Visit a parse tree produced by thefinancialMonth
labeled alternative inPeriodCodeParser.period()
.PeriodCode
visitFinancialWeek(com.walkfares.calendar.period.grammar.PeriodCodeParser.FinancialWeekContext ctx)
Visit a parse tree produced by thefinancialWeek
labeled alternative inPeriodCodeParser.period()
.PeriodCode
visitFinancialYear(com.walkfares.calendar.period.grammar.PeriodCodeParser.FinancialYearContext ctx)
Visit a parse tree produced by thefinancialYear
labeled 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, visitYearMonth
Methods 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.PeriodCodeBaseVisitor
Visit a parse tree produced by thefinancial
labeled alternative inPeriodCodeParser.period()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitFinancial
in interfacecom.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>
- Overrides:
visitFinancial
in 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.PeriodCodeBaseVisitor
Visit a parse tree produced by thefinancialWeek
labeled alternative inPeriodCodeParser.period()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitFinancialWeek
in interfacecom.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>
- Overrides:
visitFinancialWeek
in 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.PeriodCodeBaseVisitor
Visit a parse tree produced by thefinancialMonth
labeled alternative inPeriodCodeParser.period()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitFinancialMonth
in interfacecom.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>
- Overrides:
visitFinancialMonth
in 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.PeriodCodeBaseVisitor
Visit a parse tree produced by thefinancialYear
labeled alternative inPeriodCodeParser.period()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitFinancialYear
in interfacecom.walkfares.calendar.period.grammar.PeriodCodeVisitor<PeriodCode>
- Overrides:
visitFinancialYear
in classcom.walkfares.calendar.period.grammar.PeriodCodeBaseVisitor<PeriodCode>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-