$text
$text :
__construct(string $text, integer $startLine = -1, integer $startFilePos = -1)
Constructs a comment node.
string | $text | Comment text (including comment delimiters like /*) |
integer | $startLine | Line number the comment started on |
integer | $startFilePos | File offset the comment started on |
getReformattedText() : mixed|string
Gets the reformatted comment text.
"Reformatted" here means that we try to clean up the whitespace at the starts of the lines. This is necessary because we receive the comments without trailing whitespace on the first line, but with trailing whitespace on all subsequent lines.