C# Class Emmet.Engine.EngineCompiler

Compiles Emmet source files using the specified V8 engine instance.
Exibir arquivo Open project: sergey-rybalkin/emmet.net Class Usage Examples

Public Methods

Method Description
CompileCore ( ) : void

Finds and compiles Emmet source file.

EngineCompiler ( V8Engine engine ) : System.Collections.Generic

Constructor.

LoadExtensions ( string extensionsDirectory ) : void

Loads JavaScript extensions and preferences from the specified directory.

RegisterCallbacks ( EmmetEditorCallbacks editor ) : void

Registers the callbacks required by Emmet.

Private Methods

Method Description
GetFunctionWrapper ( JSFunction callback ) : V8Function

Method Details

CompileCore() public method

Finds and compiles Emmet source file.
/// Indicates that Emmet script was not found. ///
public CompileCore ( ) : void
return void

EngineCompiler() public method

Constructor.
public EngineCompiler ( V8Engine engine ) : System.Collections.Generic
engine V8.Net.V8Engine The engine to use for compilation.
return System.Collections.Generic

LoadExtensions() public method

Loads JavaScript extensions and preferences from the specified directory.
public LoadExtensions ( string extensionsDirectory ) : void
extensionsDirectory string Pathname of the extensions directory.
return void

RegisterCallbacks() public method

Registers the callbacks required by Emmet.
public RegisterCallbacks ( EmmetEditorCallbacks editor ) : void
editor EmmetEditorCallbacks Callbacks handler.
return void