MCPcopy Create free account
hub / github.com/babel/babel / startNode

Function startNode

packages/babel-parser/src/parser/node.ts:52–54  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50 }
51
52 startNode<T extends NodeType = never>(): Undone<T> {
53 return this.startNodeAt<T>(this.state.startLoc);
54 }
55
56 startNodeAt<T extends NodeType = never>(loc: Position): Undone<T> {
57 this.setLoc(loc);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected