Sha256: 84c24655ae000e22682ccd45418710e8613501a53d273ccf0441c6d44f019179
Contents?: true
Size: 640 Bytes
Versions: 28
Compression:
Stored size: 640 Bytes
Contents
grammar EbnfArguments include EbnfJavascript rule arguments first_argument:argument rest:(argument_separator argument)* <Arguments> / space* { def to_a [] end } end rule argument optional_argument / required_argument end rule argument_separator space* (&'[' / ',') end rule optional_argument "[" space* ","? required_argument default:(default_value?) nested:(optional_argument*) "]" <OptionalArgument> end rule default_value space* "=" space* value:[^\[\]]+ end rule required_argument space* (js_variable / js_object) '...'? space* <Argument> end end
Version data entries
28 entries across 28 versions & 2 rubygems