tree-sitter-phpdoc
tree-sitter-phpdoc copied to clipboard
Full phpDoc support
The following items are known incomplete. They are recognized as tags, but the fields, types, optional fields, etc are not correct.
- [ ]
@subpackage - [ ]
@example - [ ] inline
@example - [ ]
@license - [ ]
@package - [ ]
@source - [ ]
@uses - [ ]
@link(also inline) - [ ]
@see - [ ]
*@tagis currently parsed as a tag (the leading * should not be included) - [ ] grouped types aren't supported at all (types, union types, array types are OK, but things like
(int|string)[]are not)- Atom's language-php includes a spec for
((Test|int)[]|Test\\Type[]|string[]|resource)[], which ... yuck - this might not be need to be so robust, though, as most examples seem to be more like
(int|false)
- Atom's language-php includes a spec for