protected ASTNoptrnewdeclarator( /* generated by template ast.ConstructorParametersDeclaration*/ cpp14._ast.ASTExpression expression, cpp14._ast.ASTNoptrnewdeclarator noptrnewdeclarator, String leftBracketL, cpp14._ast.ASTConstantexpression constantexpression, String rightBracketL, cpp14._ast.ASTAttributespecifierseq attributespecifierseq) /* generated by template ast.ConstructorAttributesSetter*/ { setExpression(expression); setNoptrnewdeclarator(noptrnewdeclarator); setLeftBracketL(leftBracketL); setConstantexpression(constantexpression); setRightBracketL(rightBracketL); setAttributespecifierseq(attributespecifierseq); }
public void remove_Child(de.monticore.ast.ASTNode child) { /* generated by template ast.ErrorIfNull*/ Log.errorIfNull(child, "0xA7006_285 Parameter 'child' must not be null."); /* generated by template ast.additionalmethods.RemoveChild*/ if (getExpression().isPresent() && getExpression().get() == child) { setExpression(null); } if (getNoptrnewdeclarator().isPresent() && getNoptrnewdeclarator().get() == child) { setNoptrnewdeclarator(null); } if (getConstantexpression().isPresent() && getConstantexpression().get() == child) { setConstantexpression(null); } if (getAttributespecifierseq().isPresent() && getAttributespecifierseq().get() == child) { setAttributespecifierseq(null); } }