Eagle Legacy Modernization, LLC

PHP Grammar

Main program: PHP_Program

 Count  Terminals:
12 PHP_EndOfFile: End of file
 Count  Statistics(*) Tokens:
    PHP_IfBlock: PHP_IfCondition PHP_Entry* PHP_IfElse PHP_Entry* PHP_EndIf
    |   PHP_EndIf: PHP_StartTag '}' PHP_EndTag
    |   PHP_IfCondition: PHP_StartTag Perl_Statement* "if" '(' Perl_Expression ')' '{' PHP_EndTag
    |   PHP_IfElse: PHP_StartTag '}' "else" '{' PHP_EndTag
1,124 14% 2.34 PHP_Program: [HTML_DocType] PHP_Entry*
1,967 all |   PHP_EndTag: "?>"
61,047 (97% | 3% | none) |   PHP_Entry: (HTML_Program | PHP_Section | PHP_IfBlock)
1,979 all all |   PHP_Section: PHP_StartTag PHP_Body
1,979 (1% | 99%) |   |   PHP_Body: (PHP_NoEnd | PHP_NormalEnd)
12 4.25 all |   |   |   PHP_NoEnd: PHP_Element* PHP_EndOfFile
1,967 3.69 all |   |   |   PHP_NormalEnd: PHP_Element* PHP_EndTag
7,318 (all) |   |   PHP_Element: (Perl_StatementOrComment)
1,979 all all |   PHP_StartTag: "<?" "php"

Terminals = 1 (instances=12)
Tokens = 13 (instances=79,372)

(*) 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.