Interface UnionValue

All Superinterfaces:
CompoundValue, Value

public interface UnionValue extends CompoundValue
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the field of the union to which this value belongs, since a union can only hold the value of one of its fieldsl
     
    Returns the type of this value.

    Methods inherited from interface edu.udel.cis.vsl.abc.ast.value.IF.Value

    isScalar, isZero
  • Method Details

    • getField

      Field getField()
      Returns the field of the union to which this value belongs, since a union can only hold the value of one of its fieldsl
      Returns:
      the field to which this value belongs
    • getMemberValue

      Value getMemberValue()
    • getType

      Description copied from interface: Value
      Returns the type of this value.
      Specified by:
      getType in interface Value
      Returns:
      the type of this value