(value, register, type)
| 88 | |
| 89 | class BytecodeValue { |
| 90 | constructor(value, register, type) { |
| 91 | this.type = type || this.getBytecodeType(value); |
| 92 | this.value = value; |
| 93 | this.register = register; |
| 94 | } |
| 95 | |
| 96 | getBytecodeType(Literal) { |
| 97 | switch (typeof Literal) { |
nothing calls this directly
no test coverage detected