summaryrefslogtreecommitdiff
path: root/src/lobject.js
diff options
context:
space:
mode:
authorBenoit Giannangeli <benoit.giannangeli@boursorama.fr>2017-02-03 15:18:55 +0100
committerBenoit Giannangeli <benoit.giannangeli@boursorama.fr>2017-02-03 15:18:55 +0100
commit2cf246d68c5e658eb6c36a00ac35c7862a54e90e (patch)
treeab9c4587af63b80093d866798383bd4ae6b98dca /src/lobject.js
parent90161c463fc8725d3d39b699dbf7e591874c47fb (diff)
downloadfengari-2cf246d68c5e658eb6c36a00ac35c7862a54e90e.tar.gz
fengari-2cf246d68c5e658eb6c36a00ac35c7862a54e90e.tar.bz2
fengari-2cf246d68c5e658eb6c36a00ac35c7862a54e90e.zip
TValue
Diffstat (limited to 'src/lobject.js')
-rw-r--r--src/lobject.js15
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