C# Класс Cruncher.Preprocessors.Coffee.CoffeeScriptCompiler

The CoffeeScript compiler. Many thanks here to Andrey Taritsyn's
Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CoffeeScriptCompiler ( Func javascriptEngineFactory ) : System

Initializes a new instance of the CoffeeScriptCompiler class.

Compile ( string input ) : string

Gets a string containing the compiled CoffeeScript result.

Dispose ( ) : void

Disposes the object and frees resources for the Garbage Collector.

Приватные методы

Метод Описание
Dispose ( bool disposing ) : void

Disposes the object and frees resources for the Garbage Collector.

FormatErrorDetails ( JToken errorDetails ) : string

Generates a detailed error message

Initialize ( ) : void

Initializes CoffeeScript compiler

Описание методов

CoffeeScriptCompiler() публичный Метод

Initializes a new instance of the CoffeeScriptCompiler class.
public CoffeeScriptCompiler ( Func javascriptEngineFactory ) : System
javascriptEngineFactory Func /// The javascript engine factory. ///
Результат System

Compile() публичный Метод

Gets a string containing the compiled CoffeeScript result.
public Compile ( string input ) : string
input string /// The input to compile. ///
Результат string

Dispose() публичный Метод

Disposes the object and frees resources for the Garbage Collector.
public Dispose ( ) : void
Результат void