C# Class Jurassic.Library.FirebugConsole

Represents a set of commands for working with the standard console. This class is non-standard - it is based on the Firebug console API (http://getfirebug.com/wiki/index.php/Console_API).
Inheritance: ObjectInstance
显示文件 Open project: paulbartrum/jurassic

Public Methods

Method Description
FirebugConsole ( ScriptEngine engine ) : System

Creates a new FirebugConsole instance.

Private Methods

Method Description
Assert ( bool expression ) : void
Clear ( ) : void
Debug ( ) : void
Error ( ) : void
Format ( object items ) : string

Formats a message. The objects provided will be converted to strings then joined together in a space separated line. The first parameter can be a string containing the following patterns: %s String %d, %i Integer %f Floating point number %o Object hyperlink

FormatObjects ( object items ) : object[]

Formats a message. The objects provided will be converted to strings then joined together in a space separated line. The first parameter can be a string containing the following patterns: %s String %d, %i Integer %f Floating point number %o Object hyperlink

GetDeclarativeProperties ( ScriptEngine engine ) : List
Group ( ) : void
GroupCollapsed ( ) : void
GroupEnd ( ) : void
Info ( ) : void
Log ( ) : void
Log ( FirebugConsoleMessageStyle style ) : void

Logs a message to the console. The objects provided will be converted to strings then joined together in a space separated line. The first parameter can be a string containing the following patterns: %s String %d, %i Integer %f Floating point number

Time ( string name = "" ) : void
TimeEnd ( string name = "" ) : void
Warn ( ) : void
__STUB__Assert ( ScriptEngine engine, object thisObj, object args ) : object
__STUB__Clear ( ScriptEngine engine, object thisObj, object args ) : object
__STUB__Debug ( ScriptEngine engine, object thisObj, object args ) : object
__STUB__Error ( ScriptEngine engine, object thisObj, object args ) : object
__STUB__Group ( ScriptEngine engine, object thisObj, object args ) : object
__STUB__GroupCollapsed ( ScriptEngine engine, object thisObj, object args ) : object
__STUB__GroupEnd ( ScriptEngine engine, object thisObj, object args ) : object
__STUB__Info ( ScriptEngine engine, object thisObj, object args ) : object
__STUB__Log ( ScriptEngine engine, object thisObj, object args ) : object
__STUB__Time ( ScriptEngine engine, object thisObj, object args ) : object
__STUB__TimeEnd ( ScriptEngine engine, object thisObj, object args ) : object
__STUB__Warn ( ScriptEngine engine, object thisObj, object args ) : object

Method Details

FirebugConsole() public method

Creates a new FirebugConsole instance.
public FirebugConsole ( ScriptEngine engine ) : System
engine ScriptEngine The associated script engine.
return System