ANTAREX API

Clava API

LARA API

LARA Common Language API

(.js)
laraImport("antarex.precision.rewTypes");

(.lara)
import antarex.precision.rewTypes;

Aspects

rewCasts

Replace oldType by newType for the 'cast' operations


Inputs

oldType: any
newType: any

rewNewExpr

Replace oldType by newType for the 'new' operations


Inputs

oldType: any
newType: any

rewType

Visit the application (variables, prototypes, typedefs, class)
and substitute the type (oldType) by another one (newType).
oldType and newType are join points.


Inputs

oldType: any
newType: any

rewTypeClass

Replace oldType by newType in the fields of the classes
and structures of the application.


Inputs

oldType: any
newType: any

rewTypePrototype

Replace oldType by newType in the prototype of a function (fname).


Inputs

fname: any
oldType: any
newType: any

rewTypePrototypes

Replace oldType by newType in the functions.


Inputs

oldType: any
newType: any

rewTypeVars

Replace oldType by newType in the variable declaration,
including the parameters of the functions.


Inputs

oldType: any
newType: any

rewTypedefs

Replace oldType by newType in the typedefs


Inputs

oldType: any
newType: any