assigns the comment to the node . concode_field_sep ASTModificationStore fModificationStore concode_elem_sep ASTModification fParentMod concode_elem_sep NodeCommentMap fCommentMap concode_elem_sep IASTNode fRoot concode_field_sep Change rewriteAST concode_elem_sep IASTNode createLiteralNode concode_elem_sep void checkBelongsToAST concode_elem_sep ASTRewrite replace concode_elem_sep List<IASTComment> getComments concode_elem_sep ASTRewrite create concode_elem_sep void remove concode_elem_sep void checkSupportedNode concode_elem_sep ASTRewrite insertBefore
void function ( IASTNode arg0 , IASTComment arg1 , CommentPosition arg2 ) { switch ( arg2 ) { case leading : fCommentMap . addLeadingCommentToNode ( arg0 , arg1 ) ; break ; case trailing : fCommentMap . addTrailingCommentToNode ( arg0 , arg1 ) ; break ; case freestanding : fCommentMap . addFreestandingCommentToNode ( arg0 , arg1 ) ; break ; } }