Class OpenDSLControlVisitor
- All Implemented Interfaces:
com.walkfares.odsl.grammar.OpenDSLVisitor<Var>
,org.antlr.v4.runtime.tree.ParseTreeVisitor<Var>
- Direct Known Subclasses:
OpenDSLFunction
public class OpenDSLControlVisitor extends OpenDSLVarVisitor
-
Field Summary
-
Constructor Summary
Constructors Constructor Description OpenDSLControlVisitor(OpenDSLContext context)
-
Method Summary
Modifier and Type Method Description Var
visitCondition(com.walkfares.odsl.grammar.OpenDSLParser.ConditionContext ctx)
Visit a parse tree produced byOpenDSLParser.condition()
.Var
visitForeach(com.walkfares.odsl.grammar.OpenDSLParser.ForeachContext ctx)
Visit a parse tree produced byOpenDSLParser.foreach()
.Var
visitForstmt(com.walkfares.odsl.grammar.OpenDSLParser.ForstmtContext ctx)
Visit a parse tree produced byOpenDSLParser.forstmt()
.Var
visitIfstmt(com.walkfares.odsl.grammar.OpenDSLParser.IfstmtContext ctx)
Visit a parse tree produced byOpenDSLParser.ifstmt()
.Var
visitSingleLineIfExpression(com.walkfares.odsl.grammar.OpenDSLParser.SingleLineIfExpressionContext ctx)
Visit a parse tree produced byOpenDSLParser.singleLineIfExpression()
.Var
visitSingleLineIfStatement(com.walkfares.odsl.grammar.OpenDSLParser.SingleLineIfStatementContext ctx)
Visit a parse tree produced byOpenDSLParser.singleLineIfStatement()
.Var
visitTransformFor(com.walkfares.odsl.grammar.OpenDSLParser.TransformForContext ctx)
Visit a parse tree produced byOpenDSLParser.transformFor()
.Var
visitTransformIf(com.walkfares.odsl.grammar.OpenDSLParser.TransformIfContext ctx)
Visit a parse tree produced byOpenDSLParser.transformIf()
.Var
visitWhilestmt(com.walkfares.odsl.grammar.OpenDSLParser.WhilestmtContext ctx)
Visit a parse tree produced byOpenDSLParser.whilestmt()
.Methods inherited from class com.walkfares.odsl.OpenDSLVarVisitor
addLogMessage, callFunction, changeModule, getContext, getCurrentLine, getProperty, getPropertyParent, getUDF, getUDF, getVarHelper, matches, newInstance, runWorkflow, save, setEOFEndsExecution, visitActivevar, visitAddingExpression, visitArray, visitArrayexpression, visitArrayindex, visitArrayinitialiser, visitAssign, visitAssignee, visitAvservice, visitConditionalExpression, visitDateexpression, visitDeclaredType, visitErrors, visitExponentExpression, visitExpression, visitExtractCheck, visitExtractClick, visitExtractFill, visitExtractParam, visitExtractSelect, visitFunctioncall, visitId, visitInteger, visitMethod, visitMethod, visitMethodbody, visitMultiplyExpression, visitNumber, visitPrint, visitProperty, visitRelationalExpression, visitRowexpression, visitScalarvar, visitSingularExpression, visitStatement, visitString, visitTagstmt, visitTf, visitUnevaluatedExpression, visitVariable, visitVersion
Methods inherited from class com.walkfares.odsl.grammar.OpenDSLBaseVisitor
visitAbort, visitAction, visitActionExit, visitActionInput, visitActionOutput, visitAddField, visitAggregate, visitAggregationOptions, visitAggregationPipeline, visitArraycondition, visitArrayindex, visitBucketOutput, visitComment, visitControl, visitCreateIndex, visitDate, visitDelete, visitDeleteBulk, visitDynamicname, visitErrorText, visitExpressionOrCondition, visitExtract, visitExtractor, visitFacetItem, visitFail, visitFind, visitFoldingrange, visitFunction, visitFunctionbody, visitFunctionparam, visitGranularity, visitGroupAssign, visitImportscript, visitIndexcollation, visitIndexcollationitem, visitIndexfield, visitIndexoptions, visitIndexpartial, visitIndexttl, visitJsonElement, visitJsonObject, visitLink, visitLinkType, visitLog, visitLogout, visitMlVarname, visitNl, visitObjectDeclaration, visitObjectDefinition, visitPhase, visitPipelineAddFields, visitPipelineBucket, visitPipelineBucketauto, visitPipelineCount, visitPipelineDocuments, visitPipelineFacet, visitPipelineGeoNear, visitPipelineGraphLookup, visitPipelineGroup, visitPipelineItem, visitPipelineLimit, visitPipelineLookup, visitPipelineMatch, visitPipelineMerge, visitPipelineOperator, visitPipelineOut, visitPipelineProject, visitPipelineRedact, visitPipelineReplaceRoot, visitPipelineReplaceWith, visitPipelineSample, visitPipelineSkip, visitPipelineSort, visitPipelineSortByCount, visitPipelineUnwind, visitPprojectField, visitPrint, visitProject, visitProjectField, visitPublicvar, visitPublish, visitQualityCheck, visitQualityCheckProfile, visitQualityCheckProfileParams, visitQualityCheckWithChecks, visitRename, visitReschedule, visitReturnstmt, visitRun, visitSave, visitSend, visitSendmail, visitSet, visitSortItem, visitStart, visitThrowerror, visitTransform, visitTransformClear, visitTransformCreate, visitTransformer, visitTransformIgnore, visitTransformOptions, visitTransformUnique, visitTrigger, visitTypeBucket, visitTypeConstraint, visitTypeDeclaration, visitTypeDefinition, visitTypeEditor, visitTypeExpression, visitTypeMethod, visitTypeMethodParams, visitTypeProperty, visitTypeSmartData, visitUpdateBulk, visitUpdateOperator, visitUpdateOperatorParam, visitUse, visitVarname, visitWaitcmd, visitWorkflow, visitWorkflowAction, visitWorkflowBody, visitWorkflowEvent, visitWorkflowGateway, visitWorkflowStart, visitWorkflowTransition, visitWorkflowWorkflow
Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
visit, visitChildren, visitErrorNode, visitTerminal
-
Constructor Details
-
Method Details
-
visitForstmt
Description copied from class:com.walkfares.odsl.grammar.OpenDSLBaseVisitor
Visit a parse tree produced byOpenDSLParser.forstmt()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
. -
visitForeach
Description copied from class:com.walkfares.odsl.grammar.OpenDSLBaseVisitor
Visit a parse tree produced byOpenDSLParser.foreach()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
. -
visitSingleLineIfStatement
public Var visitSingleLineIfStatement(com.walkfares.odsl.grammar.OpenDSLParser.SingleLineIfStatementContext ctx)Description copied from class:com.walkfares.odsl.grammar.OpenDSLBaseVisitor
Visit a parse tree produced byOpenDSLParser.singleLineIfStatement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
. -
visitSingleLineIfExpression
public Var visitSingleLineIfExpression(com.walkfares.odsl.grammar.OpenDSLParser.SingleLineIfExpressionContext ctx)Description copied from class:com.walkfares.odsl.grammar.OpenDSLBaseVisitor
Visit a parse tree produced byOpenDSLParser.singleLineIfExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
. -
visitIfstmt
Description copied from class:com.walkfares.odsl.grammar.OpenDSLBaseVisitor
Visit a parse tree produced byOpenDSLParser.ifstmt()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
. -
visitTransformFor
Description copied from class:com.walkfares.odsl.grammar.OpenDSLBaseVisitor
Visit a parse tree produced byOpenDSLParser.transformFor()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
. -
visitTransformIf
Description copied from class:com.walkfares.odsl.grammar.OpenDSLBaseVisitor
Visit a parse tree produced byOpenDSLParser.transformIf()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
. -
visitCondition
Description copied from class:com.walkfares.odsl.grammar.OpenDSLBaseVisitor
Visit a parse tree produced byOpenDSLParser.condition()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
. -
visitWhilestmt
Description copied from class:com.walkfares.odsl.grammar.OpenDSLBaseVisitor
Visit a parse tree produced byOpenDSLParser.whilestmt()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.
-