Sha256: b010b7603b98479fe65cb500342b77332a89904131ddb25fcf368b2fa6dff7e4
Contents?: true
Size: 740 Bytes
Versions: 28
Compression:
Stored size: 740 Bytes
Contents
grammar ArgumentDescription include EbnfJavascript rule argument_description first:argument_description_first_line more:(argument_description_line)* <ArgumentDescription> end rule argument_description_first_line line space* '-' space+ argument_name arg_types:(space+ arguments_types)? ':' description:char+ end rule argument_description_line line space* first_char:(!'-' .) more_char:char+ { def to_s first_char.text_value << more_char.text_value end } end rule argument_name '@'? name:[a-zA-Z$]+ end rule arguments_types '(' space* argument_type more:(space+ '|' space+ argument_type)* space* ')' end rule argument_type js_namespace / '?' end end
Version data entries
28 entries across 28 versions & 2 rubygems