| Type | Name and description |
|---|---|
static Boolean |
NODE_SUPPORTED |
static SimpleBindings |
bindings |
ClassLoader |
classLoader |
static ScriptEngine |
engine |
| Constructor and description |
|---|
BabelJsProcessor
(AssetCompiler precompiler) |
| Type | Name and description |
|---|---|
protected void |
loadBabelJs() |
String |
process(String input, AssetFile assetFile)Processes an input string from a given AssetFile implementation of coffeescript and converts it to javascript |
Processes an input string from a given AssetFile implementation of coffeescript and converts it to javascript
input - String input coffee script text to be converted to javascriptAssetFile - instance of the asset file from which this file came from. Not actually used currently for this implementation.Groovy Documentation