aboutsummaryrefslogtreecommitdiff
path: root/static/components.js
diff options
context:
space:
mode:
Diffstat (limited to 'static/components.js')
-rw-r--r--static/components.js21
1 files changed, 21 insertions, 0 deletions
diff --git a/static/components.js b/static/components.js
index 27929410a..c95b7c6bd 100644
--- a/static/components.js
+++ b/static/components.js
@@ -338,6 +338,27 @@ module.exports = {
},
};
},
+ getHaskellStgView: function () {
+ return {
+ type: 'component',
+ componentName: 'haskellStg',
+ componentState: {},
+ };
+ },
+ getHaskellStgViewWith: function (id, source, haskellStgOutput, compilerName, editorid, treeid) {
+ return {
+ type: 'component',
+ componentName: 'haskellStg',
+ componentState: {
+ id: id,
+ source: source,
+ haskellStgOutput: haskellStgOutput,
+ compilerName: compilerName,
+ editorid: editorid,
+ treeid: treeid,
+ },
+ };
+ },
getGnatDebugTreeView: function () {
return {