public class Type
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
duplicateWithDimension(FbasicType base,
FbasicType toUpdate,
XcodeML xcodemlSrc,
XcodeML xcodemlDst,
java.util.List<DimensionDefinition> dimensions)
Duplicates the type to update and add extra dimensions to match the base
type.
|
public static java.lang.String duplicateWithDimension(FbasicType base, FbasicType toUpdate, XcodeML xcodemlSrc, XcodeML xcodemlDst, java.util.List<DimensionDefinition> dimensions) throws IllegalTransformationException
base
- Base type.toUpdate
- Type to update.xcodemlSrc
- Source XcodeML unit. Contains base dimension.xcodemlDst
- Destination XcodeML unit. Duplicate will be created here.dimensions
- List of dimensions definitions to be used.IllegalTransformationException
- If action is not supported.