Class BoxArgumentDeclaration

java.lang.Object
ortus.boxlang.compiler.ast.BoxNode
ortus.boxlang.compiler.ast.BoxStatement
ortus.boxlang.compiler.ast.statement.BoxArgumentDeclaration
All Implemented Interfaces:
BoxVisitable

public class BoxArgumentDeclaration extends BoxStatement
AST Node representing a function/method argument definition
  • Constructor Details

    • BoxArgumentDeclaration

      public BoxArgumentDeclaration(Boolean required, String type, String name, BoxExpression defaultValue, List<BoxAnnotation> annotations, List<BoxDocumentationAnnotation> documentation, Position position, String sourceText)
      Creates the AST node
      Parameters:
      required - required parameter
      type - type parameter
      name - parameter name
      defaultValue - optional default value
      annotations - list of annotation
      documentation - list of annotation
      position - position of the statement in the source code
      sourceText - source code that originated the Node
  • Method Details