コード例 #1
0
        public static void RecursionOverflow(DecisionProbe probe,
                                             DFAState sampleBadState,
                                             int alt,
                                             ICollection <string> targetRules,
                                             ICollection <ICollection <NFAState> > callSiteStates)
        {
            GetErrorState().errors++;
            Message msg = new RecursionOverflowMessage(probe, sampleBadState, alt,
                                                       targetRules, callSiteStates);

            GetErrorState().errorMsgIDs.Add(msg.msgID);
            GetErrorListener().Error(msg);
        }
コード例 #2
0
ファイル: ErrorManager.cs プロジェクト: mahanteshck/antlrcs
 public static void RecursionOverflow( DecisionProbe probe,
                                      DFAState sampleBadState,
                                      int alt,
                                      ICollection<string> targetRules,
                                      ICollection<ICollection<NFAState>> callSiteStates )
 {
     GetErrorState().errors++;
     Message msg = new RecursionOverflowMessage( probe, sampleBadState, alt,
                                      targetRules, callSiteStates );
     GetErrorState().errorMsgIDs.Add( msg.msgID );
     GetErrorListener().Error( msg );
 }