- All Superinterfaces:
Conversion
Represents a conversion from any arithmetic type to another arithmetic type
(not just the "usual arithmetic conversions"). See C11 Sec. 6.3.1.
-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.civl.abc.ast.conversion.IF.Conversion
Conversion.ConversionKind -
Method Summary
Modifier and TypeMethodDescriptionReturns the type of the entity after applying this conversion.Returns the type of the entity before applying this conversion.Methods inherited from interface dev.civl.abc.ast.conversion.IF.Conversion
conversionKind
-
Method Details
-
getOldType
ArithmeticType getOldType()Description copied from interface:ConversionReturns the type of the entity before applying this conversion.- Specified by:
getOldTypein interfaceConversion- Returns:
- the pre-conversion type
-
getNewType
ArithmeticType getNewType()Description copied from interface:ConversionReturns the type of the entity after applying this conversion.- Specified by:
getNewTypein interfaceConversion- Returns:
- the post-conversion type
-