diff options
author | Sunil Shetye | 2018-06-26 12:08:19 +0530 |
---|---|---|
committer | Sunil Shetye | 2018-06-26 12:08:19 +0530 |
commit | afed64f1a0eab0b2d742088186d7bc340a2c895b (patch) | |
tree | 7270fd2e6c53e6df90c71e2fcbccd8149c3553a5 /js/Sinks | |
parent | 7465daea85285ba7f291b6bf6ddc45caa9e7ad65 (diff) | |
download | sci2js-afed64f1a0eab0b2d742088186d7bc340a2c895b.tar.gz sci2js-afed64f1a0eab0b2d742088186d7bc340a2c895b.tar.bz2 sci2js-afed64f1a0eab0b2d742088186d7bc340a2c895b.zip |
return block type in define and set
Diffstat (limited to 'js/Sinks')
-rw-r--r-- | js/Sinks/AFFICH_m.js | 2 | ||||
-rw-r--r-- | js/Sinks/BARXY.js | 2 | ||||
-rw-r--r-- | js/Sinks/CANIMXY.js | 2 | ||||
-rw-r--r-- | js/Sinks/CANIMXY3D.js | 2 | ||||
-rw-r--r-- | js/Sinks/CEVENTSCOPE.js | 2 | ||||
-rw-r--r-- | js/Sinks/CFSCOPE.js | 2 | ||||
-rw-r--r-- | js/Sinks/CLKOUTV_f.js | 2 | ||||
-rw-r--r-- | js/Sinks/CLKOUT_f.js | 2 | ||||
-rw-r--r-- | js/Sinks/CMAT3D.js | 2 | ||||
-rw-r--r-- | js/Sinks/CMATVIEW.js | 2 | ||||
-rw-r--r-- | js/Sinks/CMSCOPE.js | 2 | ||||
-rw-r--r-- | js/Sinks/CSCOPE.js | 2 | ||||
-rw-r--r-- | js/Sinks/CSCOPXY.js | 2 | ||||
-rw-r--r-- | js/Sinks/CSCOPXY3D.js | 2 | ||||
-rw-r--r-- | js/Sinks/OUTIMPL_f.js | 2 | ||||
-rw-r--r-- | js/Sinks/OUT_f.js | 2 | ||||
-rw-r--r-- | js/Sinks/TOWS_c.js | 2 | ||||
-rw-r--r-- | js/Sinks/TRASH_f.js | 2 | ||||
-rw-r--r-- | js/Sinks/WFILE_f.js | 2 | ||||
-rw-r--r-- | js/Sinks/WRITEAU_f.js | 2 | ||||
-rw-r--r-- | js/Sinks/WRITEC_f.js | 2 |
21 files changed, 42 insertions, 0 deletions
diff --git a/js/Sinks/AFFICH_m.js b/js/Sinks/AFFICH_m.js index ac794b2f..509db8be 100644 --- a/js/Sinks/AFFICH_m.js +++ b/js/Sinks/AFFICH_m.js @@ -21,6 +21,7 @@ function AFFICH_m() { exprs = [[sci2exp([model.in1,model.in2])],[string(font)],[string(fontsize)],[string(colr)],[string(nt)],[string(nd)],[string(0)]]; gr_i = []; this.x = standard_define([3,2],model,exprs,gr_i); + return new BasicBlock(this.x); } AFFICH_m.prototype.details = function AFFICH_m() { return this.x; @@ -77,5 +78,6 @@ function AFFICH_m() { break; } } + return new BasicBlock(this.x); } } diff --git a/js/Sinks/BARXY.js b/js/Sinks/BARXY.js index e1845489..4ef60a20 100644 --- a/js/Sinks/BARXY.js +++ b/js/Sinks/BARXY.js @@ -19,6 +19,7 @@ function BARXY() { this.x.graphics.in_implicit = ["E","E"]; this.x.graphics.out_implicit = []; this.x.graphics.exprs = [["-15"],["15"],["-15"],["15"],["1"]]; + return new BasicBlock(this.x); } BARXY.prototype.details = function BARXY() { return this.x; @@ -59,5 +60,6 @@ function BARXY() { break; } } + return new BasicBlock(this.x); } } diff --git a/js/Sinks/CANIMXY.js b/js/Sinks/CANIMXY.js index 7f58c8a9..9313c826 100644 --- a/js/Sinks/CANIMXY.js +++ b/js/Sinks/CANIMXY.js @@ -26,6 +26,7 @@ function CANIMXY() { exprs = [[string(nbr_curves)],[string(clrs)],[string(siz)],[string(win)],["[]"],["[]"],[string(xmin)],[string(xmax)],[string(ymin)],[string(ymax)],[string(N)]]; gr_i = []; this.x = standard_define([2,2],model,exprs,gr_i); + return new BasicBlock(this.x); } CANIMXY.prototype.details = function CANIMXY() { return this.x; @@ -97,5 +98,6 @@ function CANIMXY() { break; } } + return new BasicBlock(this.x); } } diff --git a/js/Sinks/CANIMXY3D.js b/js/Sinks/CANIMXY3D.js index 7b70e142..d382af70 100644 --- a/js/Sinks/CANIMXY3D.js +++ b/js/Sinks/CANIMXY3D.js @@ -26,6 +26,7 @@ function CANIMXY3D() { exprs = [[string(nbr_curves)],[strcat(string(clrs)," ")],[strcat(string(siz)," ")],[string(win)],["[]"],["[]"],[strcat(string(vec_x)," ")],[strcat(string(vec_y)," ")],[strcat(string(vec_z)," ")],[strcat(string(param3ds)," ")],[string(N)]]; gr_i = []; this.x = standard_define([2,2],model,exprs,gr_i); + return new BasicBlock(this.x); } CANIMXY3D.prototype.details = function CANIMXY3D() { return this.x; @@ -114,5 +115,6 @@ function CANIMXY3D() { break; } } + return new BasicBlock(this.x); } } diff --git a/js/Sinks/CEVENTSCOPE.js b/js/Sinks/CEVENTSCOPE.js index 712c76aa..91f4758d 100644 --- a/js/Sinks/CEVENTSCOPE.js +++ b/js/Sinks/CEVENTSCOPE.js @@ -17,6 +17,7 @@ function CEVENTSCOPE() { exprs = [[sci2exp(nclock)],[strcat(sci2exp(clrs[nclock-1])," ")],[string(win)],[sci2exp([])],[sci2exp(wdim)],[string(per)]]; gr_i = []; this.x = standard_define([2,2],model,exprs,gr_i); + return new BasicBlock(this.x); } CEVENTSCOPE.prototype.details = function CEVENTSCOPE() { return this.x; @@ -83,5 +84,6 @@ function CEVENTSCOPE() { break; } } + return new BasicBlock(this.x); } } diff --git a/js/Sinks/CFSCOPE.js b/js/Sinks/CFSCOPE.js index 4d000c69..9a11f6eb 100644 --- a/js/Sinks/CFSCOPE.js +++ b/js/Sinks/CFSCOPE.js @@ -19,6 +19,7 @@ function CFSCOPE() { exprs = [[strcat(string(clrs)," ")],[string(win)],[sci2exp([])],[sci2exp(wdim)],[string(ymin)],[string(ymax)],[string(per)],[string(N)],[string([1])]]; gr_i = []; this.x = standard_define([2,2],model,exprs,gr_i); + return new BasicBlock(this.x); } CFSCOPE.prototype.details = function CFSCOPE() { return this.x; @@ -92,5 +93,6 @@ function CFSCOPE() { break; } } + return new BasicBlock(this.x); } } diff --git a/js/Sinks/CLKOUTV_f.js b/js/Sinks/CLKOUTV_f.js index c53d274d..1f703fd2 100644 --- a/js/Sinks/CLKOUTV_f.js +++ b/js/Sinks/CLKOUTV_f.js @@ -11,6 +11,7 @@ function CLKOUTV_f() { model.dep_ut = [false,false]; exprs = string(prt); this.x = standard_define([1,1],model,exprs," "); + return new BasicBlock(this.x); } CLKOUTV_f.prototype.details = function CLKOUTV_f() { return this.x; @@ -39,5 +40,6 @@ function CLKOUTV_f() { break; } } + return new BasicBlock(this.x); } } diff --git a/js/Sinks/CLKOUT_f.js b/js/Sinks/CLKOUT_f.js index 5ff1d994..a26f8d6b 100644 --- a/js/Sinks/CLKOUT_f.js +++ b/js/Sinks/CLKOUT_f.js @@ -11,6 +11,7 @@ function CLKOUT_f() { model.dep_ut = [false,false]; exprs = string(prt); this.x = standard_define([1,1],model,exprs," "); + return new BasicBlock(this.x); } CLKOUT_f.prototype.details = function CLKOUT_f() { return this.x; @@ -41,5 +42,6 @@ function CLKOUT_f() { break; } } + return new BasicBlock(this.x); } } diff --git a/js/Sinks/CMAT3D.js b/js/Sinks/CMAT3D.js index a29a7e7a..6c89a28f 100644 --- a/js/Sinks/CMAT3D.js +++ b/js/Sinks/CMAT3D.js @@ -22,6 +22,7 @@ function CMAT3D() { exprs = [[strcat(string(this.x)," ")],[strcat(string(y)," ")],[string("jetcolormap(25)")],[string(cmin)],[string(cmax)]]; gr_i = []; this.x = standard_define([2,2],model,exprs,gr_i); + return new BasicBlock(this.x); } CMAT3D.prototype.details = function CMAT3D() { return this.x; @@ -63,5 +64,6 @@ function CMAT3D() { break; } } + return new BasicBlock(this.x); } } diff --git a/js/Sinks/CMATVIEW.js b/js/Sinks/CMATVIEW.js index d472334e..338b249b 100644 --- a/js/Sinks/CMATVIEW.js +++ b/js/Sinks/CMATVIEW.js @@ -20,6 +20,7 @@ function CMATVIEW() { exprs = [[string("jetcolormap(25)")],[string(cmin)],[string(cmax)]]; gr_i = []; this.x = standard_define([2,2],model,exprs,gr_i); + return new BasicBlock(this.x); } CMATVIEW.prototype.details = function CMATVIEW() { return this.x; @@ -59,5 +60,6 @@ function CMATVIEW() { break; } } + return new BasicBlock(this.x); } } diff --git a/js/Sinks/CMSCOPE.js b/js/Sinks/CMSCOPE.js index f8b69469..2b210dcf 100644 --- a/js/Sinks/CMSCOPE.js +++ b/js/Sinks/CMSCOPE.js @@ -25,6 +25,7 @@ function CMSCOPE() { exprs = [[strcat(string(in1)," ")],[strcat(string(clrs)," ")],[string(win)],[sci2exp([])],[sci2exp([])],[strcat(string(ymin)," ")],[strcat(string(ymax)," ")],[strcat(string(per)," ")],[string(N)],[string(0)],[emptystr()]]; gr_i = []; this.x = standard_define([2,2],model,exprs,gr_i); + return new BasicBlock(this.x); } CMSCOPE.prototype.details = function CMSCOPE() { return this.x; @@ -123,5 +124,6 @@ function CMSCOPE() { } } } + return new BasicBlock(this.x); } } diff --git a/js/Sinks/CSCOPE.js b/js/Sinks/CSCOPE.js index 666b07a6..f0b1699e 100644 --- a/js/Sinks/CSCOPE.js +++ b/js/Sinks/CSCOPE.js @@ -21,6 +21,7 @@ function CSCOPE() { exprs = [[strcat(string(clrs)," ")],[string(win)],[sci2exp([])],[sci2exp(wdim)],[string(ymin)],[string(ymax)],[string(per)],[string(N)],[transpose(string(0))],[emptystr()]]; gr_i = []; this.x = standard_define([2,2],model,exprs,gr_i); + return new BasicBlock(this.x); } CSCOPE.prototype.details = function CSCOPE() { return this.x; @@ -92,5 +93,6 @@ function CSCOPE() { break; } } + return new BasicBlock(this.x); } } diff --git a/js/Sinks/CSCOPXY.js b/js/Sinks/CSCOPXY.js index f06a4980..769fe395 100644 --- a/js/Sinks/CSCOPXY.js +++ b/js/Sinks/CSCOPXY.js @@ -25,6 +25,7 @@ function CSCOPXY() { exprs = [[string(nbr_curves)],[sci2exp(clrs)],[sci2exp(siz)],[string(win)],[sci2exp([])],[sci2exp(wdim)],[string(xmin)],[string(xmax)],[string(ymin)],[string(ymax)],[string(N)]]; gr_i = []; this.x = standard_define([2,2],model,exprs,gr_i); + return new BasicBlock(this.x); } CSCOPXY.prototype.details = function CSCOPXY() { return this.x; @@ -96,5 +97,6 @@ function CSCOPXY() { break; } } + return new BasicBlock(this.x); } } diff --git a/js/Sinks/CSCOPXY3D.js b/js/Sinks/CSCOPXY3D.js index b2751f5c..6a08003e 100644 --- a/js/Sinks/CSCOPXY3D.js +++ b/js/Sinks/CSCOPXY3D.js @@ -25,6 +25,7 @@ function CSCOPXY3D() { exprs = [[string(nbr_curves)],[strcat(string(clrs)," ")],[strcat(string(siz)," ")],[string(win)],[sci2exp([])],[sci2exp(wdim)],[strcat(string(vec_x)," ")],[strcat(string(vec_y)," ")],[strcat(string(vec_z)," ")],[strcat(string(param3ds)," ")],[string(N)]]; gr_i = []; this.x = standard_define([2,2],model,exprs,gr_i); + return new BasicBlock(this.x); } CSCOPXY3D.prototype.details = function CSCOPXY3D() { return this.x; @@ -109,5 +110,6 @@ function CSCOPXY3D() { message(mess); } } + return new BasicBlock(this.x); } } diff --git a/js/Sinks/OUTIMPL_f.js b/js/Sinks/OUTIMPL_f.js index c77851b6..fb003f2c 100644 --- a/js/Sinks/OUTIMPL_f.js +++ b/js/Sinks/OUTIMPL_f.js @@ -17,6 +17,7 @@ function OUTIMPL_f() { gr_i = []; this.x = standard_define([1,1],model,exprs,gr_i); this.x.graphics.in_implicit = ["I"]; + return new BasicBlock(this.x); } OUTIMPL_f.prototype.details = function OUTIMPL_f() { return this.x; @@ -51,5 +52,6 @@ function OUTIMPL_f() { break; } } + return new BasicBlock(this.x); } } diff --git a/js/Sinks/OUT_f.js b/js/Sinks/OUT_f.js index e339d285..7a5ef710 100644 --- a/js/Sinks/OUT_f.js +++ b/js/Sinks/OUT_f.js @@ -14,6 +14,7 @@ function OUT_f() { exprs = string(prt); gr_i = []; this.x = standard_define([1,1],model,exprs,gr_i); + return new BasicBlock(this.x); } OUT_f.prototype.details = function OUT_f() { return this.x; @@ -44,5 +45,6 @@ function OUT_f() { break; } } + return new BasicBlock(this.x); } } diff --git a/js/Sinks/TOWS_c.js b/js/Sinks/TOWS_c.js index feaf8354..790c2021 100644 --- a/js/Sinks/TOWS_c.js +++ b/js/Sinks/TOWS_c.js @@ -21,6 +21,7 @@ function TOWS_c() { gr_i = []; exprs = [[string(nz)],[string(varnam)],[string(herit)]]; this.x = standard_define([4,2],model,exprs,gr_i); + return new BasicBlock(this.x); } TOWS_c.prototype.details = function TOWS_c() { return this.x; @@ -62,5 +63,6 @@ function TOWS_c() { break; } } + return new BasicBlock(this.x); } } diff --git a/js/Sinks/TRASH_f.js b/js/Sinks/TRASH_f.js index 08d08d47..45f077eb 100644 --- a/js/Sinks/TRASH_f.js +++ b/js/Sinks/TRASH_f.js @@ -11,6 +11,7 @@ function TRASH_f() { exprs = " "; gr_i = []; this.x = standard_define([2,2],model,exprs,gr_i); + return new BasicBlock(this.x); } TRASH_f.prototype.details = function TRASH_f() { return this.x; @@ -19,5 +20,6 @@ function TRASH_f() { } TRASH_f.prototype.set = function TRASH_f() { this.x = arg1; + return new BasicBlock(this.x); } } diff --git a/js/Sinks/WFILE_f.js b/js/Sinks/WFILE_f.js index b1b5a5b9..05259e11 100644 --- a/js/Sinks/WFILE_f.js +++ b/js/Sinks/WFILE_f.js @@ -18,6 +18,7 @@ function WFILE_f() { exprs = [[sci2exp(in1)],[fname],[frmt],[string(N)]]; gr_i = []; this.x = standard_define([3,2],model,exprs,gr_i); + return new BasicBlock(this.x); } WFILE_f.prototype.details = function WFILE_f() { return this.x; @@ -87,5 +88,6 @@ function WFILE_f() { break; } } + return new BasicBlock(this.x); } } diff --git a/js/Sinks/WRITEAU_f.js b/js/Sinks/WRITEAU_f.js index 40833663..3adafd3e 100644 --- a/js/Sinks/WRITEAU_f.js +++ b/js/Sinks/WRITEAU_f.js @@ -19,6 +19,7 @@ function WRITEAU_f() { exprs = [string(N),string(swap)]; gr_i = []; this.x = standard_define([4,2],model,exprs,gr_i); + return new BasicBlock(this.x); } WRITEAU_f.prototype.details = function WRITEAU_f() { return this.x; @@ -66,5 +67,6 @@ function WRITEAU_f() { break; } } + return new BasicBlock(this.x); } } diff --git a/js/Sinks/WRITEC_f.js b/js/Sinks/WRITEC_f.js index 20e8e20c..0b61f273 100644 --- a/js/Sinks/WRITEC_f.js +++ b/js/Sinks/WRITEC_f.js @@ -19,6 +19,7 @@ function WRITEC_f() { exprs = [[sci2exp(in1)],[fname],[frmt],[string(N),string(swap)]]; gr_i = []; this.x = standard_define([4,2],model,exprs,gr_i); + return new BasicBlock(this.x); } WRITEC_f.prototype.details = function WRITEC_f() { return this.x; @@ -87,5 +88,6 @@ function WRITEC_f() { break; } } + return new BasicBlock(this.x); } } |