mirror of
https://github.com/danog/phpdoc-parser.git
synced 2024-12-02 09:28:02 +01:00
18 lines
291 B
Plaintext
18 lines
291 B
Plaintext
PhpDocParam
|
|
= AnnotationName Type IsReference? IsVariadic? ParameterName Description?
|
|
|
|
AnnotationName
|
|
= '@param'
|
|
|
|
IsReference
|
|
= '&'
|
|
|
|
IsVariaric
|
|
= '...'
|
|
|
|
ParameterName
|
|
= '$' [a-zA-Z_\127-\255][a-zA-Z0-9_\127-\255]*
|
|
|
|
Description
|
|
= .+ # TODO: exclude EOL or another PhpDocTag start
|