addFunction method
Implementation
void addFunction(ASTFunctionDeclaration f) {
var name = f.name;
f.parentBlock = this;
var set = _functions[name];
if (set == null) {
_functions[name] = ASTFunctionSetSingle(f);
} else {
var set2 = set.add(f);
if (!identical(set, set2)) {
_functions[name] = set2;
}
}
}