Beispiel #1
0
 protected override bool Add(int id, string message, ErrorSeverity severity, int group, string /*!*/ fullPath,
                             ErrorPosition pos)
 {
     Debug.Assert(fullPath != null);
     PhpException.ThrowByWebCompiler(severity.ToPhpCompileError(), id, fullPath, pos.FirstLine, pos.FirstColumn, message);
     return(true);
 }
Beispiel #2
0
        protected override bool Add(int id, string message, ErrorSeverity severity, int group, string /*!*/ fullPath,
                                    ErrorPosition pos)
        {
            Debug.Assert(fullPath != null);

            // first line column adjustment:
            if (pos.FirstLine == 1)
            {
                pos.FirstColumn += firstLineColumnDisplacement;
            }

            Debug.WriteLine("!!!3", message);

            PhpException.ThrowByEval(severity.ToPhpCompileError(), fullPath, pos.FirstLine, pos.FirstColumn, message);

            return(true);
        }
Beispiel #3
0
		protected override bool Add(int id, string message, ErrorSeverity severity, int group, string/*!*/ fullPath,
			ErrorPosition pos)
		{
			Debug.Assert(fullPath != null);
			PhpException.ThrowByWebCompiler(severity.ToPhpCompileError(), id, fullPath, pos.FirstLine, pos.FirstColumn, message);
			return true;
		}
Beispiel #4
0
		protected override bool Add(int id, string message, ErrorSeverity severity, int group, string/*!*/ fullPath,
			ErrorPosition pos)
		{
			Debug.Assert(fullPath != null);

			// first line column adjustment:
			if (pos.FirstLine == 1) pos.FirstColumn += firstLineColumnDisplacement;

			Debug.WriteLine("!!!3", message);
			
			PhpException.ThrowByEval(severity.ToPhpCompileError(), fullPath, pos.FirstLine, pos.FirstColumn, message);

			return true;
		}