public string Visit(New_type node) { var ret = method.Add_local("expr", true); method.Add_Instruction(new CIL_Allocate(ret, node.type.s)); return(ret); }
public string Visit(New_type node) { var ret = method.Add_local("expr", true); method.Add_Instruction(new CIL_Allocate(ret, node.type.s)); method.Add_Instruction(new CIL_VCall(ret, node.type.s, "__init", new List <string> { ret })); return(ret); }
public bool Visit(New_type node) { return(true); }
public IType Visit(New_type node) { return(Context.GetType(node.type.s)); }
public bool Visit(New_type node) { return(Visit(node.type)); }
public bool Visit(New_type node) { throw new System.NotImplementedException(); }