Свойство | Type | Description | |
---|---|---|---|
$filePos | |||
$line | |||
$text |
Méthode | Description | |
---|---|---|
__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 ( ) |
Méthode | Description | |
---|---|---|
getShortestWhitespacePrefixLen ( $str ) |
public __toString ( ) : string | ||
Résultat | string | The comment text (including comment delimiters like /*) |
public getFilePos ( ) : integer | ||
Résultat | integer | File offset |
public getReformattedText ( ) : mixed | string | ||
Résultat | mixed | string |