Class OpenDSLFunction

java.lang.Object
org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
com.walkfares.odsl.grammar.OpenDSLBaseVisitor<Var>
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
  • Constructor Details

  • Method Details

    • visitStart

      public Var visitStart​(com.walkfares.odsl.grammar.OpenDSLParser.StartContext ctx)
      Description copied from class: com.walkfares.odsl.grammar.OpenDSLBaseVisitor
      Visit a parse tree produced by OpenDSLParser.start().

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

      Specified by:
      visitStart in interface com.walkfares.odsl.grammar.OpenDSLVisitor<Var>
      Overrides:
      visitStart in class com.walkfares.odsl.grammar.OpenDSLBaseVisitor<Var>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitFunction

      public Var visitFunction​(com.walkfares.odsl.grammar.OpenDSLParser.FunctionContext ctx)
      Description copied from class: com.walkfares.odsl.grammar.OpenDSLBaseVisitor
      Visit a parse tree produced by OpenDSLParser.function().

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

      Specified by:
      visitFunction in interface com.walkfares.odsl.grammar.OpenDSLVisitor<Var>
      Overrides:
      visitFunction in class com.walkfares.odsl.grammar.OpenDSLBaseVisitor<Var>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitFunctionbody

      public Var visitFunctionbody​(com.walkfares.odsl.grammar.OpenDSLParser.FunctionbodyContext ctx)
      Description copied from class: com.walkfares.odsl.grammar.OpenDSLBaseVisitor
      Visit a parse tree produced by OpenDSLParser.functionbody().

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

      Specified by:
      visitFunctionbody in interface com.walkfares.odsl.grammar.OpenDSLVisitor<Var>
      Overrides:
      visitFunctionbody in class com.walkfares.odsl.grammar.OpenDSLBaseVisitor<Var>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result