void DeclaratorAST::addPtrOp( AST::Node& ptrOp ) { if( !ptrOp.get() ) return; ptrOp->setParent( this ); m_ptrOpList.append( ptrOp.release() ); }
void DeclaratorAST::addArrayDimension( AST::Node& arrayDimension ) { if( !arrayDimension.get() ) return; arrayDimension->setParent( this ); m_arrayDimensionList.append( arrayDimension.release() ); }
void AccessDeclarationAST::addAccess( AST::Node& access ) { if( !access.get() ) return; access->setParent( this ); m_accessList.append( access.release() ); }
void TemplateArgumentListAST::addArgument( AST::Node& arg ) { if( !arg.get() ) return; arg->setParent( this ); m_argumentList.append( arg.release() ); }
void GroupAST::addNode( AST::Node& node ) { if( !node.get() ) return; node->setParent( this ); m_nodeList.append( node.release() ); }