Class ClassExpr

All Implemented Interfaces:
NodeWithRange<Node>, NodeWithTokenRange<Node>, NodeWithType<ClassExpr,Type>, Observable, Visitable, HasParentNode<Node>, Cloneable

public class ClassExpr extends Expression implements NodeWithType<ClassExpr,Type>
Defines an expression that accesses the class of a type.
Object.class
  • Field Details

    • type

      private Type type
  • Constructor Details

    • ClassExpr

      public ClassExpr()
    • ClassExpr

      public ClassExpr(Type type)
    • ClassExpr

      public ClassExpr(TokenRange tokenRange, Type type)
      This constructor is used by the parser and is considered private.
  • Method Details