ES3Parser.DFA57_SpecialStateTransition C# (CSharp) Method

DFA57_SpecialStateTransition() protected method

protected DFA57_SpecialStateTransition ( Antlr.Runtime.DFA dfa, int s, IIntStream _input ) : int
dfa Antlr.Runtime.DFA
s int
_input IIntStream
return int
    protected internal int DFA57_SpecialStateTransition(DFA dfa, int s, IIntStream _input) //throws NoViableAltException
    {
            ITokenStream input = (ITokenStream)_input;
    	int _s = s;
        switch ( s )
        {
               	case 0 : 
                   	int LA57_1 = input.LA(1);

                   	 
                   	int index57_1 = input.Index();
                   	input.Rewind();
                   	s = -1;
                   	if ( (( input.LA(1) == LBRACE )) ) { s = 38; }

                   	else if ( (true) ) { s = 3; }

                   	 
                   	input.Seek(index57_1);
                   	if ( s >= 0 ) return s;
                   	break;
               	case 1 : 
                   	int LA57_2 = input.LA(1);

                   	 
                   	int index57_2 = input.Index();
                   	input.Rewind();
                   	s = -1;
                   	if ( (( input.LA(1) == FUNCTION )) ) { s = 39; }

                   	else if ( (true) ) { s = 3; }

                   	 
                   	input.Seek(index57_2);
                   	if ( s >= 0 ) return s;
                   	break;
        }
        NoViableAltException nvae57 =
            new NoViableAltException(dfa.Description, 57, _s, input);
        dfa.Error(nvae57);
        throw nvae57;
    }
    const string DFA58_eotS =
ES3Parser