public string Visit(AST_ListMethod node) { foreach (var item in node.Methods) { methodcontext.Reset(item.Id.Id); item?.Visit(this); } return(""); }
public bool Visit(AST_ListMethod node) { bool visit_result = true; foreach (var method_def in node.Methods) { visit_result &= method_def.Visit(this); } return(visit_result); }
public bool Visit(AST_ListMethod node) { bool solve = true; foreach (var item in node.Methods) { solve &= item.Visit(this); } return(solve); }
public bool Visit(AST_ListMethod node) { bool solve = true; HashSet <string> all_methods = new HashSet <string>(); foreach (var method in node.Methods) { if (!all_methods.Add(method.Id.Id)) { solve = false; CurrErrorLoger.LogError(method.Id.row, method.Id.col, "El metodo " + method.Id.Id + " ya esta definido en la clase"); } } return(solve); }
public Base_Object_Value Visit(AST_ListMethod node) { throw new NotImplementedException(); }