상속: ANTLRMessage
예제 #1
0
        public virtual void SyntaxError(ErrorType etype,
                                        string fileName,
                                        Antlr.Runtime.IToken token,
                                        Antlr.Runtime.RecognitionException antlrException,
                                        params object[] args)
        {
            ANTLRMessage msg = new GrammarSyntaxMessage(etype, fileName, token, antlrException, args);

            Emit(etype, msg);
        }
예제 #2
0
 public virtual void SyntaxError(ErrorType etype,
                                string fileName,
                                Antlr.Runtime.IToken token,
                                Antlr.Runtime.RecognitionException antlrException,
                                params object[] args)
 {
     ANTLRMessage msg = new GrammarSyntaxMessage(etype, fileName, token, antlrException, args);
     Emit(etype, msg);
 }