Eagle Legacy Modernization, LLC

JSON Grammar

Main program: JSON_Program

 Count  Terminals:
5,412 JSON_Literal: A string enclosed in quotes
273 JSON_Number: A number
 Count  Statistics(*) Tokens:
1,062 all 4.40(all) all JSON_Dictionary: '{' [JSON_DictEntry]* '}'
2,869 all all all |   JSON_DictEntry: JSON_Literal ':' JSON_Element
20 all 114.20(all) all JSON_Object: '[' [JSON_Element]* ']'
2 1.00 JSON_Program: JSON_Element*
4,023 (63% | 7% | 0% | 26% | 3%) |   JSON_Element: (JSON_Literal | JSON_Number | JSON_Object | JSON_Dictionary | ("null"|"true"|"false"))

Terminals = 2 (instances=5,685)
Tokens = 5 (instances=7,976)

(*) Statistics are shown in the same order as the Tokens.
Percentages are rounded; 'all' and 'none' mean 100% and 0% before rounding.
For lists, it shows the average number of occurrences, excluding empty lists.