"Fossies" - the Fresh Open Source Software Archive

Member "Atom/resources/app/apm/node_modules/semver/range.bnf" (7 Feb 2017, 629 Bytes) of archive /windows/misc/atom-windows.zip:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Backus-Naur Form source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 range-set  ::= range ( logical-or range ) *
    2 logical-or ::= ( ' ' ) * '||' ( ' ' ) *
    3 range      ::= hyphen | simple ( ' ' simple ) * | ''
    4 hyphen     ::= partial ' - ' partial
    5 simple     ::= primitive | partial | tilde | caret
    6 primitive  ::= ( '<' | '>' | '>=' | '<=' | '=' | ) partial
    7 partial    ::= xr ( '.' xr ( '.' xr qualifier ? )? )?
    8 xr         ::= 'x' | 'X' | '*' | nr
    9 nr         ::= '0' | ['1'-'9'] ( ['0'-'9'] ) *
   10 tilde      ::= '~' partial
   11 caret      ::= '^' partial
   12 qualifier  ::= ( '-' pre )? ( '+' build )?
   13 pre        ::= parts
   14 build      ::= parts
   15 parts      ::= part ( '.' part ) *
   16 part       ::= nr | [-0-9A-Za-z]+