mirror of
https://github.com/danog/PHP-Parser.git
synced 2024-11-27 04:14:44 +01:00
Document getDocComment and getLine
This commit is contained in:
parent
962c4dc0f0
commit
06fcef9090
@ -61,6 +61,10 @@ Subnodes are accessed as normal properties:
|
||||
The subnodes which a certain node can have are documented as `@property` doccomments in the
|
||||
respective files.
|
||||
|
||||
Additionally all nodes have two methods, `getLine()` and `getDocComment()`.
|
||||
`getLine()` returns the line a node started in.
|
||||
`getDocComment()` returns the doccomment before the node or `null` if there was none.
|
||||
|
||||
NodeDumper
|
||||
----------
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user