Parser data

Parser data contains:
The parsing table is the main information use by parser, the other information are for logging.
see the parser data class.

State 0 is the starting state, corresponding the wait of START non terminal recognition.
For each state is defined:
For each non terminal give the match manager class name.
For the grammar below generate the following parser data in html form ( see parser data to html tool )

Start : PrimaryStm
      | CatStm
      ;

PrimaryStm : GrammarSymbol
           ;

CatStm : PrimaryStm PrimaryStm
       ;

GrammarSymbol : ws Id
              ;

ws : Empty
     | Space
     ;

Space : ' ' ;

Id  : [_a-zA-z]        { MatchChar }
    | Id [_a-zA-z0-9]  { MatchIdAfterFirst }
    ;                  { MatchId }




© 2008-2009, parser4j