MCPcopy Index your code
hub / github.com/nodejs/llhttp / node

Method node

src/llhttp/http.ts:1171–1178  ·  view source on GitHub ↗
(name: string | T)

Source from the content-addressed store, hash-verified

1169 }
1170
1171 private node<T extends Node>(name: string | T): T {
1172 if (name instanceof Node) {
1173 return name;
1174 }
1175
1176 assert(this.nodes.has(name), `Unknown node with name "${name}"`);
1177 return this.nodes.get(name) as unknown as T;
1178 }
1179
1180 private load(field: string, map: Record<number, Node>,
1181 next?: string | Node): Node {

Callers 15

buildMethod · 0.95
nMethod · 0.95
loadMethod · 0.95
storeMethod · 0.95
updateMethod · 0.95
emptySpanMethod · 0.95
unsetFlagMethod · 0.95
setFlagMethod · 0.95
testFlagsMethod · 0.95
testLenientFlagsMethod · 0.95
setHeaderFlagsMethod · 0.95
mulAddMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected