MCPcopy Create free account
hub / github.com/nodejs/node / transitions

Method transitions

deps/v8/tools/system-analyzer/log/map.mjs:134–145  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

132 }
133
134 transitions() {
135 let transitions = Object.create(null);
136 let current = this;
137 while (current) {
138 let edge = current.edge;
139 if (edge && edge.isTransition()) {
140 transitions[edge.name] = edge;
141 }
142 current = current.parent;
143 }
144 return transitions;
145 }
146
147 get type() {
148 return this.edge?.type ?? 'new';

Callers

nothing calls this directly

Calls 2

isTransitionMethod · 0.80
createMethod · 0.45

Tested by

no test coverage detected