Class LongLiteral

java.lang.Object
pascal.taie.ir.exp.LongLiteral
All Implemented Interfaces:
Serializable, Exp, IntegerLiteral, Literal, NumberLiteral, RValue

public class LongLiteral extends Object implements IntegerLiteral
Representation of long literals.
See Also:
  • Method Details

    • get

      public static LongLiteral get(long value)
    • getType

      public LongType getType()
      Specified by:
      getType in interface Exp
      Returns:
      type of this expression.
    • getValue

      public long getValue()
      Returns:
      the value of the literal as a long.
    • getNumber

      public Long getNumber()
      Specified by:
      getNumber in interface NumberLiteral
    • accept

      public <T> T accept(ExpVisitor<T> visitor)
      Specified by:
      accept in interface Exp
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object