C# Class Microsoft.Scripting.Hosting.ErrorListener

The host can use this class to track for errors reported during script parsing and compilation. Hosting API counterpart for ErrorSink.
Inheritance: System.Object
Datei anzeigen Open project: jschementi/iron Class Usage Examples

Public Methods

Method Description
ErrorReported ( ScriptSource source, string message, SourceSpan span, int errorCode, Severity severity ) : void
InitializeLifetimeService ( ) : object

Protected Methods

Method Description
ErrorListener ( ) : System

Private Methods

Method Description
ReportError ( ScriptSource source, string message, SourceSpan span, int errorCode, Severity severity ) : void

Method Details

ErrorListener() protected method

protected ErrorListener ( ) : System
return System

ErrorReported() public abstract method

public abstract ErrorReported ( ScriptSource source, string message, SourceSpan span, int errorCode, Severity severity ) : void
source ScriptSource
message string
span SourceSpan
errorCode int
severity Severity
return void

InitializeLifetimeService() public method

public InitializeLifetimeService ( ) : object
return object