Report() public method

public Report ( CSToolsException e ) : void
e CSToolsException
return void
示例#1
0
 public override void Handle(ErrorHandler erh)
 {
     // 4.5b
     if (erh.throwExceptions)
     {
         throw this; // we expect Parser.Parse() to catch this but stop the parse
     }
     erh.Report(this);
 }
示例#2
0
 public virtual void Handle(ErrorHandler erh) // provides the default ErrorHandling implementation
 {
     if (erh.throwExceptions)
     {
         throw this;
     }
     if (handled)
     {
         return;
     }
     handled = true;
     erh.Report(this); // the parse table may allow recovery from this error
 }
示例#3
0
 public virtual void Handle(ErrorHandler erh)
 {
     if (erh.throwExceptions)
     {
         throw this;
     }
     if (this.handled)
     {
         return;
     }
     this.handled = true;
     erh.Report(this);
 }
 // provides the default ErrorHandling implementation
 /// <exclude/>
 public virtual void Handle(ErrorHandler erh)
 {
     if (erh.throwExceptions)
         throw this;
     if (handled)
         return;
     handled = true;
     erh.Report(this); // the parse table may allow recovery from this error
 }
示例#5
0
文件: lexer.cs 项目: Belxjander/Asuna
		public virtual void Handle(ErrorHandler erh) // provides the default ErrorHandling implementation
		{
			if (erh.throwExceptions)
				throw this;
			if (handled)
				return;
			handled = true;
			erh.Report(this); // the parse table may allow recovery from this error
		}