Package hydra
Interface Reflect
-
public interface ReflectReflection functions for working with term, type, and literal type variants, as well as numeric precision.
-
-
Method Summary
Static Methods Modifier and Type Method Description static PrecisionfloatTypePrecision(FloatType v1)Find the precision of a given floating-point typestatic java.util.List<FloatType>floatTypes()All floating-point types in a canonical orderstatic FloatTypefloatValueType(FloatValue v1)Find the float type for a given floating-point valuestatic java.lang.BooleanintegerTypeIsSigned(IntegerType v1)Find whether a given integer type is signed (true) or unsigned (false)static PrecisionintegerTypePrecision(IntegerType v1)Find the precision of a given integer typestatic java.util.List<IntegerType>integerTypes()All integer types, in a canonical orderstatic IntegerTypeintegerValueType(IntegerValue v1)Find the integer type for a given integer valuestatic LiteralTypeliteralType(Literal v1)Find the literal type for a given literal valuestatic java.util.List<LiteralType>literalTypes()All literal types, in a canonical orderstatic LiteralVariantliteralTypeVariant(LiteralType v1)Find the literal type inject (constructor) for a given literal valuestatic LiteralVariantliteralVariant(Literal arg_)Find the literal inject (constructor) for a given literal valuestatic java.util.List<LiteralVariant>literalVariants()All literal variants, in a canonical orderstatic TermVarianttermVariant(Term v1)Find the term inject (constructor) for a given termstatic java.util.List<TermVariant>termVariants()All term (expression) variants, in a canonical orderstatic TypeVarianttypeVariant(Type v1)Find the type inject (constructor) for a given typestatic java.util.List<TypeVariant>typeVariants()All type variants, in a canonical order
-
-
-
Method Detail
-
floatTypePrecision
static Precision floatTypePrecision(FloatType v1)
Find the precision of a given floating-point type
-
floatTypes
static java.util.List<FloatType> floatTypes()
All floating-point types in a canonical order
-
floatValueType
static FloatType floatValueType(FloatValue v1)
Find the float type for a given floating-point value
-
integerTypeIsSigned
static java.lang.Boolean integerTypeIsSigned(IntegerType v1)
Find whether a given integer type is signed (true) or unsigned (false)
-
integerTypePrecision
static Precision integerTypePrecision(IntegerType v1)
Find the precision of a given integer type
-
integerTypes
static java.util.List<IntegerType> integerTypes()
All integer types, in a canonical order
-
integerValueType
static IntegerType integerValueType(IntegerValue v1)
Find the integer type for a given integer value
-
literalType
static LiteralType literalType(Literal v1)
Find the literal type for a given literal value
-
literalTypeVariant
static LiteralVariant literalTypeVariant(LiteralType v1)
Find the literal type inject (constructor) for a given literal value
-
literalTypes
static java.util.List<LiteralType> literalTypes()
All literal types, in a canonical order
-
literalVariant
static LiteralVariant literalVariant(Literal arg_)
Find the literal inject (constructor) for a given literal value
-
literalVariants
static java.util.List<LiteralVariant> literalVariants()
All literal variants, in a canonical order
-
termVariant
static TermVariant termVariant(Term v1)
Find the term inject (constructor) for a given term
-
termVariants
static java.util.List<TermVariant> termVariants()
All term (expression) variants, in a canonical order
-
typeVariant
static TypeVariant typeVariant(Type v1)
Find the type inject (constructor) for a given type
-
typeVariants
static java.util.List<TypeVariant> typeVariants()
All type variants, in a canonical order
-
-