2010-12-29 6 views
0

誰かがこれらの配列の意味を説明できますか?どのようにスマートなコンパイルを理解しようとする

$yy_action 

$yy_lookahead 

$yy_shift_ofst 

$yy_reduce_ofst 

$yyExpectedTokens 

$yy_default 

$yyRuleInfo 

$yyReduceMap 

UPDATE

以下は何を意味するのでしょうか?

** Suppose the action integer is N. Then the action is determined as 
** follows 
** 
** 0 <= N < self::YYNSTATE        Shift N. That is, 
**              push the lookahead 
**              token onto the stack 
**              and goto state N. 
** 
** self::YYNSTATE <= N < self::YYNSTATE+self::YYNRULE Reduce by rule N-YYNSTATE. 
** 
** N == self::YYNSTATE+self::YYNRULE     A syntax error has occurred. 
** 
** N == self::YYNSTATE+self::YYNRULE+1     The parser accepts its 
**              input. (and concludes parsing) 
** 
** N == self::YYNSTATE+self::YYNRULE+2     No such action. Denotes unused 
**              slots in the yy_action[] table. 

答えて

関連する問題