MCPcopy
hub / github.com/witheve/Eve / constructor

Method constructor

src/runtime/join.ts:133–151  ·  view source on GitHub ↗
(id: string, e,a,v,node?,scopes?)

Source from the content-addressed store, hash-verified

131 scopes: string[];
132
133 constructor(id: string, e,a,v,node?,scopes?) {
134 this.id = id;
135 this.resolved = [];
136 this.eav = [e,a,v,node];
137 this.e = e;
138 this.a = a;
139 this.v = v;
140 this.node = node;
141 this.proposalObject = {providing: null, index: [], cardinality: 0};
142 this.scopes = scopes || ["session"];
143
144 // check if any of the supplied params are variables and store them
145 this.vars = [];
146 for(let register of this.eav) {
147 if(isVariable(register)) {
148 this.vars[register.id] = register;
149 }
150 }
151 }
152
153 // Return an array of the current values for all the registers
154 resolve(prefix) {

Callers

nothing calls this directly

Calls 1

isVariableFunction · 0.85

Tested by

no test coverage detected