diff options
| author | Michael Ball <cycomachead@gmail.com> | 2014-05-24 22:02:00 -0700 |
|---|---|---|
| committer | Michael Ball <cycomachead@gmail.com> | 2014-05-24 22:02:00 -0700 |
| commit | bf03185eb083ea4171121d25ffda3041d91be8e7 (patch) | |
| tree | 6c5c5522a2ef79992cee682b4ebeec8ba7e7502b /threads.js | |
| parent | 01b9417b87688b591fe3df2a55ec367dd72f027d (diff) | |
| parent | 089d1500b41f00611603de936a65093d0dbb15ec (diff) | |
| download | snap-bf03185eb083ea4171121d25ffda3041d91be8e7.tar.gz snap-bf03185eb083ea4171121d25ffda3041d91be8e7.zip | |
Merge pull request #33 from jmoenig/master
update cs10 fork
Diffstat (limited to 'threads.js')
| -rw-r--r-- | threads.js | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -83,7 +83,7 @@ ArgLabelMorph, localize, XML_Element, hex_sha512*/ // Global stuff //////////////////////////////////////////////////////// -modules.threads = '2014-May-02'; +modules.threads = '2014-May-20'; var ThreadManager; var Process; @@ -3110,6 +3110,20 @@ VariableFrame.prototype.allNames = function () { return answer; }; +// Variable ///////////////////////////////////////////////////////////////// + +function Variable(value) { + this.value = value; +} + +Variable.prototype.toString = function () { + return 'a Variable [' + this.value + ']'; +}; + +Variable.prototype.copy = function () { + return new Variable(this.value); +}; + // UpvarReference /////////////////////////////////////////////////////////// // ... quasi-inherits some features from VariableFrame |
