/** @see de.unika.ipd.grgen.ast.BaseNode#checkLocal() */ @Override protected boolean checkLocal() { boolean res = true; TypeNode type = getType(); int arity = OperatorSignature.getArity(opId); if (children.size() != arity) { reportError("Wrong operator arity: " + children.size()); res = false; } // Here the error must have been already reported if (type.isEqual(BasicTypeNode.errorType)) res = false; return res; }