Chris@13: Comment changes Chris@13: ----- Chris@13: setAttribute('comments', []); Chris@13: ----- Chris@13: getComments(); Chris@13: $comments[] = new Comment("// foo"); Chris@13: $stmts[1]->setAttribute('comments', $comments); Chris@13: ----- Chris@13: stmts[0]; Chris@13: $method->setAttribute('comments', [new Comment\Doc("/**\n *\n */")]); Chris@13: ----- Chris@13: