- All Known Subinterfaces:
AddressValue,ArrayElementReference,ArrayValue,CastValue,CharacterValue,ComplexFloatingValue,CompoundValue,FloatingValue,FunctionReference,IntegerValue,MemberReference,OperatorValue,RealFloatingValue,StringValue,StructureValue,TypeValue,UnionValue,VariableReference
public interface Value
-
Method Details
-
getType
Type getType()Returns the type of this value.- Returns:
- the type of this value
-
isScalar
boolean isScalar()A scalar value is a value of scalar type or a value of union type for which the single union member is scalar.- Returns:
trueiff the type of this value is a scalar type
-
isZero
ValueFactory.Answer isZero()Is this value zero? Can only be asked of scalar values.- Returns:
trueif this is zero
-