C# Class WebMarkupMin.Yui.Reporters.YuiJsErrorReporter

YUI JS error reporter
Inheritance: ErrorReporter
显示文件 Open project: Taritsyn/WebMarkupMin Class Usage Examples

Public Methods

Method Description
Error ( string message, string sourceName, int line, string lineSource, int lineOffset ) : void

Reports a information about the error

RuntimeError ( string message, string sourceName, int line, string lineSource, int lineOffset ) : EcmaScript.NET.EcmaScriptRuntimeException

Creates a ECMAScript runtime exception

Warning ( string message, string sourceName, int line, string lineSource, int lineOffset ) : void

Reports a information about the warning

YuiJsErrorReporter ( ) : System.Collections.Generic

Constructs an instance of the YUI JS error reporter

Method Details

Error() public method

Reports a information about the error
public Error ( string message, string sourceName, int line, string lineSource, int lineOffset ) : void
message string Message
sourceName string Fragment of source code
line int Line number
lineSource string Line content
lineOffset int Column number
return void

RuntimeError() public method

Creates a ECMAScript runtime exception
public RuntimeError ( string message, string sourceName, int line, string lineSource, int lineOffset ) : EcmaScript.NET.EcmaScriptRuntimeException
message string Message
sourceName string Fragment of source code
line int Line number
lineSource string Line content
lineOffset int Column number
return EcmaScript.NET.EcmaScriptRuntimeException

Warning() public method

Reports a information about the warning
public Warning ( string message, string sourceName, int line, string lineSource, int lineOffset ) : void
message string Message
sourceName string Fragment of source code
line int Line number
lineSource string Line content
lineOffset int Column number
return void

YuiJsErrorReporter() public method

Constructs an instance of the YUI JS error reporter
public YuiJsErrorReporter ( ) : System.Collections.Generic
return System.Collections.Generic