MCPcopy Create free account
hub / github.com/witheve/Eve / constructor

Function constructor

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

Source from the content-addressed store, hash-verified

20 resolved: any[];
21 scopes: string[];
22 constructor(id: string, e,a,v,node?,scopes?) {
23 this.id = id;
24 this.resolved = [];
25 let eav = [e,a,v];
26 this.e = e;
27 this.a = a;
28 this.v = v;
29 this.node = node || this.id;
30 this.vars = [];
31 this.scopes = scopes || ["session"];
32 for(let register of eav) {
33 if(isVariable(register)) {
34 this.vars[register.id] = register;
35 }
36 }
37 }
38
39 // Return an array of the current values for all the registers
40 resolve(prefix) {

Callers

nothing calls this directly

Calls 1

isVariableFunction · 0.90

Tested by

no test coverage detected