프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$filePos | |||
$line | |||
$text |
메소드 | 설명 | |
---|---|---|
__construct ( string $text, integer $startLine, integer $startFilePos ) | Constructs a comment node. | |
__toString ( ) : string | Gets the comment text. | |
getFilePos ( ) : integer | Gets the file offset the comment started on. | |
getLine ( ) : integer | Gets the line number the comment started on. | |
getReformattedText ( ) : mixed | string | Gets the reformatted comment text. | |
getText ( ) : string | Gets the comment text. | |
jsonSerialize ( ) |
메소드 | 설명 | |
---|---|---|
getShortestWhitespacePrefixLen ( $str ) |
public __toString ( ) : string | ||
리턴 | string | The comment text (including comment delimiters like /*) |
public getFilePos ( ) : integer | ||
리턴 | integer | File offset |
public getReformattedText ( ) : mixed | string | ||
리턴 | mixed | string |