fireMatch() public method

public fireMatch ( char c, antlr.collections.impl.BitSet b, int guessing ) : void
c char
b antlr.collections.impl.BitSet
guessing int
return void
Exemplo n.º 1
0
        public override void  match(int c)
        {
            char la_1 = LA(1);

            try
            {
                base.match(c);
                eventSupport.fireMatch(Convert.ToChar(c), inputState.guessing);
            }
            catch (MismatchedCharException e)
            {
                if (inputState.guessing == 0)
                {
                    eventSupport.fireMismatch(la_1, Convert.ToChar(c), inputState.guessing);
                }
                throw e;
            }
        }