Antlr.Runtime.BaseRecognizer.RecoverFromMismatchedSet C# (CSharp) Метод

RecoverFromMismatchedSet() публичный Метод

public RecoverFromMismatchedSet ( IIntStream input, RecognitionException e, BitSet follow ) : object
input IIntStream
e RecognitionException
follow BitSet
Результат object
        public virtual object RecoverFromMismatchedSet( IIntStream input,
                                               RecognitionException e,
                                               BitSet follow )
        {
            if ( MismatchIsMissingToken( input, follow ) )
            {
                // System.out.println("missing token");
                ReportError( e );
                // we don't know how to conjure up a token for sets yet
                return GetMissingSymbol( input, e, TokenTypes.Invalid, follow );
            }
            // TODO do single token deletion like above for Token mismatch
            throw e;
        }