(.js)
laraImport("clava.ClavaType");
(.lara)
import clava.ClavaType;
ClavaType
Utility methods related with the type join points.
asExpression($expression, [isOptional = false])
Makes sure the given parameter is an expression join point.
asScope(code)
Makes sure the given parameter is a scope join point.
asStatement(code, [isOptional = false])
Makes sure the given parameter is a statement join point.
asType($type)
Makes sure the given parameter is a type join point.
getVarrefsInTypeCopy(type, varrefs, $type)
visitExprInTypeCopy(type, exprFunction, $type)