summaryrefslogtreecommitdiff
path: root/src/lobject.js
blob: 7efbef5367f10d7ba0a18756bd0c78f1c0065aeb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*jshint esversion: 6 */
"use strict";

const CT = require('./lua.js').constant_types;

class LClosure {

    constructor(n) {
        this.p = null;
        this.nupvalues = n;
    }

}


class TValue {

    constructor(type, value) {
        this.type = type;
        this.value = value;
    }

}

module.exports = {
    LClosure: LClosure,
    TValue: TValue
};