import { IStoreValue } from "./istore_value"; import { Type } from "../../typeSystem/type"; export class StoreValueRef implements IStoreValue { public isConst = false; constructor(public type: Type, public value: any, private loc_address: number, public id:String) { } get () { return this.value; } getRefAddress () : number { return this.loc_address; } inStore () { return this.id != null; } }