Spaces:
Sleeping
Sleeping
File size: 485 Bytes
78f53a7 |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
root ::= (" "| "\n") grammar-models
grammar-models ::= category
category ::= "{" "\n" ws "\"flag\"" ":" ws category-flag "\n" ws "}"
category-flag ::= "\"safe\"" | "\"unsafe\""
boolean ::= "true" | "false"
null ::= "null"
string ::= "\"" (
[^"\\] |
"\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F])
)* "\"" ws
ws ::= ([ \t\n] ws)?
float ::= ("-"? ([0-9] | [1-9] [0-9]*)) ("." [0-9]+)? ([eE] [-+]? [0-9]+)? ws
integer ::= [0-9]+ |