Type Alias ConversionModeForSpecification

ConversionModeForSpecification: "IMPLICIT_EXPLICIT" | "EXPLICIT"

Describes the possible conversion modes.

IMPLICIT means coercion, e.g. in "3 + 'three'" the int value 3 is implicitly converted to the string value '3'. By default, this relation is transitive (this could be configured). Cycles are not allowed for this relation.

EXPLICIT means casting, e.g. in "myValue as MyType" the value stored in the variable myValue is explicitly casted to MyType. By default, this relation is not transitive (this could be configured). Cycles are allowed for this relation.

Type declaration

  • "IMPLICIT_EXPLICIT"

    The conversion is implicitly possible. In this case, the explicit conversion is possible as well (IMPLICIT => EXPLICIT).

  • "EXPLICIT"

    The conversion is only explicitly possible