public int popMode() {if ( _modeStack.isEmpty() ) throw new EmptyStackException();if ( LexerATNSimulator.debug ) System.out.println("popMode back to "+ _modeStack.peek());mode( _modeStack.pop() );return _mode;}

public virtual int PopMode(){if (_modeStack.Count == 0){throw new InvalidOperationException();}int mode = _modeStack.Pop();Mode(mode);return _mode;}
