Class Exps

java.lang.Object
pascal.taie.ir.exp.Exps

public final class Exps extends Object
Provides static utility methods for Exp.
  • Method Details

    • holdsPrimitive

      public static boolean holdsPrimitive(Exp exp)
      Returns:
      true if exp can hold primitive values.
    • holdsInt

      public static boolean holdsInt(Exp exp)
      Returns:
      true if exp can hold int values. Note that expressions of some primitive types other than int, whose computational type is int, can also hold int values.
      See Also:
    • holdsLong

      public static boolean holdsLong(Exp exp)
      Returns:
      true if exp can hold long values.
    • holdsInteger

      public static boolean holdsInteger(Exp exp)
      Returns:
      true if exp can hold int or long values.
    • holdsReference

      public static boolean holdsReference(Exp exp)
      Returns:
      true if exp can hold reference values.