C# 클래스 Cruncher.Preprocessors.Coffee.CoffeeScriptCompiler

The CoffeeScript compiler. Many thanks here to Andrey Taritsyn's
상속: IDisposable
파일 보기 프로젝트 열기: JimBobSquarePants/Cruncher 1 사용 예제들

공개 메소드들

메소드 설명
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