phpdoc-parser/doc/grammars/phpdoc-param.peg

12 lines
223 B
Plaintext

PhpDocParam
= AnnotationName Type ParameterName Description?
AnnotationName
= '@param'
ParameterName
= '$' [a-zA-Z_\127-\255][a-zA-Z0-9_\127-\255]*
Description
= .+ # TODO: exclude EOL or another PhpDocTag start