phpdoc-parser/doc/grammars/phpdoc-param.peg
2017-11-13 13:12:08 +01:00

12 lines
224 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