Search in sources :

Example 1 with Using

use of ast.Expression.Using in project L42 by ElvisResearchGroup.

the class Desugar method visit.

public Expression visit(Using s) {
    Type aux = this.t;
    this.t = Type.immVoid;
    Parameters ps = liftPs(s.getPs());
    this.t = aux;
    return new Using(liftP(s.getPath()), s.getName(), s.getDocs(), ps, lift(s.getInner()));
}
Also used : Type(ast.Ast.Type) MethodWithType(ast.Expression.ClassB.MethodWithType) MethodType(ast.Ast.MethodType) Parameters(ast.Ast.Parameters) Using(ast.Expression.Using)

Aggregations

MethodType (ast.Ast.MethodType)1 Parameters (ast.Ast.Parameters)1 Type (ast.Ast.Type)1 MethodWithType (ast.Expression.ClassB.MethodWithType)1 Using (ast.Expression.Using)1