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

Method toLookupType

src/runtime/join.ts:203–215  ·  view source on GitHub ↗
(resolved)

Source from the content-addressed store, hash-verified

201 }
202
203 toLookupType(resolved) {
204 let [e,a,v,node] = resolved;
205 let foo = [];
206 if(e === undefined) foo[0] = "*"
207 else foo[0] = "e";
208 if(a === undefined) foo[1] = "*"
209 else foo[1] = "a";
210 if(v === undefined) foo[2] = "*"
211 else foo[2] = "v";
212 if(node === undefined) foo[3] = "*"
213 else foo[3] = "n";
214 return foo.join("");
215 }
216
217 // Given a resolved array of values for all the registers, find out which variable we could
218 // make a proposal for, what index we'd use to get the values for it, and what the cardinality

Callers 1

getProposalMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected