public Type lookupMethod(String id) { Type methodReturn = tiposMetodos.lookup(id); if (methodReturn == null && parentClass != null) { methodReturn = parentClass.lookupMethod(id); } return methodReturn; }
public Type lookupVariable(String id) { Type field = simbolos.lookup(id); if (field == null && parentClass != null) { field = parentClass.lookupVariable(id); } return field; }