Class ExpressionBuilder

java.lang.Object
org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>
com.twineworks.tweakflow.lang.parse.builders.ExpressionBuilder
All Implemented Interfaces:
com.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>, org.antlr.v4.runtime.tree.ParseTreeVisitor<ExpressionNode>

public class ExpressionBuilder extends com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>
  • Constructor Summary

    Constructors
    Constructor
    Description
    ExpressionBuilder(ParseUnit parseUnit, boolean recovery, List<LangException> recoveryErrors)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    addImplicitCast(Type targetType, ExpressionNode node)
     
    makeRecoveryNilNode(ParseUnit p, org.antlr.v4.runtime.ParserRuleContext ctx)
     
    visitAddExp(com.twineworks.tweakflow.grammar.TweakFlowParser.AddExpContext ctx)
    Visit a parse tree produced by the addExp labeled alternative in TweakFlowParser.expression().
    visitBinaryLiteralExp(com.twineworks.tweakflow.grammar.TweakFlowParser.BinaryLiteralExpContext ctx)
    Visit a parse tree produced by the binaryLiteralExp labeled alternative in TweakFlowParser.literal().
    visitBitwiseAndExp(com.twineworks.tweakflow.grammar.TweakFlowParser.BitwiseAndExpContext ctx)
    Visit a parse tree produced by the bitwiseAndExp labeled alternative in TweakFlowParser.expression().
    visitBitwiseNotExp(com.twineworks.tweakflow.grammar.TweakFlowParser.BitwiseNotExpContext ctx)
    Visit a parse tree produced by the bitwiseNotExp labeled alternative in TweakFlowParser.expression().
    visitBitwiseOrExp(com.twineworks.tweakflow.grammar.TweakFlowParser.BitwiseOrExpContext ctx)
    Visit a parse tree produced by the bitwiseOrExp labeled alternative in TweakFlowParser.expression().
    visitBitwiseXorExp(com.twineworks.tweakflow.grammar.TweakFlowParser.BitwiseXorExpContext ctx)
    Visit a parse tree produced by the bitwiseXorExp labeled alternative in TweakFlowParser.expression().
    visitBoolAndExp(com.twineworks.tweakflow.grammar.TweakFlowParser.BoolAndExpContext ctx)
    Visit a parse tree produced by the boolAndExp labeled alternative in TweakFlowParser.expression().
    visitBooleanLiteral(com.twineworks.tweakflow.grammar.TweakFlowParser.BooleanLiteralContext ctx)
    Visit a parse tree produced by TweakFlowParser.booleanLiteral().
    visitBoolNotExp(com.twineworks.tweakflow.grammar.TweakFlowParser.BoolNotExpContext ctx)
    Visit a parse tree produced by the boolNotExp labeled alternative in TweakFlowParser.expression().
    visitBoolOrExp(com.twineworks.tweakflow.grammar.TweakFlowParser.BoolOrExpContext ctx)
    Visit a parse tree produced by the boolOrExp labeled alternative in TweakFlowParser.expression().
    visitCallExp(com.twineworks.tweakflow.grammar.TweakFlowParser.CallExpContext ctx)
    Visit a parse tree produced by the callExp labeled alternative in TweakFlowParser.expression().
    visitCastExp(com.twineworks.tweakflow.grammar.TweakFlowParser.CastExpContext ctx)
    Visit a parse tree produced by the castExp labeled alternative in TweakFlowParser.expression().
    visitConcatExp(com.twineworks.tweakflow.grammar.TweakFlowParser.ConcatExpContext ctx)
    Visit a parse tree produced by the concatExp labeled alternative in TweakFlowParser.expression().
    visitContainerAccessExp(com.twineworks.tweakflow.grammar.TweakFlowParser.ContainerAccessExpContext ctx)
    Visit a parse tree produced by the containerAccessExp labeled alternative in TweakFlowParser.expression().
    visitDateTimeLiteralExp(com.twineworks.tweakflow.grammar.TweakFlowParser.DateTimeLiteralExpContext ctx)
    Visit a parse tree produced by the dateTimeLiteralExp labeled alternative in TweakFlowParser.literal().
    visitDebugExp(com.twineworks.tweakflow.grammar.TweakFlowParser.DebugExpContext ctx)
    Visit a parse tree produced by the debugExp labeled alternative in TweakFlowParser.expression().
    visitDecimalLiteralExp(com.twineworks.tweakflow.grammar.TweakFlowParser.DecimalLiteralExpContext ctx)
    Visit a parse tree produced by the decimalLiteralExp labeled alternative in TweakFlowParser.literal().
    visitDefaultExp(com.twineworks.tweakflow.grammar.TweakFlowParser.DefaultExpContext ctx)
    Visit a parse tree produced by the defaultExp labeled alternative in TweakFlowParser.expression().
    visitDictLiteral(com.twineworks.tweakflow.grammar.TweakFlowParser.DictLiteralContext ctx)
    Visit a parse tree produced by TweakFlowParser.dictLiteral().
    visitDivExp(com.twineworks.tweakflow.grammar.TweakFlowParser.DivExpContext ctx)
    Visit a parse tree produced by the divExp labeled alternative in TweakFlowParser.expression().
    visitDoubleLiteralExp(com.twineworks.tweakflow.grammar.TweakFlowParser.DoubleLiteralExpContext ctx)
    Visit a parse tree produced by the doubleLiteralExp labeled alternative in TweakFlowParser.literal().
    visitEqualExp(com.twineworks.tweakflow.grammar.TweakFlowParser.EqualExpContext ctx)
    Visit a parse tree produced by the equalExp labeled alternative in TweakFlowParser.expression().
    visitForExp(com.twineworks.tweakflow.grammar.TweakFlowParser.ForExpContext ctx)
    Visit a parse tree produced by the forExp labeled alternative in TweakFlowParser.expression().
    visitFunctionLiteral(com.twineworks.tweakflow.grammar.TweakFlowParser.FunctionLiteralContext ctx)
    Visit a parse tree produced by TweakFlowParser.functionLiteral().
    visitGlobalReference(com.twineworks.tweakflow.grammar.TweakFlowParser.GlobalReferenceContext ctx)
    Visit a parse tree produced by the globalReference labeled alternative in TweakFlowParser.reference().
    visitGreaterThanExp(com.twineworks.tweakflow.grammar.TweakFlowParser.GreaterThanExpContext ctx)
    Visit a parse tree produced by the greaterThanExp labeled alternative in TweakFlowParser.expression().
    visitGreaterThanOrEqualToExp(com.twineworks.tweakflow.grammar.TweakFlowParser.GreaterThanOrEqualToExpContext ctx)
    Visit a parse tree produced by the greaterThanOrEqualToExp labeled alternative in TweakFlowParser.expression().
    visitHexLiteral(com.twineworks.tweakflow.grammar.TweakFlowParser.HexLiteralContext ctx)
    Visit a parse tree produced by the hexLiteral labeled alternative in TweakFlowParser.longLiteral().
    visitIfExp(com.twineworks.tweakflow.grammar.TweakFlowParser.IfExpContext ctx)
    Visit a parse tree produced by the ifExp labeled alternative in TweakFlowParser.expression().
    visitIntDivExp(com.twineworks.tweakflow.grammar.TweakFlowParser.IntDivExpContext ctx)
    Visit a parse tree produced by the intDivExp labeled alternative in TweakFlowParser.expression().
    visitIsExp(com.twineworks.tweakflow.grammar.TweakFlowParser.IsExpContext ctx)
    Visit a parse tree produced by the isExp labeled alternative in TweakFlowParser.expression().
    visitKeyLiteral(com.twineworks.tweakflow.grammar.TweakFlowParser.KeyLiteralContext ctx)
    Visit a parse tree produced by TweakFlowParser.keyLiteral().
    visitLessThanExp(com.twineworks.tweakflow.grammar.TweakFlowParser.LessThanExpContext ctx)
    Visit a parse tree produced by the lessThanExp labeled alternative in TweakFlowParser.expression().
    visitLessThanOrEqualToExp(com.twineworks.tweakflow.grammar.TweakFlowParser.LessThanOrEqualToExpContext ctx)
    Visit a parse tree produced by the lessThanOrEqualToExp labeled alternative in TweakFlowParser.expression().
    visitLetExp(com.twineworks.tweakflow.grammar.TweakFlowParser.LetExpContext ctx)
    Visit a parse tree produced by the letExp labeled alternative in TweakFlowParser.expression().
    visitLibraryReference(com.twineworks.tweakflow.grammar.TweakFlowParser.LibraryReferenceContext ctx)
    Visit a parse tree produced by the libraryReference labeled alternative in TweakFlowParser.reference().
    visitListLiteral(com.twineworks.tweakflow.grammar.TweakFlowParser.ListLiteralContext ctx)
    Visit a parse tree produced by TweakFlowParser.listLiteral().
    visitLocalReference(com.twineworks.tweakflow.grammar.TweakFlowParser.LocalReferenceContext ctx)
    Visit a parse tree produced by the localReference labeled alternative in TweakFlowParser.reference().
    visitLongDecLiteral(com.twineworks.tweakflow.grammar.TweakFlowParser.LongDecLiteralContext ctx)
    Visit a parse tree produced by the longDecLiteral labeled alternative in TweakFlowParser.longLiteral().
    visitMatchExp(com.twineworks.tweakflow.grammar.TweakFlowParser.MatchExpContext ctx)
    Visit a parse tree produced by the matchExp labeled alternative in TweakFlowParser.expression().
    visitModExp(com.twineworks.tweakflow.grammar.TweakFlowParser.ModExpContext ctx)
    Visit a parse tree produced by the modExp labeled alternative in TweakFlowParser.expression().
    visitModuleReference(com.twineworks.tweakflow.grammar.TweakFlowParser.ModuleReferenceContext ctx)
    Visit a parse tree produced by the moduleReference labeled alternative in TweakFlowParser.reference().
    visitMultExp(com.twineworks.tweakflow.grammar.TweakFlowParser.MultExpContext ctx)
    Visit a parse tree produced by the multExp labeled alternative in TweakFlowParser.expression().
    visitNestedExp(com.twineworks.tweakflow.grammar.TweakFlowParser.NestedExpContext ctx)
    Visit a parse tree produced by the nestedExp labeled alternative in TweakFlowParser.expression().
    visitNilLiteral(com.twineworks.tweakflow.grammar.TweakFlowParser.NilLiteralContext ctx)
    Visit a parse tree produced by TweakFlowParser.nilLiteral().
    visitNotEqualExp(com.twineworks.tweakflow.grammar.TweakFlowParser.NotEqualExpContext ctx)
    Visit a parse tree produced by the notEqualExp labeled alternative in TweakFlowParser.expression().
    visitNotValueAndTypeEqualsExp(com.twineworks.tweakflow.grammar.TweakFlowParser.NotValueAndTypeEqualsExpContext ctx)
    Visit a parse tree produced by the notValueAndTypeEqualsExp labeled alternative in TweakFlowParser.expression().
    visitPartialExp(com.twineworks.tweakflow.grammar.TweakFlowParser.PartialExpContext ctx)
    Visit a parse tree produced by the partialExp labeled alternative in TweakFlowParser.expression().
    visitPowExp(com.twineworks.tweakflow.grammar.TweakFlowParser.PowExpContext ctx)
    Visit a parse tree produced by the powExp labeled alternative in TweakFlowParser.expression().
    visitPreservingShiftRightExp(com.twineworks.tweakflow.grammar.TweakFlowParser.PreservingShiftRightExpContext ctx)
    Visit a parse tree produced by the preservingShiftRightExp labeled alternative in TweakFlowParser.expression().
    visitShiftLeftExp(com.twineworks.tweakflow.grammar.TweakFlowParser.ShiftLeftExpContext ctx)
    Visit a parse tree produced by the shiftLeftExp labeled alternative in TweakFlowParser.expression().
    visitStringHereDoc(com.twineworks.tweakflow.grammar.TweakFlowParser.StringHereDocContext ctx)
    Visit a parse tree produced by the stringHereDoc labeled alternative in TweakFlowParser.stringLiteral().
    visitStringInterpolation(com.twineworks.tweakflow.grammar.TweakFlowParser.StringInterpolationContext ctx)
    Visit a parse tree produced by the stringInterpolation labeled alternative in TweakFlowParser.stringLiteral().
    visitStringVerbatim(com.twineworks.tweakflow.grammar.TweakFlowParser.StringVerbatimContext ctx)
    Visit a parse tree produced by the stringVerbatim labeled alternative in TweakFlowParser.stringLiteral().
    visitSubExp(com.twineworks.tweakflow.grammar.TweakFlowParser.SubExpContext ctx)
    Visit a parse tree produced by the subExp labeled alternative in TweakFlowParser.expression().
    visitThreadExp(com.twineworks.tweakflow.grammar.TweakFlowParser.ThreadExpContext ctx)
    Visit a parse tree produced by the threadExp labeled alternative in TweakFlowParser.expression().
    visitThrowErrorExp(com.twineworks.tweakflow.grammar.TweakFlowParser.ThrowErrorExpContext ctx)
    Visit a parse tree produced by the throwErrorExp labeled alternative in TweakFlowParser.expression().
    visitTryCatchExp(com.twineworks.tweakflow.grammar.TweakFlowParser.TryCatchExpContext ctx)
    Visit a parse tree produced by the tryCatchExp labeled alternative in TweakFlowParser.expression().
    visitTypeOfExp(com.twineworks.tweakflow.grammar.TweakFlowParser.TypeOfExpContext ctx)
    Visit a parse tree produced by the typeOfExp labeled alternative in TweakFlowParser.expression().
    visitUnaryMinusExp(com.twineworks.tweakflow.grammar.TweakFlowParser.UnaryMinusExpContext ctx)
    Visit a parse tree produced by the unaryMinusExp labeled alternative in TweakFlowParser.expression().
    visitValueAndTypeEqualsExp(com.twineworks.tweakflow.grammar.TweakFlowParser.ValueAndTypeEqualsExpContext ctx)
    Visit a parse tree produced by the valueAndTypeEqualsExp labeled alternative in TweakFlowParser.expression().
    visitZeroShiftRightExp(com.twineworks.tweakflow.grammar.TweakFlowParser.ZeroShiftRightExpContext ctx)
    Visit a parse tree produced by the zeroShiftRightExp labeled alternative in TweakFlowParser.expression().

    Methods inherited from class com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor

    visitAliasDef, visitAliasName, visitArgs, visitBadArgs, visitBadContainerAccessKeySequence, visitBinLiteral, visitBooleanLiteralExp, visitCapturePattern, visitCatchAnonymous, visitCatchError, visitCatchErrorAndTrace, visitComponentImport, visitContainerAccessKeySequence, visitDataType, visitDataTypePattern, visitDateTimeLiteral, visitDecimalLiteral, visitDefaultLine, visitDictLiteralExp, visitDictPattern, visitDoc, visitDoubleLiteral, visitEmpty, visitErrDictPattern, visitErrListPattern, visitExportComponentName, visitExportDef, visitExportName, visitExpPattern, visitForHead, visitFunctionHead, visitFunctionLiteralExp, visitGenerator, visitHeadTailListPattern, visitIdentifier, visitImportComponentName, visitImportDef, visitImportMember, visitImportModuleName, visitInitLastListPattern, visitInteractive, visitInteractiveInput, visitInteractiveSection, visitInteractiveUnit, visitKeyLiteralExp, visitLibrary, visitLibraryComponent, visitLibVar, visitListLiteralExp, visitListPattern, visitLiteralExp, visitLongLiteralExp, visitMatchBody, visitMatchGuard, visitMeta, visitMetaDef, visitMidListPattern, visitModule, visitModuleHead, visitModuleImport, visitModulePath, visitModuleUnit, visitNamedArg, visitNameDec, visitNamedPartialArg, visitNilLiteralExp, visitOpenDictPattern, visitParamDef, visitParamsList, visitPartialArgs, visitPatternLine, visitPositionalArg, visitProvided, visitReferenceExp, visitSplat, visitSplatArg, visitSplatCapture, visitStandaloneExpression, visitStandaloneReference, visitStringConstantExp, visitStringEscapeSequence, visitStringLiteralExp, visitStringText, visitThreadArg, visitThreadExpErr, visitUnrecognizedEscapeSequence, visitVarCapture, visitVarDec, visitVarDef, visitViaDec, visitWrongSideColonKey

    Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor

    aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal

    Methods inherited from class java.lang.Object

    clone, equals, finalize, 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

    • makeRecoveryNilNode

      public static ExpressionNode makeRecoveryNilNode(ParseUnit p, org.antlr.v4.runtime.ParserRuleContext ctx)
    • addImplicitCast

      public ExpressionNode addImplicitCast(Type targetType, ExpressionNode node)
    • visitNilLiteral

      public ExpressionNode visitNilLiteral(com.twineworks.tweakflow.grammar.TweakFlowParser.NilLiteralContext ctx)
      Description copied from class: com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor
      Visit a parse tree produced by TweakFlowParser.nilLiteral().

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

      Specified by:
      visitNilLiteral in interface com.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>
      Overrides:
      visitNilLiteral in class com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitStringHereDoc

      public ExpressionNode visitStringHereDoc(com.twineworks.tweakflow.grammar.TweakFlowParser.StringHereDocContext ctx)
      Description copied from class: com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor
      Visit a parse tree produced by the stringHereDoc labeled alternative in TweakFlowParser.stringLiteral().

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

      Specified by:
      visitStringHereDoc in interface com.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>
      Overrides:
      visitStringHereDoc in class com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitStringVerbatim

      public ExpressionNode visitStringVerbatim(com.twineworks.tweakflow.grammar.TweakFlowParser.StringVerbatimContext ctx)
      Description copied from class: com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor
      Visit a parse tree produced by the stringVerbatim labeled alternative in TweakFlowParser.stringLiteral().

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

      Specified by:
      visitStringVerbatim in interface com.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>
      Overrides:
      visitStringVerbatim in class com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitLongDecLiteral

      public ExpressionNode visitLongDecLiteral(com.twineworks.tweakflow.grammar.TweakFlowParser.LongDecLiteralContext ctx)
      Description copied from class: com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor
      Visit a parse tree produced by the longDecLiteral labeled alternative in TweakFlowParser.longLiteral().

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

      Specified by:
      visitLongDecLiteral in interface com.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>
      Overrides:
      visitLongDecLiteral in class com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitHexLiteral

      public ExpressionNode visitHexLiteral(com.twineworks.tweakflow.grammar.TweakFlowParser.HexLiteralContext ctx)
      Description copied from class: com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor
      Visit a parse tree produced by the hexLiteral labeled alternative in TweakFlowParser.longLiteral().

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

      Specified by:
      visitHexLiteral in interface com.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>
      Overrides:
      visitHexLiteral in class com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitDoubleLiteralExp

      public ExpressionNode visitDoubleLiteralExp(com.twineworks.tweakflow.grammar.TweakFlowParser.DoubleLiteralExpContext ctx)
      Description copied from class: com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor
      Visit a parse tree produced by the doubleLiteralExp labeled alternative in TweakFlowParser.literal().

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

      Specified by:
      visitDoubleLiteralExp in interface com.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>
      Overrides:
      visitDoubleLiteralExp in class com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitDecimalLiteralExp

      public ExpressionNode visitDecimalLiteralExp(com.twineworks.tweakflow.grammar.TweakFlowParser.DecimalLiteralExpContext ctx)
      Description copied from class: com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor
      Visit a parse tree produced by the decimalLiteralExp labeled alternative in TweakFlowParser.literal().

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

      Specified by:
      visitDecimalLiteralExp in interface com.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>
      Overrides:
      visitDecimalLiteralExp in class com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitDateTimeLiteralExp

      public ExpressionNode visitDateTimeLiteralExp(com.twineworks.tweakflow.grammar.TweakFlowParser.DateTimeLiteralExpContext ctx)
      Description copied from class: com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor
      Visit a parse tree produced by the dateTimeLiteralExp labeled alternative in TweakFlowParser.literal().

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

      Specified by:
      visitDateTimeLiteralExp in interface com.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>
      Overrides:
      visitDateTimeLiteralExp in class com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitForExp

      public ExpressionNode visitForExp(com.twineworks.tweakflow.grammar.TweakFlowParser.ForExpContext ctx)
      Description copied from class: com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor
      Visit a parse tree produced by the forExp labeled alternative in TweakFlowParser.expression().

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

      Specified by:
      visitForExp in interface com.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>
      Overrides:
      visitForExp in class com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitMatchExp

      public ExpressionNode visitMatchExp(com.twineworks.tweakflow.grammar.TweakFlowParser.MatchExpContext ctx)
      Description copied from class: com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor
      Visit a parse tree produced by the matchExp labeled alternative in TweakFlowParser.expression().

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

      Specified by:
      visitMatchExp in interface com.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>
      Overrides:
      visitMatchExp in class com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitDefaultExp

      public ExpressionNode visitDefaultExp(com.twineworks.tweakflow.grammar.TweakFlowParser.DefaultExpContext ctx)
      Description copied from class: com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor
      Visit a parse tree produced by the defaultExp labeled alternative in TweakFlowParser.expression().

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

      Specified by:
      visitDefaultExp in interface com.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>
      Overrides:
      visitDefaultExp in class com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitTypeOfExp

      public ExpressionNode visitTypeOfExp(com.twineworks.tweakflow.grammar.TweakFlowParser.TypeOfExpContext ctx)
      Description copied from class: com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor
      Visit a parse tree produced by the typeOfExp labeled alternative in TweakFlowParser.expression().

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

      Specified by:
      visitTypeOfExp in interface com.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>
      Overrides:
      visitTypeOfExp in class com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitDebugExp

      public ExpressionNode visitDebugExp(com.twineworks.tweakflow.grammar.TweakFlowParser.DebugExpContext ctx)
      Description copied from class: com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor
      Visit a parse tree produced by the debugExp labeled alternative in TweakFlowParser.expression().

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

      Specified by:
      visitDebugExp in interface com.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>
      Overrides:
      visitDebugExp in class com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitBitwiseNotExp

      public ExpressionNode visitBitwiseNotExp(com.twineworks.tweakflow.grammar.TweakFlowParser.BitwiseNotExpContext ctx)
      Description copied from class: com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor
      Visit a parse tree produced by the bitwiseNotExp labeled alternative in TweakFlowParser.expression().

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

      Specified by:
      visitBitwiseNotExp in interface com.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>
      Overrides:
      visitBitwiseNotExp in class com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitBitwiseXorExp

      public ExpressionNode visitBitwiseXorExp(com.twineworks.tweakflow.grammar.TweakFlowParser.BitwiseXorExpContext ctx)
      Description copied from class: com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor
      Visit a parse tree produced by the bitwiseXorExp labeled alternative in TweakFlowParser.expression().

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

      Specified by:
      visitBitwiseXorExp in interface com.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>
      Overrides:
      visitBitwiseXorExp in class com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitShiftLeftExp

      public ExpressionNode visitShiftLeftExp(com.twineworks.tweakflow.grammar.TweakFlowParser.ShiftLeftExpContext ctx)
      Description copied from class: com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor
      Visit a parse tree produced by the shiftLeftExp labeled alternative in TweakFlowParser.expression().

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

      Specified by:
      visitShiftLeftExp in interface com.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>
      Overrides:
      visitShiftLeftExp in class com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitBitwiseOrExp

      public ExpressionNode visitBitwiseOrExp(com.twineworks.tweakflow.grammar.TweakFlowParser.BitwiseOrExpContext ctx)
      Description copied from class: com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor
      Visit a parse tree produced by the bitwiseOrExp labeled alternative in TweakFlowParser.expression().

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

      Specified by:
      visitBitwiseOrExp in interface com.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>
      Overrides:
      visitBitwiseOrExp in class com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitZeroShiftRightExp

      public ExpressionNode visitZeroShiftRightExp(com.twineworks.tweakflow.grammar.TweakFlowParser.ZeroShiftRightExpContext ctx)
      Description copied from class: com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor
      Visit a parse tree produced by the zeroShiftRightExp labeled alternative in TweakFlowParser.expression().

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

      Specified by:
      visitZeroShiftRightExp in interface com.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>
      Overrides:
      visitZeroShiftRightExp in class com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitPreservingShiftRightExp

      public ExpressionNode visitPreservingShiftRightExp(com.twineworks.tweakflow.grammar.TweakFlowParser.PreservingShiftRightExpContext ctx)
      Description copied from class: com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor
      Visit a parse tree produced by the preservingShiftRightExp labeled alternative in TweakFlowParser.expression().

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

      Specified by:
      visitPreservingShiftRightExp in interface com.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>
      Overrides:
      visitPreservingShiftRightExp in class com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitBitwiseAndExp

      public ExpressionNode visitBitwiseAndExp(com.twineworks.tweakflow.grammar.TweakFlowParser.BitwiseAndExpContext ctx)
      Description copied from class: com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor
      Visit a parse tree produced by the bitwiseAndExp labeled alternative in TweakFlowParser.expression().

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

      Specified by:
      visitBitwiseAndExp in interface com.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>
      Overrides:
      visitBitwiseAndExp in class com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitStringInterpolation

      public ExpressionNode visitStringInterpolation(com.twineworks.tweakflow.grammar.TweakFlowParser.StringInterpolationContext ctx)
      Description copied from class: com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor
      Visit a parse tree produced by the stringInterpolation labeled alternative in TweakFlowParser.stringLiteral().

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

      Specified by:
      visitStringInterpolation in interface com.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>
      Overrides:
      visitStringInterpolation in class com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitListLiteral

      public ExpressionNode visitListLiteral(com.twineworks.tweakflow.grammar.TweakFlowParser.ListLiteralContext ctx)
      Description copied from class: com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor
      Visit a parse tree produced by TweakFlowParser.listLiteral().

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

      Specified by:
      visitListLiteral in interface com.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>
      Overrides:
      visitListLiteral in class com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitDictLiteral

      public ExpressionNode visitDictLiteral(com.twineworks.tweakflow.grammar.TweakFlowParser.DictLiteralContext ctx)
      Description copied from class: com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor
      Visit a parse tree produced by TweakFlowParser.dictLiteral().

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

      Specified by:
      visitDictLiteral in interface com.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>
      Overrides:
      visitDictLiteral in class com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitBooleanLiteral

      public BooleanNode visitBooleanLiteral(com.twineworks.tweakflow.grammar.TweakFlowParser.BooleanLiteralContext ctx)
      Description copied from class: com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor
      Visit a parse tree produced by TweakFlowParser.booleanLiteral().

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

      Specified by:
      visitBooleanLiteral in interface com.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>
      Overrides:
      visitBooleanLiteral in class com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitLetExp

      public ExpressionNode visitLetExp(com.twineworks.tweakflow.grammar.TweakFlowParser.LetExpContext ctx)
      Description copied from class: com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor
      Visit a parse tree produced by the letExp labeled alternative in TweakFlowParser.expression().

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

      Specified by:
      visitLetExp in interface com.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>
      Overrides:
      visitLetExp in class com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitNestedExp

      public ExpressionNode visitNestedExp(com.twineworks.tweakflow.grammar.TweakFlowParser.NestedExpContext ctx)
      Description copied from class: com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor
      Visit a parse tree produced by the nestedExp labeled alternative in TweakFlowParser.expression().

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

      Specified by:
      visitNestedExp in interface com.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>
      Overrides:
      visitNestedExp in class com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitFunctionLiteral

      public ExpressionNode visitFunctionLiteral(com.twineworks.tweakflow.grammar.TweakFlowParser.FunctionLiteralContext ctx)
      Description copied from class: com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor
      Visit a parse tree produced by TweakFlowParser.functionLiteral().

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

      Specified by:
      visitFunctionLiteral in interface com.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>
      Overrides:
      visitFunctionLiteral in class com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitLocalReference

      public ExpressionNode visitLocalReference(com.twineworks.tweakflow.grammar.TweakFlowParser.LocalReferenceContext ctx)
      Description copied from class: com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor
      Visit a parse tree produced by the localReference labeled alternative in TweakFlowParser.reference().

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

      Specified by:
      visitLocalReference in interface com.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>
      Overrides:
      visitLocalReference in class com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitGlobalReference

      public ExpressionNode visitGlobalReference(com.twineworks.tweakflow.grammar.TweakFlowParser.GlobalReferenceContext ctx)
      Description copied from class: com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor
      Visit a parse tree produced by the globalReference labeled alternative in TweakFlowParser.reference().

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

      Specified by:
      visitGlobalReference in interface com.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>
      Overrides:
      visitGlobalReference in class com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitLibraryReference

      public ExpressionNode visitLibraryReference(com.twineworks.tweakflow.grammar.TweakFlowParser.LibraryReferenceContext ctx)
      Description copied from class: com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor
      Visit a parse tree produced by the libraryReference labeled alternative in TweakFlowParser.reference().

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

      Specified by:
      visitLibraryReference in interface com.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>
      Overrides:
      visitLibraryReference in class com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitModuleReference

      public ExpressionNode visitModuleReference(com.twineworks.tweakflow.grammar.TweakFlowParser.ModuleReferenceContext ctx)
      Description copied from class: com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor
      Visit a parse tree produced by the moduleReference labeled alternative in TweakFlowParser.reference().

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

      Specified by:
      visitModuleReference in interface com.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>
      Overrides:
      visitModuleReference in class com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitTryCatchExp

      public ExpressionNode visitTryCatchExp(com.twineworks.tweakflow.grammar.TweakFlowParser.TryCatchExpContext ctx)
      Description copied from class: com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor
      Visit a parse tree produced by the tryCatchExp labeled alternative in TweakFlowParser.expression().

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

      Specified by:
      visitTryCatchExp in interface com.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>
      Overrides:
      visitTryCatchExp in class com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitThrowErrorExp

      public ExpressionNode visitThrowErrorExp(com.twineworks.tweakflow.grammar.TweakFlowParser.ThrowErrorExpContext ctx)
      Description copied from class: com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor
      Visit a parse tree produced by the throwErrorExp labeled alternative in TweakFlowParser.expression().

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

      Specified by:
      visitThrowErrorExp in interface com.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>
      Overrides:
      visitThrowErrorExp in class com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitCastExp

      public ExpressionNode visitCastExp(com.twineworks.tweakflow.grammar.TweakFlowParser.CastExpContext ctx)
      Description copied from class: com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor
      Visit a parse tree produced by the castExp labeled alternative in TweakFlowParser.expression().

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

      Specified by:
      visitCastExp in interface com.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>
      Overrides:
      visitCastExp in class com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitIfExp

      public ExpressionNode visitIfExp(com.twineworks.tweakflow.grammar.TweakFlowParser.IfExpContext ctx)
      Description copied from class: com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor
      Visit a parse tree produced by the ifExp labeled alternative in TweakFlowParser.expression().

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

      Specified by:
      visitIfExp in interface com.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>
      Overrides:
      visitIfExp in class com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitIsExp

      public ExpressionNode visitIsExp(com.twineworks.tweakflow.grammar.TweakFlowParser.IsExpContext ctx)
      Description copied from class: com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor
      Visit a parse tree produced by the isExp labeled alternative in TweakFlowParser.expression().

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

      Specified by:
      visitIsExp in interface com.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>
      Overrides:
      visitIsExp in class com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitConcatExp

      public ExpressionNode visitConcatExp(com.twineworks.tweakflow.grammar.TweakFlowParser.ConcatExpContext ctx)
      Description copied from class: com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor
      Visit a parse tree produced by the concatExp labeled alternative in TweakFlowParser.expression().

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

      Specified by:
      visitConcatExp in interface com.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>
      Overrides:
      visitConcatExp in class com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitBoolAndExp

      public ExpressionNode visitBoolAndExp(com.twineworks.tweakflow.grammar.TweakFlowParser.BoolAndExpContext ctx)
      Description copied from class: com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor
      Visit a parse tree produced by the boolAndExp labeled alternative in TweakFlowParser.expression().

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

      Specified by:
      visitBoolAndExp in interface com.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>
      Overrides:
      visitBoolAndExp in class com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitBoolOrExp

      public ExpressionNode visitBoolOrExp(com.twineworks.tweakflow.grammar.TweakFlowParser.BoolOrExpContext ctx)
      Description copied from class: com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor
      Visit a parse tree produced by the boolOrExp labeled alternative in TweakFlowParser.expression().

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

      Specified by:
      visitBoolOrExp in interface com.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>
      Overrides:
      visitBoolOrExp in class com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitEqualExp

      public ExpressionNode visitEqualExp(com.twineworks.tweakflow.grammar.TweakFlowParser.EqualExpContext ctx)
      Description copied from class: com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor
      Visit a parse tree produced by the equalExp labeled alternative in TweakFlowParser.expression().

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

      Specified by:
      visitEqualExp in interface com.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>
      Overrides:
      visitEqualExp in class com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitValueAndTypeEqualsExp

      public ExpressionNode visitValueAndTypeEqualsExp(com.twineworks.tweakflow.grammar.TweakFlowParser.ValueAndTypeEqualsExpContext ctx)
      Description copied from class: com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor
      Visit a parse tree produced by the valueAndTypeEqualsExp labeled alternative in TweakFlowParser.expression().

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

      Specified by:
      visitValueAndTypeEqualsExp in interface com.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>
      Overrides:
      visitValueAndTypeEqualsExp in class com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitNotValueAndTypeEqualsExp

      public ExpressionNode visitNotValueAndTypeEqualsExp(com.twineworks.tweakflow.grammar.TweakFlowParser.NotValueAndTypeEqualsExpContext ctx)
      Description copied from class: com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor
      Visit a parse tree produced by the notValueAndTypeEqualsExp labeled alternative in TweakFlowParser.expression().

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

      Specified by:
      visitNotValueAndTypeEqualsExp in interface com.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>
      Overrides:
      visitNotValueAndTypeEqualsExp in class com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitLessThanExp

      public ExpressionNode visitLessThanExp(com.twineworks.tweakflow.grammar.TweakFlowParser.LessThanExpContext ctx)
      Description copied from class: com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor
      Visit a parse tree produced by the lessThanExp labeled alternative in TweakFlowParser.expression().

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

      Specified by:
      visitLessThanExp in interface com.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>
      Overrides:
      visitLessThanExp in class com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitLessThanOrEqualToExp

      public ExpressionNode visitLessThanOrEqualToExp(com.twineworks.tweakflow.grammar.TweakFlowParser.LessThanOrEqualToExpContext ctx)
      Description copied from class: com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor
      Visit a parse tree produced by the lessThanOrEqualToExp labeled alternative in TweakFlowParser.expression().

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

      Specified by:
      visitLessThanOrEqualToExp in interface com.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>
      Overrides:
      visitLessThanOrEqualToExp in class com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitGreaterThanExp

      public ExpressionNode visitGreaterThanExp(com.twineworks.tweakflow.grammar.TweakFlowParser.GreaterThanExpContext ctx)
      Description copied from class: com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor
      Visit a parse tree produced by the greaterThanExp labeled alternative in TweakFlowParser.expression().

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

      Specified by:
      visitGreaterThanExp in interface com.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>
      Overrides:
      visitGreaterThanExp in class com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitGreaterThanOrEqualToExp

      public ExpressionNode visitGreaterThanOrEqualToExp(com.twineworks.tweakflow.grammar.TweakFlowParser.GreaterThanOrEqualToExpContext ctx)
      Description copied from class: com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor
      Visit a parse tree produced by the greaterThanOrEqualToExp labeled alternative in TweakFlowParser.expression().

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

      Specified by:
      visitGreaterThanOrEqualToExp in interface com.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>
      Overrides:
      visitGreaterThanOrEqualToExp in class com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitUnaryMinusExp

      public ExpressionNode visitUnaryMinusExp(com.twineworks.tweakflow.grammar.TweakFlowParser.UnaryMinusExpContext ctx)
      Description copied from class: com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor
      Visit a parse tree produced by the unaryMinusExp labeled alternative in TweakFlowParser.expression().

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

      Specified by:
      visitUnaryMinusExp in interface com.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>
      Overrides:
      visitUnaryMinusExp in class com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitAddExp

      public ExpressionNode visitAddExp(com.twineworks.tweakflow.grammar.TweakFlowParser.AddExpContext ctx)
      Description copied from class: com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor
      Visit a parse tree produced by the addExp labeled alternative in TweakFlowParser.expression().

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

      Specified by:
      visitAddExp in interface com.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>
      Overrides:
      visitAddExp in class com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitMultExp

      public ExpressionNode visitMultExp(com.twineworks.tweakflow.grammar.TweakFlowParser.MultExpContext ctx)
      Description copied from class: com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor
      Visit a parse tree produced by the multExp labeled alternative in TweakFlowParser.expression().

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

      Specified by:
      visitMultExp in interface com.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>
      Overrides:
      visitMultExp in class com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitPowExp

      public ExpressionNode visitPowExp(com.twineworks.tweakflow.grammar.TweakFlowParser.PowExpContext ctx)
      Description copied from class: com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor
      Visit a parse tree produced by the powExp labeled alternative in TweakFlowParser.expression().

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

      Specified by:
      visitPowExp in interface com.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>
      Overrides:
      visitPowExp in class com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitContainerAccessExp

      public ExpressionNode visitContainerAccessExp(com.twineworks.tweakflow.grammar.TweakFlowParser.ContainerAccessExpContext ctx)
      Description copied from class: com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor
      Visit a parse tree produced by the containerAccessExp labeled alternative in TweakFlowParser.expression().

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

      Specified by:
      visitContainerAccessExp in interface com.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>
      Overrides:
      visitContainerAccessExp in class com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitNotEqualExp

      public ExpressionNode visitNotEqualExp(com.twineworks.tweakflow.grammar.TweakFlowParser.NotEqualExpContext ctx)
      Description copied from class: com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor
      Visit a parse tree produced by the notEqualExp labeled alternative in TweakFlowParser.expression().

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

      Specified by:
      visitNotEqualExp in interface com.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>
      Overrides:
      visitNotEqualExp in class com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitBoolNotExp

      public ExpressionNode visitBoolNotExp(com.twineworks.tweakflow.grammar.TweakFlowParser.BoolNotExpContext ctx)
      Description copied from class: com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor
      Visit a parse tree produced by the boolNotExp labeled alternative in TweakFlowParser.expression().

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

      Specified by:
      visitBoolNotExp in interface com.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>
      Overrides:
      visitBoolNotExp in class com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitSubExp

      public ExpressionNode visitSubExp(com.twineworks.tweakflow.grammar.TweakFlowParser.SubExpContext ctx)
      Description copied from class: com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor
      Visit a parse tree produced by the subExp labeled alternative in TweakFlowParser.expression().

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

      Specified by:
      visitSubExp in interface com.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>
      Overrides:
      visitSubExp in class com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitModExp

      public ExpressionNode visitModExp(com.twineworks.tweakflow.grammar.TweakFlowParser.ModExpContext ctx)
      Description copied from class: com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor
      Visit a parse tree produced by the modExp labeled alternative in TweakFlowParser.expression().

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

      Specified by:
      visitModExp in interface com.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>
      Overrides:
      visitModExp in class com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitDivExp

      public ExpressionNode visitDivExp(com.twineworks.tweakflow.grammar.TweakFlowParser.DivExpContext ctx)
      Description copied from class: com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor
      Visit a parse tree produced by the divExp labeled alternative in TweakFlowParser.expression().

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

      Specified by:
      visitDivExp in interface com.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>
      Overrides:
      visitDivExp in class com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitIntDivExp

      public ExpressionNode visitIntDivExp(com.twineworks.tweakflow.grammar.TweakFlowParser.IntDivExpContext ctx)
      Description copied from class: com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor
      Visit a parse tree produced by the intDivExp labeled alternative in TweakFlowParser.expression().

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

      Specified by:
      visitIntDivExp in interface com.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>
      Overrides:
      visitIntDivExp in class com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitThreadExp

      public ExpressionNode visitThreadExp(com.twineworks.tweakflow.grammar.TweakFlowParser.ThreadExpContext ctx)
      Description copied from class: com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor
      Visit a parse tree produced by the threadExp labeled alternative in TweakFlowParser.expression().

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

      Specified by:
      visitThreadExp in interface com.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>
      Overrides:
      visitThreadExp in class com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitKeyLiteral

      public ExpressionNode visitKeyLiteral(com.twineworks.tweakflow.grammar.TweakFlowParser.KeyLiteralContext ctx)
      Description copied from class: com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor
      Visit a parse tree produced by TweakFlowParser.keyLiteral().

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

      Specified by:
      visitKeyLiteral in interface com.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>
      Overrides:
      visitKeyLiteral in class com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitCallExp

      public ExpressionNode visitCallExp(com.twineworks.tweakflow.grammar.TweakFlowParser.CallExpContext ctx)
      Description copied from class: com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor
      Visit a parse tree produced by the callExp labeled alternative in TweakFlowParser.expression().

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

      Specified by:
      visitCallExp in interface com.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>
      Overrides:
      visitCallExp in class com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitBinaryLiteralExp

      public ExpressionNode visitBinaryLiteralExp(com.twineworks.tweakflow.grammar.TweakFlowParser.BinaryLiteralExpContext ctx)
      Description copied from class: com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor
      Visit a parse tree produced by the binaryLiteralExp labeled alternative in TweakFlowParser.literal().

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

      Specified by:
      visitBinaryLiteralExp in interface com.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>
      Overrides:
      visitBinaryLiteralExp in class com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitPartialExp

      public ExpressionNode visitPartialExp(com.twineworks.tweakflow.grammar.TweakFlowParser.PartialExpContext ctx)
      Description copied from class: com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor
      Visit a parse tree produced by the partialExp labeled alternative in TweakFlowParser.expression().

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

      Specified by:
      visitPartialExp in interface com.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>
      Overrides:
      visitPartialExp in class com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result