Class ExpiryExceptions

java.lang.Object
org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
com.walkfares.calendar.expiry.grammar.ExpiryRuleBaseVisitor<Boolean>
com.walkfares.calendar.expiry.ExpiryExceptions
All Implemented Interfaces:
com.walkfares.calendar.expiry.grammar.ExpiryRuleVisitor<Boolean>, org.antlr.v4.runtime.tree.ParseTreeVisitor<Boolean>

public class ExpiryExceptions
extends com.walkfares.calendar.expiry.grammar.ExpiryRuleBaseVisitor<Boolean>
  • Constructor Summary

    Constructors 
    Constructor Description
    ExpiryExceptions​(Calendar tradingCalendar, UTCDate start)  
  • Method Summary

    Modifier and Type Method Description
    Boolean visitEomday​(com.walkfares.calendar.expiry.grammar.ExpiryRuleParser.EomdayContext ctx)
    Visit a parse tree produced by ExpiryRuleParser.eomday().
    Boolean visitHolidayproximity​(com.walkfares.calendar.expiry.grammar.ExpiryRuleParser.HolidayproximityContext ctx)
    Visit a parse tree produced by ExpiryRuleParser.holidayproximity().
    Boolean visitNonbusinessdayproximity​(com.walkfares.calendar.expiry.grammar.ExpiryRuleParser.NonbusinessdayproximityContext ctx)
    Visit a parse tree produced by ExpiryRuleParser.nonbusinessdayproximity().
    Boolean visitSomday​(com.walkfares.calendar.expiry.grammar.ExpiryRuleParser.SomdayContext ctx)
    Visit a parse tree produced by ExpiryRuleParser.somday().

    Methods inherited from class com.walkfares.calendar.expiry.grammar.ExpiryRuleBaseVisitor

    visitAlign, visitDate, visitDelivery, visitException, visitExpiry, visitLastday, visitMove, visitMoveabs, visitMoveperiod, visitMoverel, visitPenultimate, visitPeriodcode, visitStart, visitTimelimit

    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

    • visitEomday

      public Boolean visitEomday​(com.walkfares.calendar.expiry.grammar.ExpiryRuleParser.EomdayContext ctx)
      Description copied from class: com.walkfares.calendar.expiry.grammar.ExpiryRuleBaseVisitor
      Visit a parse tree produced by ExpiryRuleParser.eomday().

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

      Specified by:
      visitEomday in interface com.walkfares.calendar.expiry.grammar.ExpiryRuleVisitor<Boolean>
      Overrides:
      visitEomday in class com.walkfares.calendar.expiry.grammar.ExpiryRuleBaseVisitor<Boolean>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitSomday

      public Boolean visitSomday​(com.walkfares.calendar.expiry.grammar.ExpiryRuleParser.SomdayContext ctx)
      Description copied from class: com.walkfares.calendar.expiry.grammar.ExpiryRuleBaseVisitor
      Visit a parse tree produced by ExpiryRuleParser.somday().

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

      Specified by:
      visitSomday in interface com.walkfares.calendar.expiry.grammar.ExpiryRuleVisitor<Boolean>
      Overrides:
      visitSomday in class com.walkfares.calendar.expiry.grammar.ExpiryRuleBaseVisitor<Boolean>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitHolidayproximity

      public Boolean visitHolidayproximity​(com.walkfares.calendar.expiry.grammar.ExpiryRuleParser.HolidayproximityContext ctx)
      Description copied from class: com.walkfares.calendar.expiry.grammar.ExpiryRuleBaseVisitor
      Visit a parse tree produced by ExpiryRuleParser.holidayproximity().

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

      Specified by:
      visitHolidayproximity in interface com.walkfares.calendar.expiry.grammar.ExpiryRuleVisitor<Boolean>
      Overrides:
      visitHolidayproximity in class com.walkfares.calendar.expiry.grammar.ExpiryRuleBaseVisitor<Boolean>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitNonbusinessdayproximity

      public Boolean visitNonbusinessdayproximity​(com.walkfares.calendar.expiry.grammar.ExpiryRuleParser.NonbusinessdayproximityContext ctx)
      Description copied from class: com.walkfares.calendar.expiry.grammar.ExpiryRuleBaseVisitor
      Visit a parse tree produced by ExpiryRuleParser.nonbusinessdayproximity().

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

      Specified by:
      visitNonbusinessdayproximity in interface com.walkfares.calendar.expiry.grammar.ExpiryRuleVisitor<Boolean>
      Overrides:
      visitNonbusinessdayproximity in class com.walkfares.calendar.expiry.grammar.ExpiryRuleBaseVisitor<Boolean>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result