public interface JsCompiler
| Modifier and Type | Method and Description |
|---|---|
JsResponse |
compile(JsUriManager.JsUri jsUri,
Iterable<JsContent> content,
String externs)
Compiles the provided code with the provided list of external symbols.
|
Iterable<JsContent> |
getJsContent(JsUriManager.JsUri jsUri,
FeatureRegistry.FeatureBundle bundle)
Pre-process feature JS.
|
Iterable<JsContent> getJsContent(JsUriManager.JsUri jsUri, FeatureRegistry.FeatureBundle bundle)
jsUri - The JS uri making the request.bundle - The feature bundle.JsResponse compile(JsUriManager.JsUri jsUri, Iterable<JsContent> content, String externs)
jsUri - The JS uri making the request.content - The raw/pre-processed JS code.externs - The externs.Copyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.