fireMismatchNot() public method

public fireMismatchNot ( char v, char c, int guessing ) : void
v char
c char
guessing int
return void
示例#1
0
        public override void  matchNot(int c)
        {
            char la_1 = LA(1);

            try
            {
                base.matchNot(c);
                eventSupport.fireMatchNot(la_1, Convert.ToChar(c), inputState.guessing);
            }
            catch (MismatchedCharException e)
            {
                if (inputState.guessing == 0)
                {
                    eventSupport.fireMismatchNot(la_1, Convert.ToChar(c), inputState.guessing);
                }
                throw e;
            }
        }