java.lang.Object
de.grogra.xl.compiler.xl16u.semantics.XL16UAliasDefinition
-
Constructor Summary
ConstructorsConstructorDescriptionXL16UAliasDefinition(String name, XL16UNumericType numericType, XL16UPhysicalType underlyingType, XL16UUnit defaultPreferredUnit, XL16URangeInterval defaultRange) -
Method Summary
Modifier and TypeMethodDescriptioncast(XL16UValueContract source, XL16UUnit explicitPreferredUnit, XL16URangeInterval explicitRange) declare(XL16UUnit explicitPreferredUnit, XL16URangeInterval explicitRange) getName()booleanboolean
-
Constructor Details
-
XL16UAliasDefinition
public XL16UAliasDefinition(String name, XL16UNumericType numericType, XL16UPhysicalType underlyingType, XL16UUnit defaultPreferredUnit, XL16URangeInterval defaultRange)
-
-
Method Details
-
getName
-
getNumericType
-
getUnderlyingType
-
getDefaultPreferredUnit
-
hasDefaultPreferredUnit
public boolean hasDefaultPreferredUnit() -
getDefaultRange
-
hasDefaultRange
public boolean hasDefaultRange() -
declare
public XL16UValueContract declare(XL16UUnit explicitPreferredUnit, XL16URangeInterval explicitRange) throws XL16USemanticViolation - Throws:
XL16USemanticViolation
-
cast
public XL16UValueContract cast(XL16UValueContract source, XL16UUnit explicitPreferredUnit, XL16URangeInterval explicitRange) throws XL16USemanticViolation - Throws:
XL16USemanticViolation
-