Class ConstantDefinition

All Implemented Interfaces:
ASTLocusTag.ASTLocusTagProvider, AliasedSymbol, TypeComparator.AliasedSemanticSymbol, TypeComparator.SemanticEqualityOp

Represents a [native] constant expression, comprises the [native] expression, see getNativeExpr() and the optional ConstantDefinition.CNumber representation, see getNumber().

The representation of the equivalent java expression including the result type is covered by ConstantDefinition.JavaExpr, which can be computed via computeJavaExpr(Map).

This class and its sub-classes define and convert all native expressions to Java space.