Logo Search packages:      
Sourcecode: yydebug version File versions  Download package

synchronized void jay::yydebug::yyAnimPanel::reduce ( int  from,
int  to,
int  rule,
String  text,
int  len 
) [inline]

rule completed, calling action.

Parameters:
from current state.
to state to be uncovered.
rule number of completed right-hand side.
text text of rule.
len number of symbols in rule.

Implements jay::yydebug::yyDebug.

Definition at line 218 of file yyAnimPanel.java.

References explain(), jay::yydebug::yyAnimPanel::Stack::pop(), and stack.

Referenced by jay::yydebug::yyAnim::reduce().

                                                         {
    explain("reduce ("+rule+"), uncover "+to+"\n("+rule+") "+ text);
    stack.pop(len);
    if (stackBreak)
      try {
      wait();
      } catch (InterruptedException ie) { }
  }


Generated by  Doxygen 1.6.0   Back to index