C# Class Uglify.Uglifier

The main Uglify object.
显示文件 Open project: asbjornu/Uglify.NET

Public Methods

Method Description
Uglifier ( ) : System

Initializes a new instance of the Uglifier class.

Uglify ( string code, string options = "" ) : string

Uglifies the specified code.

Private Methods

Method Description
AstPrinter ( string value ) : void
ExprPrinter ( string value ) : void
LoadUglify ( CSharp context, Uglify.ResourceHelper resourceHelper ) : FunctionObject
SetupContext ( Uglify.ResourceHelper resourceHelper ) : CSharp.Context

Method Details

Uglifier() public method

Initializes a new instance of the Uglifier class.
public Uglifier ( ) : System
return System

Uglify() public method

Uglifies the specified code.
public Uglify ( string code, string options = "" ) : string
code string The JavaScript code that is to be uglified.
options string The options.
return string