summaryrefslogtreecommitdiff
path: root/src/lobject.js
diff options
context:
space:
mode:
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