Class BoxStaticAccess

All Implemented Interfaces:
BoxVisitable

public class BoxStaticAccess extends BoxAccess
AST Node representing access of static members like: object::property
  • Constructor Details

    • BoxStaticAccess

      public BoxStaticAccess(BoxExpression context, Boolean safe, BoxExpression access, Position position, String sourceText)
      Creates the AST node
      Parameters:
      context - expression representing the object
      safe - boolean save operation
      access - expression after the dot
      position - position of the statement in the source code
      sourceText - source code that originated the Node
  • Method Details

    • accept

      public void accept(VoidBoxVisitor v)
      Description copied from interface: BoxVisitable
      Accept method for visitor support.
      Parameters:
      v - the visitor implementation
    • accept

      public BoxNode accept(ReplacingBoxVisitor v)
      Description copied from interface: BoxVisitable
      Accept method for replacing visitor support. Each accept returns the node, or a replacement node.
      Parameters:
      v - the visitor implementation