diff options
author | Benoit Giannangeli <benoit.giannangeli@boursorama.fr> | 2017-02-03 15:18:55 +0100 |
---|---|---|
committer | Benoit Giannangeli <benoit.giannangeli@boursorama.fr> | 2017-02-03 15:18:55 +0100 |
commit | 2cf246d68c5e658eb6c36a00ac35c7862a54e90e (patch) | |
tree | ab9c4587af63b80093d866798383bd4ae6b98dca /src/lobject.js | |
parent | 90161c463fc8725d3d39b699dbf7e591874c47fb (diff) | |
download | fengari-2cf246d68c5e658eb6c36a00ac35c7862a54e90e.tar.gz fengari-2cf246d68c5e658eb6c36a00ac35c7862a54e90e.tar.bz2 fengari-2cf246d68c5e658eb6c36a00ac35c7862a54e90e.zip |
TValue
Diffstat (limited to 'src/lobject.js')
-rw-r--r-- | src/lobject.js | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/lobject.js b/src/lobject.js index 262b38d..7efbef5 100644 --- a/src/lobject.js +++ b/src/lobject.js @@ -1,6 +1,8 @@ /*jshint esversion: 6 */ "use strict"; +const CT = require('./lua.js').constant_types; + class LClosure { constructor(n) { @@ -10,6 +12,17 @@ class LClosure { } + +class TValue { + + constructor(type, value) { + this.type = type; + this.value = value; + } + +} + module.exports = { - LClosure: LClosure + LClosure: LClosure, + TValue: TValue };
\ No newline at end of file |