All Implemented Interfaces:
BoxVisitable

public class BoxNew extends BoxExpression
AST Node representing new statement
  • Constructor Details

    • BoxNew

      public BoxNew(BoxIdentifier prefix, BoxExpression expression, List<BoxArgument> arguments, Position position, String sourceText)
      Creates the AST node
      Parameters:
      expression - expression representing the object to instantiate
      arguments - constructor arguments list
      position - position of the statement in the source code
      sourceText - source code that originated the Node
  • Method Details