AssignmentConversion

File AssignmentConversion.str
Author Martin Bravenboer <martin@cs.uu.nl>
Since unknown

5.2: Assignment Conversion




Statistics


General
Lines of code 94
Stratego
Module number 1 (100% documented)
Constructor number 1 (0% documented)
Overlay number 0
Strategy number 6 (100% documented)
Rule number 0
DynamicRule number 0



Constructor summary


AssignmentConversion(ATerm ) n/a AssignmentConversion.str

Strategy summary


assignment-conversion(ATerm to) n/a AssignmentConversion.str
is-assignment-convertable(ATerm to) Checks if the current type is assignment convertable to type to AssignmentConversion.str
optional-widening-primitive-conversion(ATerm to) n/a AssignmentConversion.str
optional-widening-reference-conversion(ATerm to) n/a AssignmentConversion.str
result-of-conversion Returns the result type of this assignment conversion AssignmentConversion.str
types-of-conversion Returns the types involved in this assignment conversion AssignmentConversion.str



Strategy details


ATerm assignment-conversion(ATerm to)
File AssignmentConversion.str
Author unknown
Since unknown
 

No information available.


type Type -> AssignmentConversion

 
ATerm is-assignment-convertable(ATerm to)
File AssignmentConversion.str
Author unknown
Since unknown
 
Parameters
ATerm to Type

Checks if the current type is assignment convertable to type to.


todo Additional conversion rules for constant expressions (5.2)
todo Optimize conversion to Object?
type Type -> Type

 
ATerm optional-widening-primitive-conversion(ATerm to)
File AssignmentConversion.str
Author unknown
Since unknown
 

No information available.


type Conversion -> List(Conversion)

 
ATerm optional-widening-reference-conversion(ATerm to)
File AssignmentConversion.str
Author unknown
Since unknown
 

No information available.


type Conversion -> List(Conversion)

 
ATerm result-of-conversion
File AssignmentConversion.str
Author unknown
Since unknown
 

Returns the result type of this assignment conversion.


type Conversion -> Type

 
ATerm types-of-conversion
File AssignmentConversion.str
Author unknown
Since unknown
 

Returns the types involved in this assignment conversion.


type Conversion -> List(Type)