示例#1
0
        public static void UnreachableAlts(DecisionProbe probe,
                                           IEnumerable <int> alts)
        {
            GetErrorState().errors++;
            Message msg = new GrammarUnreachableAltsMessage(probe, alts);

            GetErrorState().errorMsgIDs.Add(msg.msgID);
            GetErrorListener().Error(msg);
        }
示例#2
0
 public static void UnreachableAlts( DecisionProbe probe,
                                    IEnumerable<int> alts )
 {
     GetErrorState().errors++;
     Message msg = new GrammarUnreachableAltsMessage( probe, alts );
     GetErrorState().errorMsgIDs.Add( msg.msgID );
     GetErrorListener().Error( msg );
 }