JS: support inlining in new pipeline
This commit is contained in:
@@ -17,6 +17,7 @@ public class JsProgramFragment {
|
||||
private final JsGlobalBlock initializerBlock = new JsGlobalBlock();
|
||||
private final List<JsNameBinding> nameBindings = new ArrayList<JsNameBinding>();
|
||||
private final Map<JsName, JsClassModel> classes = new LinkedHashMap<JsName, JsClassModel>();
|
||||
private final Map<String, JsExpression> inlineModuleMap = new LinkedHashMap<String, JsExpression>();
|
||||
|
||||
public JsProgramFragment(@NotNull JsScope scope) {
|
||||
this.scope = scope;
|
||||
@@ -61,4 +62,9 @@ public class JsProgramFragment {
|
||||
public Map<JsName, JsClassModel> getClasses() {
|
||||
return classes;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public Map<String, JsExpression> getInlineModuleMap() {
|
||||
return inlineModuleMap;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user