Package pascal.taie.ir.exp
Class Exps
java.lang.Object
pascal.taie.ir.exp.Exps
Provides static utility methods for
Exp
.-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
static boolean
holdsInteger
(Exp exp) static boolean
static boolean
holdsPrimitive
(Exp exp) static boolean
holdsReference
(Exp exp)
-
Method Details
-
holdsPrimitive
- Returns:
true
ifexp
can hold primitive values.
-
holdsInt
- Returns:
true
ifexp
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
- Returns:
true
ifexp
can hold long values.
-
holdsInteger
- Returns:
true
ifexp
can hold int or long values.
-
holdsReference
- Returns:
true
ifexp
can hold reference values.
-