Package com.walkfares.odsl
Class OpenDSLFunction
java.lang.Object
org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
com.walkfares.odsl.grammar.OpenDSLBaseVisitor<Var>
com.walkfares.odsl.OpenDSLVarVisitor
com.walkfares.odsl.OpenDSLControlVisitor
com.walkfares.odsl.OpenDSLFunction
- All Implemented Interfaces:
com.walkfares.odsl.grammar.OpenDSLVisitor<Var>
,org.antlr.v4.runtime.tree.ParseTreeVisitor<Var>
- Direct Known Subclasses:
OpenDSLWorkflow
public class OpenDSLFunction extends OpenDSLControlVisitor
-
Field Summary
-
Constructor Summary
Constructors Constructor Description OpenDSLFunction(OpenDSLContext context)
-
Method Summary
Modifier and Type Method Description Var
visitFunction(com.walkfares.odsl.grammar.OpenDSLParser.FunctionContext ctx)
Visit a parse tree produced byOpenDSLParser.function()
.Var
visitFunctionbody(com.walkfares.odsl.grammar.OpenDSLParser.FunctionbodyContext ctx)
Visit a parse tree produced byOpenDSLParser.functionbody()
.Var
visitStart(com.walkfares.odsl.grammar.OpenDSLParser.StartContext ctx)
Visit a parse tree produced byOpenDSLParser.start()
.Methods inherited from class com.walkfares.odsl.OpenDSLControlVisitor
visitCondition, visitForeach, visitForstmt, visitIfstmt, visitSingleLineIfExpression, visitSingleLineIfStatement, visitTransformFor, visitTransformIf, visitWhilestmt
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, 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, 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
-
visitStart
Description copied from class:com.walkfares.odsl.grammar.OpenDSLBaseVisitor
Visit a parse tree produced byOpenDSLParser.start()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
. -
visitFunction
Description copied from class:com.walkfares.odsl.grammar.OpenDSLBaseVisitor
Visit a parse tree produced byOpenDSLParser.function()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
. -
visitFunctionbody
Description copied from class:com.walkfares.odsl.grammar.OpenDSLBaseVisitor
Visit a parse tree produced byOpenDSLParser.functionbody()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.
-