Interface Value

All Known Subinterfaces:
AddressValue, ArrayElementReference, ArrayValue, CastValue, CharacterValue, ComplexValue, CompoundValue, FunctionReference, IntegerValue, MemberReference, OperatorValue, RealFloatingValue, StringValue, StructureValue, TypeValue, UnionValue, VariableReference

public interface Value
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the type of this value.
    boolean
    A scalar value is a value of scalar type or a value of union type for which the single union member is scalar.
    Is this value zero? Can only be asked of scalar values.
  • 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:
      true iff the type of this value is a scalar type
    • isZero

      Is this value zero? Can only be asked of scalar values.
      Returns:
      true if this is zero