- All Superinterfaces:
Conversion
Any pointer type can be explicitly cast to the boolean type: if the pointer
is NULL, it maps to the boolean value
false, else it maps to
true.-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.civl.abc.ast.conversion.IF.Conversion
Conversion.ConversionKind -
Method Summary
Modifier and TypeMethodDescriptionThe boolean type_Bool.Any pointer type.Methods inherited from interface dev.civl.abc.ast.conversion.IF.Conversion
conversionKind
-
Method Details
-
getOldType
PointerType getOldType()Any pointer type.- Specified by:
getOldTypein interfaceConversion- Returns:
- the pre-conversion type
-
getNewType
StandardUnsignedIntegerType getNewType()The boolean type_Bool.- Specified by:
getNewTypein interfaceConversion- Returns:
- the post-conversion type
-