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

void jay::yydebug::yyAnimPanel::shift ( int  from,
int  to,
int  errorFlag 
) [inline]

moving to a new state because of input or error.

Parameters:
from current state.
to next state.
errorFlag value in next state.

Implements jay::yydebug::yyDebug.

Definition at line 158 of file yyAnimPanel.java.

References explain().

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

                                                      {
    switch (errorFlag) {
    default:                        // normally
      explain("shift to "+to);
      break;
    case 0: case 1: case 2:         // in error recovery
      explain("shift to "+to+", "+errorFlag+" left to recover");
      break;
    case 3:                   // normally
      explain("shift to "+to+" on error");
    }
  }


Generated by  Doxygen 1.6.0   Back to index