Méthode |
Description |
|
__construct ( array $attributes = [] ) |
Creates a Node. |
|
getAttribute ( $key, $default = null ) |
|
|
getAttributes ( ) |
|
|
getDocComment ( ) : null | Comment\Doc |
Gets the doc comment of the node. |
|
getLine ( ) : integer |
Gets line the node started in. |
|
getType ( ) : string |
Gets the type of the node. |
|
hasAttribute ( $key ) |
|
|
jsonSerialize ( ) |
|
|
setAttribute ( $key, $value ) |
|
|
setDocComment ( Comment\Doc $docComment ) |
Sets the doc comment of the node. |
|
setLine ( integer $line ) |
Sets line the node started in. |
|