Package it.unive.lisa.type
Interface UnitType
-
- All Superinterfaces:
Type
public interface UnitType extends Type
Interface for types that are introduced by aCompilationUnit.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CompilationUnitgetUnit()Yields theCompilationUnitthat induces this type.-
Methods inherited from interface it.unive.lisa.type.Type
allInstances, asArrayType, asBooleanType, asNullType, asNumericType, asPointerType, asStringType, asTypeTokenType, asUnitType, asUntyped, asVoidType, canBeAssignedTo, commonSupertype, isArrayType, isBooleanType, isNullType, isNumericType, isPointerType, isStringType, isTypeTokenType, isUnitType, isUntyped, isVoidType
-
-
-
-
Method Detail
-
getUnit
CompilationUnit getUnit()
Yields theCompilationUnitthat induces this type.- Returns:
- the unit
-
-