Class NullConstant


  • public class NullConstant
    extends Constant
    A Constant that represent the null value.
    • Constructor Detail

      • NullConstant

        public NullConstant​(CodeLocation location)
        Builds a null constant.
        Parameters:
        location - the location where the expression is defined within the program
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class Constant
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class Constant