; Backus-Naur Form Grammar for a Semantic Version reference ; A reference is an optional context and an "@"-separated version or range. ; https://semver.xyz/grammar/#references ::= | "@" ::= | "@" ::= | ":" ::= ::= "" | ::= | | "-" ::= | "@" ; scoped, e.g. @scope/pkg ::= | "/" ::= | ::= | | "-" | "." | "_" ; is defined in VERSION.bnf ; is defined in RANGE.bnf ; A version core and a range body never contain "@", and a context never ; contains whitespace, so the context ends at the last "@" of the first ; whitespace-delimited token. ::= "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z"