if (name.equals(parent.getName())) {
error(location, "Static methods may not used as constructors");
}
FunctionStatement function = new FunctionStatement(location, parent, context, is_synchronized, name, document, parameters);
function.setParentStatement(flowPeek());
if (target.lookupDeclaration(name) == null) {
parent.declare(function);
if (context != null) {
context.declare(name, function);
}
} else {