MCPcopy Create free account
hub / github.com/aesthetic0001/js-virtualizer / constructor

Method constructor

src/utils/assembler.js:90–94  ·  view source on GitHub ↗
(value, register, type)

Source from the content-addressed store, hash-verified

88
89class 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) {

Callers

nothing calls this directly

Calls 1

getBytecodeTypeMethod · 0.95

Tested by

no test coverage detected