Class ExpressionBuilder
- All Implemented Interfaces:
com.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>,org.antlr.v4.runtime.tree.ParseTreeVisitor<ExpressionNode>
-
Constructor Summary
ConstructorsConstructorDescriptionExpressionBuilder(ParseUnit parseUnit, boolean recovery, List<LangException> recoveryErrors) -
Method Summary
Modifier and TypeMethodDescriptionaddImplicitCast(Type targetType, ExpressionNode node) static ExpressionNodemakeRecoveryNilNode(ParseUnit p, org.antlr.v4.runtime.ParserRuleContext ctx) visitAddExp(com.twineworks.tweakflow.grammar.TweakFlowParser.AddExpContext ctx) Visit a parse tree produced by theaddExplabeled alternative inTweakFlowParser.expression().visitBinaryLiteralExp(com.twineworks.tweakflow.grammar.TweakFlowParser.BinaryLiteralExpContext ctx) Visit a parse tree produced by thebinaryLiteralExplabeled alternative inTweakFlowParser.literal().visitBitwiseAndExp(com.twineworks.tweakflow.grammar.TweakFlowParser.BitwiseAndExpContext ctx) Visit a parse tree produced by thebitwiseAndExplabeled alternative inTweakFlowParser.expression().visitBitwiseNotExp(com.twineworks.tweakflow.grammar.TweakFlowParser.BitwiseNotExpContext ctx) Visit a parse tree produced by thebitwiseNotExplabeled alternative inTweakFlowParser.expression().visitBitwiseOrExp(com.twineworks.tweakflow.grammar.TweakFlowParser.BitwiseOrExpContext ctx) Visit a parse tree produced by thebitwiseOrExplabeled alternative inTweakFlowParser.expression().visitBitwiseXorExp(com.twineworks.tweakflow.grammar.TweakFlowParser.BitwiseXorExpContext ctx) Visit a parse tree produced by thebitwiseXorExplabeled alternative inTweakFlowParser.expression().visitBoolAndExp(com.twineworks.tweakflow.grammar.TweakFlowParser.BoolAndExpContext ctx) Visit a parse tree produced by theboolAndExplabeled alternative inTweakFlowParser.expression().visitBooleanLiteral(com.twineworks.tweakflow.grammar.TweakFlowParser.BooleanLiteralContext ctx) Visit a parse tree produced byTweakFlowParser.booleanLiteral().visitBoolNotExp(com.twineworks.tweakflow.grammar.TweakFlowParser.BoolNotExpContext ctx) Visit a parse tree produced by theboolNotExplabeled alternative inTweakFlowParser.expression().visitBoolOrExp(com.twineworks.tweakflow.grammar.TweakFlowParser.BoolOrExpContext ctx) Visit a parse tree produced by theboolOrExplabeled alternative inTweakFlowParser.expression().visitCallExp(com.twineworks.tweakflow.grammar.TweakFlowParser.CallExpContext ctx) Visit a parse tree produced by thecallExplabeled alternative inTweakFlowParser.expression().visitCastExp(com.twineworks.tweakflow.grammar.TweakFlowParser.CastExpContext ctx) Visit a parse tree produced by thecastExplabeled alternative inTweakFlowParser.expression().visitConcatExp(com.twineworks.tweakflow.grammar.TweakFlowParser.ConcatExpContext ctx) Visit a parse tree produced by theconcatExplabeled alternative inTweakFlowParser.expression().visitContainerAccessExp(com.twineworks.tweakflow.grammar.TweakFlowParser.ContainerAccessExpContext ctx) Visit a parse tree produced by thecontainerAccessExplabeled alternative inTweakFlowParser.expression().visitDateTimeLiteralExp(com.twineworks.tweakflow.grammar.TweakFlowParser.DateTimeLiteralExpContext ctx) Visit a parse tree produced by thedateTimeLiteralExplabeled alternative inTweakFlowParser.literal().visitDebugExp(com.twineworks.tweakflow.grammar.TweakFlowParser.DebugExpContext ctx) Visit a parse tree produced by thedebugExplabeled alternative inTweakFlowParser.expression().visitDecimalLiteralExp(com.twineworks.tweakflow.grammar.TweakFlowParser.DecimalLiteralExpContext ctx) Visit a parse tree produced by thedecimalLiteralExplabeled alternative inTweakFlowParser.literal().visitDefaultExp(com.twineworks.tweakflow.grammar.TweakFlowParser.DefaultExpContext ctx) Visit a parse tree produced by thedefaultExplabeled alternative inTweakFlowParser.expression().visitDictLiteral(com.twineworks.tweakflow.grammar.TweakFlowParser.DictLiteralContext ctx) Visit a parse tree produced byTweakFlowParser.dictLiteral().visitDivExp(com.twineworks.tweakflow.grammar.TweakFlowParser.DivExpContext ctx) Visit a parse tree produced by thedivExplabeled alternative inTweakFlowParser.expression().visitDoubleLiteralExp(com.twineworks.tweakflow.grammar.TweakFlowParser.DoubleLiteralExpContext ctx) Visit a parse tree produced by thedoubleLiteralExplabeled alternative inTweakFlowParser.literal().visitEqualExp(com.twineworks.tweakflow.grammar.TweakFlowParser.EqualExpContext ctx) Visit a parse tree produced by theequalExplabeled alternative inTweakFlowParser.expression().visitForExp(com.twineworks.tweakflow.grammar.TweakFlowParser.ForExpContext ctx) Visit a parse tree produced by theforExplabeled alternative inTweakFlowParser.expression().visitFunctionLiteral(com.twineworks.tweakflow.grammar.TweakFlowParser.FunctionLiteralContext ctx) Visit a parse tree produced byTweakFlowParser.functionLiteral().visitGlobalReference(com.twineworks.tweakflow.grammar.TweakFlowParser.GlobalReferenceContext ctx) Visit a parse tree produced by theglobalReferencelabeled alternative inTweakFlowParser.reference().visitGreaterThanExp(com.twineworks.tweakflow.grammar.TweakFlowParser.GreaterThanExpContext ctx) Visit a parse tree produced by thegreaterThanExplabeled alternative inTweakFlowParser.expression().visitGreaterThanOrEqualToExp(com.twineworks.tweakflow.grammar.TweakFlowParser.GreaterThanOrEqualToExpContext ctx) Visit a parse tree produced by thegreaterThanOrEqualToExplabeled alternative inTweakFlowParser.expression().visitHexLiteral(com.twineworks.tweakflow.grammar.TweakFlowParser.HexLiteralContext ctx) Visit a parse tree produced by thehexLiterallabeled alternative inTweakFlowParser.longLiteral().visitIfExp(com.twineworks.tweakflow.grammar.TweakFlowParser.IfExpContext ctx) Visit a parse tree produced by theifExplabeled alternative inTweakFlowParser.expression().visitIntDivExp(com.twineworks.tweakflow.grammar.TweakFlowParser.IntDivExpContext ctx) Visit a parse tree produced by theintDivExplabeled alternative inTweakFlowParser.expression().visitIsExp(com.twineworks.tweakflow.grammar.TweakFlowParser.IsExpContext ctx) Visit a parse tree produced by theisExplabeled alternative inTweakFlowParser.expression().visitKeyLiteral(com.twineworks.tweakflow.grammar.TweakFlowParser.KeyLiteralContext ctx) Visit a parse tree produced byTweakFlowParser.keyLiteral().visitLessThanExp(com.twineworks.tweakflow.grammar.TweakFlowParser.LessThanExpContext ctx) Visit a parse tree produced by thelessThanExplabeled alternative inTweakFlowParser.expression().visitLessThanOrEqualToExp(com.twineworks.tweakflow.grammar.TweakFlowParser.LessThanOrEqualToExpContext ctx) Visit a parse tree produced by thelessThanOrEqualToExplabeled alternative inTweakFlowParser.expression().visitLetExp(com.twineworks.tweakflow.grammar.TweakFlowParser.LetExpContext ctx) Visit a parse tree produced by theletExplabeled alternative inTweakFlowParser.expression().visitLibraryReference(com.twineworks.tweakflow.grammar.TweakFlowParser.LibraryReferenceContext ctx) Visit a parse tree produced by thelibraryReferencelabeled alternative inTweakFlowParser.reference().visitListLiteral(com.twineworks.tweakflow.grammar.TweakFlowParser.ListLiteralContext ctx) Visit a parse tree produced byTweakFlowParser.listLiteral().visitLocalReference(com.twineworks.tweakflow.grammar.TweakFlowParser.LocalReferenceContext ctx) Visit a parse tree produced by thelocalReferencelabeled alternative inTweakFlowParser.reference().visitLongDecLiteral(com.twineworks.tweakflow.grammar.TweakFlowParser.LongDecLiteralContext ctx) Visit a parse tree produced by thelongDecLiterallabeled alternative inTweakFlowParser.longLiteral().visitMatchExp(com.twineworks.tweakflow.grammar.TweakFlowParser.MatchExpContext ctx) Visit a parse tree produced by thematchExplabeled alternative inTweakFlowParser.expression().visitModExp(com.twineworks.tweakflow.grammar.TweakFlowParser.ModExpContext ctx) Visit a parse tree produced by themodExplabeled alternative inTweakFlowParser.expression().visitModuleReference(com.twineworks.tweakflow.grammar.TweakFlowParser.ModuleReferenceContext ctx) Visit a parse tree produced by themoduleReferencelabeled alternative inTweakFlowParser.reference().visitMultExp(com.twineworks.tweakflow.grammar.TweakFlowParser.MultExpContext ctx) Visit a parse tree produced by themultExplabeled alternative inTweakFlowParser.expression().visitNestedExp(com.twineworks.tweakflow.grammar.TweakFlowParser.NestedExpContext ctx) Visit a parse tree produced by thenestedExplabeled alternative inTweakFlowParser.expression().visitNilLiteral(com.twineworks.tweakflow.grammar.TweakFlowParser.NilLiteralContext ctx) Visit a parse tree produced byTweakFlowParser.nilLiteral().visitNotEqualExp(com.twineworks.tweakflow.grammar.TweakFlowParser.NotEqualExpContext ctx) Visit a parse tree produced by thenotEqualExplabeled alternative inTweakFlowParser.expression().visitNotValueAndTypeEqualsExp(com.twineworks.tweakflow.grammar.TweakFlowParser.NotValueAndTypeEqualsExpContext ctx) Visit a parse tree produced by thenotValueAndTypeEqualsExplabeled alternative inTweakFlowParser.expression().visitPartialExp(com.twineworks.tweakflow.grammar.TweakFlowParser.PartialExpContext ctx) Visit a parse tree produced by thepartialExplabeled alternative inTweakFlowParser.expression().visitPowExp(com.twineworks.tweakflow.grammar.TweakFlowParser.PowExpContext ctx) Visit a parse tree produced by thepowExplabeled alternative inTweakFlowParser.expression().visitPreservingShiftRightExp(com.twineworks.tweakflow.grammar.TweakFlowParser.PreservingShiftRightExpContext ctx) Visit a parse tree produced by thepreservingShiftRightExplabeled alternative inTweakFlowParser.expression().visitShiftLeftExp(com.twineworks.tweakflow.grammar.TweakFlowParser.ShiftLeftExpContext ctx) Visit a parse tree produced by theshiftLeftExplabeled alternative inTweakFlowParser.expression().visitStringHereDoc(com.twineworks.tweakflow.grammar.TweakFlowParser.StringHereDocContext ctx) Visit a parse tree produced by thestringHereDoclabeled alternative inTweakFlowParser.stringLiteral().visitStringInterpolation(com.twineworks.tweakflow.grammar.TweakFlowParser.StringInterpolationContext ctx) Visit a parse tree produced by thestringInterpolationlabeled alternative inTweakFlowParser.stringLiteral().visitStringVerbatim(com.twineworks.tweakflow.grammar.TweakFlowParser.StringVerbatimContext ctx) Visit a parse tree produced by thestringVerbatimlabeled alternative inTweakFlowParser.stringLiteral().visitSubExp(com.twineworks.tweakflow.grammar.TweakFlowParser.SubExpContext ctx) Visit a parse tree produced by thesubExplabeled alternative inTweakFlowParser.expression().visitThreadExp(com.twineworks.tweakflow.grammar.TweakFlowParser.ThreadExpContext ctx) Visit a parse tree produced by thethreadExplabeled alternative inTweakFlowParser.expression().visitThrowErrorExp(com.twineworks.tweakflow.grammar.TweakFlowParser.ThrowErrorExpContext ctx) Visit a parse tree produced by thethrowErrorExplabeled alternative inTweakFlowParser.expression().visitTryCatchExp(com.twineworks.tweakflow.grammar.TweakFlowParser.TryCatchExpContext ctx) Visit a parse tree produced by thetryCatchExplabeled alternative inTweakFlowParser.expression().visitTypeOfExp(com.twineworks.tweakflow.grammar.TweakFlowParser.TypeOfExpContext ctx) Visit a parse tree produced by thetypeOfExplabeled alternative inTweakFlowParser.expression().visitUnaryMinusExp(com.twineworks.tweakflow.grammar.TweakFlowParser.UnaryMinusExpContext ctx) Visit a parse tree produced by theunaryMinusExplabeled alternative inTweakFlowParser.expression().visitValueAndTypeEqualsExp(com.twineworks.tweakflow.grammar.TweakFlowParser.ValueAndTypeEqualsExpContext ctx) Visit a parse tree produced by thevalueAndTypeEqualsExplabeled alternative inTweakFlowParser.expression().visitZeroShiftRightExp(com.twineworks.tweakflow.grammar.TweakFlowParser.ZeroShiftRightExpContext ctx) Visit a parse tree produced by thezeroShiftRightExplabeled alternative inTweakFlowParser.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, visitWrongSideColonKeyMethods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminalMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.antlr.v4.runtime.tree.ParseTreeVisitor
visit, visitChildren, visitErrorNode, visitTerminal
-
Constructor Details
-
ExpressionBuilder
-
-
Method Details
-
makeRecoveryNilNode
public static ExpressionNode makeRecoveryNilNode(ParseUnit p, org.antlr.v4.runtime.ParserRuleContext ctx) -
addImplicitCast
-
visitNilLiteral
public ExpressionNode visitNilLiteral(com.twineworks.tweakflow.grammar.TweakFlowParser.NilLiteralContext ctx) Description copied from class:com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitorVisit a parse tree produced byTweakFlowParser.nilLiteral().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNilLiteralin interfacecom.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>- Overrides:
visitNilLiteralin classcom.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.TweakFlowParserBaseVisitorVisit a parse tree produced by thestringHereDoclabeled alternative inTweakFlowParser.stringLiteral().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitStringHereDocin interfacecom.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>- Overrides:
visitStringHereDocin classcom.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.TweakFlowParserBaseVisitorVisit a parse tree produced by thestringVerbatimlabeled alternative inTweakFlowParser.stringLiteral().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitStringVerbatimin interfacecom.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>- Overrides:
visitStringVerbatimin classcom.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.TweakFlowParserBaseVisitorVisit a parse tree produced by thelongDecLiterallabeled alternative inTweakFlowParser.longLiteral().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLongDecLiteralin interfacecom.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>- Overrides:
visitLongDecLiteralin classcom.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.TweakFlowParserBaseVisitorVisit a parse tree produced by thehexLiterallabeled alternative inTweakFlowParser.longLiteral().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitHexLiteralin interfacecom.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>- Overrides:
visitHexLiteralin classcom.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.TweakFlowParserBaseVisitorVisit a parse tree produced by thedoubleLiteralExplabeled alternative inTweakFlowParser.literal().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDoubleLiteralExpin interfacecom.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>- Overrides:
visitDoubleLiteralExpin classcom.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.TweakFlowParserBaseVisitorVisit a parse tree produced by thedecimalLiteralExplabeled alternative inTweakFlowParser.literal().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDecimalLiteralExpin interfacecom.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>- Overrides:
visitDecimalLiteralExpin classcom.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.TweakFlowParserBaseVisitorVisit a parse tree produced by thedateTimeLiteralExplabeled alternative inTweakFlowParser.literal().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDateTimeLiteralExpin interfacecom.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>- Overrides:
visitDateTimeLiteralExpin classcom.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.TweakFlowParserBaseVisitorVisit a parse tree produced by theforExplabeled alternative inTweakFlowParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitForExpin interfacecom.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>- Overrides:
visitForExpin classcom.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.TweakFlowParserBaseVisitorVisit a parse tree produced by thematchExplabeled alternative inTweakFlowParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMatchExpin interfacecom.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>- Overrides:
visitMatchExpin classcom.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.TweakFlowParserBaseVisitorVisit a parse tree produced by thedefaultExplabeled alternative inTweakFlowParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDefaultExpin interfacecom.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>- Overrides:
visitDefaultExpin classcom.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.TweakFlowParserBaseVisitorVisit a parse tree produced by thetypeOfExplabeled alternative inTweakFlowParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeOfExpin interfacecom.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>- Overrides:
visitTypeOfExpin classcom.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.TweakFlowParserBaseVisitorVisit a parse tree produced by thedebugExplabeled alternative inTweakFlowParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDebugExpin interfacecom.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>- Overrides:
visitDebugExpin classcom.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.TweakFlowParserBaseVisitorVisit a parse tree produced by thebitwiseNotExplabeled alternative inTweakFlowParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBitwiseNotExpin interfacecom.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>- Overrides:
visitBitwiseNotExpin classcom.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.TweakFlowParserBaseVisitorVisit a parse tree produced by thebitwiseXorExplabeled alternative inTweakFlowParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBitwiseXorExpin interfacecom.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>- Overrides:
visitBitwiseXorExpin classcom.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.TweakFlowParserBaseVisitorVisit a parse tree produced by theshiftLeftExplabeled alternative inTweakFlowParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitShiftLeftExpin interfacecom.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>- Overrides:
visitShiftLeftExpin classcom.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.TweakFlowParserBaseVisitorVisit a parse tree produced by thebitwiseOrExplabeled alternative inTweakFlowParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBitwiseOrExpin interfacecom.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>- Overrides:
visitBitwiseOrExpin classcom.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.TweakFlowParserBaseVisitorVisit a parse tree produced by thezeroShiftRightExplabeled alternative inTweakFlowParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitZeroShiftRightExpin interfacecom.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>- Overrides:
visitZeroShiftRightExpin classcom.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.TweakFlowParserBaseVisitorVisit a parse tree produced by thepreservingShiftRightExplabeled alternative inTweakFlowParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPreservingShiftRightExpin interfacecom.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>- Overrides:
visitPreservingShiftRightExpin classcom.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.TweakFlowParserBaseVisitorVisit a parse tree produced by thebitwiseAndExplabeled alternative inTweakFlowParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBitwiseAndExpin interfacecom.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>- Overrides:
visitBitwiseAndExpin classcom.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.TweakFlowParserBaseVisitorVisit a parse tree produced by thestringInterpolationlabeled alternative inTweakFlowParser.stringLiteral().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitStringInterpolationin interfacecom.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>- Overrides:
visitStringInterpolationin classcom.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.TweakFlowParserBaseVisitorVisit a parse tree produced byTweakFlowParser.listLiteral().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitListLiteralin interfacecom.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>- Overrides:
visitListLiteralin classcom.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.TweakFlowParserBaseVisitorVisit a parse tree produced byTweakFlowParser.dictLiteral().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDictLiteralin interfacecom.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>- Overrides:
visitDictLiteralin classcom.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.TweakFlowParserBaseVisitorVisit a parse tree produced byTweakFlowParser.booleanLiteral().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBooleanLiteralin interfacecom.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>- Overrides:
visitBooleanLiteralin classcom.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.TweakFlowParserBaseVisitorVisit a parse tree produced by theletExplabeled alternative inTweakFlowParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLetExpin interfacecom.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>- Overrides:
visitLetExpin classcom.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.TweakFlowParserBaseVisitorVisit a parse tree produced by thenestedExplabeled alternative inTweakFlowParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNestedExpin interfacecom.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>- Overrides:
visitNestedExpin classcom.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.TweakFlowParserBaseVisitorVisit a parse tree produced byTweakFlowParser.functionLiteral().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFunctionLiteralin interfacecom.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>- Overrides:
visitFunctionLiteralin classcom.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.TweakFlowParserBaseVisitorVisit a parse tree produced by thelocalReferencelabeled alternative inTweakFlowParser.reference().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLocalReferencein interfacecom.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>- Overrides:
visitLocalReferencein classcom.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.TweakFlowParserBaseVisitorVisit a parse tree produced by theglobalReferencelabeled alternative inTweakFlowParser.reference().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitGlobalReferencein interfacecom.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>- Overrides:
visitGlobalReferencein classcom.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.TweakFlowParserBaseVisitorVisit a parse tree produced by thelibraryReferencelabeled alternative inTweakFlowParser.reference().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLibraryReferencein interfacecom.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>- Overrides:
visitLibraryReferencein classcom.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.TweakFlowParserBaseVisitorVisit a parse tree produced by themoduleReferencelabeled alternative inTweakFlowParser.reference().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitModuleReferencein interfacecom.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>- Overrides:
visitModuleReferencein classcom.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.TweakFlowParserBaseVisitorVisit a parse tree produced by thetryCatchExplabeled alternative inTweakFlowParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTryCatchExpin interfacecom.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>- Overrides:
visitTryCatchExpin classcom.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.TweakFlowParserBaseVisitorVisit a parse tree produced by thethrowErrorExplabeled alternative inTweakFlowParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitThrowErrorExpin interfacecom.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>- Overrides:
visitThrowErrorExpin classcom.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.TweakFlowParserBaseVisitorVisit a parse tree produced by thecastExplabeled alternative inTweakFlowParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCastExpin interfacecom.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>- Overrides:
visitCastExpin classcom.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIfExp
Description copied from class:com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitorVisit a parse tree produced by theifExplabeled alternative inTweakFlowParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIfExpin interfacecom.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>- Overrides:
visitIfExpin classcom.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIsExp
Description copied from class:com.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitorVisit a parse tree produced by theisExplabeled alternative inTweakFlowParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIsExpin interfacecom.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>- Overrides:
visitIsExpin classcom.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.TweakFlowParserBaseVisitorVisit a parse tree produced by theconcatExplabeled alternative inTweakFlowParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitConcatExpin interfacecom.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>- Overrides:
visitConcatExpin classcom.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.TweakFlowParserBaseVisitorVisit a parse tree produced by theboolAndExplabeled alternative inTweakFlowParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBoolAndExpin interfacecom.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>- Overrides:
visitBoolAndExpin classcom.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.TweakFlowParserBaseVisitorVisit a parse tree produced by theboolOrExplabeled alternative inTweakFlowParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBoolOrExpin interfacecom.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>- Overrides:
visitBoolOrExpin classcom.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.TweakFlowParserBaseVisitorVisit a parse tree produced by theequalExplabeled alternative inTweakFlowParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitEqualExpin interfacecom.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>- Overrides:
visitEqualExpin classcom.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.TweakFlowParserBaseVisitorVisit a parse tree produced by thevalueAndTypeEqualsExplabeled alternative inTweakFlowParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitValueAndTypeEqualsExpin interfacecom.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>- Overrides:
visitValueAndTypeEqualsExpin classcom.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.TweakFlowParserBaseVisitorVisit a parse tree produced by thenotValueAndTypeEqualsExplabeled alternative inTweakFlowParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNotValueAndTypeEqualsExpin interfacecom.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>- Overrides:
visitNotValueAndTypeEqualsExpin classcom.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.TweakFlowParserBaseVisitorVisit a parse tree produced by thelessThanExplabeled alternative inTweakFlowParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLessThanExpin interfacecom.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>- Overrides:
visitLessThanExpin classcom.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.TweakFlowParserBaseVisitorVisit a parse tree produced by thelessThanOrEqualToExplabeled alternative inTweakFlowParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLessThanOrEqualToExpin interfacecom.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>- Overrides:
visitLessThanOrEqualToExpin classcom.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.TweakFlowParserBaseVisitorVisit a parse tree produced by thegreaterThanExplabeled alternative inTweakFlowParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitGreaterThanExpin interfacecom.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>- Overrides:
visitGreaterThanExpin classcom.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.TweakFlowParserBaseVisitorVisit a parse tree produced by thegreaterThanOrEqualToExplabeled alternative inTweakFlowParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitGreaterThanOrEqualToExpin interfacecom.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>- Overrides:
visitGreaterThanOrEqualToExpin classcom.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.TweakFlowParserBaseVisitorVisit a parse tree produced by theunaryMinusExplabeled alternative inTweakFlowParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitUnaryMinusExpin interfacecom.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>- Overrides:
visitUnaryMinusExpin classcom.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.TweakFlowParserBaseVisitorVisit a parse tree produced by theaddExplabeled alternative inTweakFlowParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAddExpin interfacecom.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>- Overrides:
visitAddExpin classcom.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.TweakFlowParserBaseVisitorVisit a parse tree produced by themultExplabeled alternative inTweakFlowParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMultExpin interfacecom.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>- Overrides:
visitMultExpin classcom.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.TweakFlowParserBaseVisitorVisit a parse tree produced by thepowExplabeled alternative inTweakFlowParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPowExpin interfacecom.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>- Overrides:
visitPowExpin classcom.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.TweakFlowParserBaseVisitorVisit a parse tree produced by thecontainerAccessExplabeled alternative inTweakFlowParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitContainerAccessExpin interfacecom.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>- Overrides:
visitContainerAccessExpin classcom.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.TweakFlowParserBaseVisitorVisit a parse tree produced by thenotEqualExplabeled alternative inTweakFlowParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNotEqualExpin interfacecom.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>- Overrides:
visitNotEqualExpin classcom.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.TweakFlowParserBaseVisitorVisit a parse tree produced by theboolNotExplabeled alternative inTweakFlowParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBoolNotExpin interfacecom.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>- Overrides:
visitBoolNotExpin classcom.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.TweakFlowParserBaseVisitorVisit a parse tree produced by thesubExplabeled alternative inTweakFlowParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSubExpin interfacecom.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>- Overrides:
visitSubExpin classcom.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.TweakFlowParserBaseVisitorVisit a parse tree produced by themodExplabeled alternative inTweakFlowParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitModExpin interfacecom.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>- Overrides:
visitModExpin classcom.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.TweakFlowParserBaseVisitorVisit a parse tree produced by thedivExplabeled alternative inTweakFlowParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDivExpin interfacecom.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>- Overrides:
visitDivExpin classcom.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.TweakFlowParserBaseVisitorVisit a parse tree produced by theintDivExplabeled alternative inTweakFlowParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIntDivExpin interfacecom.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>- Overrides:
visitIntDivExpin classcom.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.TweakFlowParserBaseVisitorVisit a parse tree produced by thethreadExplabeled alternative inTweakFlowParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitThreadExpin interfacecom.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>- Overrides:
visitThreadExpin classcom.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.TweakFlowParserBaseVisitorVisit a parse tree produced byTweakFlowParser.keyLiteral().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitKeyLiteralin interfacecom.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>- Overrides:
visitKeyLiteralin classcom.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.TweakFlowParserBaseVisitorVisit a parse tree produced by thecallExplabeled alternative inTweakFlowParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCallExpin interfacecom.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>- Overrides:
visitCallExpin classcom.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.TweakFlowParserBaseVisitorVisit a parse tree produced by thebinaryLiteralExplabeled alternative inTweakFlowParser.literal().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBinaryLiteralExpin interfacecom.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>- Overrides:
visitBinaryLiteralExpin classcom.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.TweakFlowParserBaseVisitorVisit a parse tree produced by thepartialExplabeled alternative inTweakFlowParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPartialExpin interfacecom.twineworks.tweakflow.grammar.TweakFlowParserVisitor<ExpressionNode>- Overrides:
visitPartialExpin classcom.twineworks.tweakflow.grammar.TweakFlowParserBaseVisitor<ExpressionNode>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-