Class BoxParam

All Implemented Interfaces:
BoxVisitable

public class BoxParam extends BoxStatement
AST Node representing a param whose syntax won't fit in the generic component node This is usually for the script syntax that uses an FQN for the variable name
  • Constructor Details

    • BoxParam

      public BoxParam(BoxExpression variable, BoxExpression type, BoxExpression defaultValue, Position position, String sourceText)
      Creates the AST node
      Parameters:
      variable - The variable to be paramed
      type - The type of the variable
      defaultValue - The default value of the variable
      position - position of the statement in the source code
      sourceText - source code that originated the Node
  • Method Details