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

Function parseDebuggerStatement

packages/babel-parser/src/parser/statement.ts:787–793  ·  view source on GitHub ↗
(
    node: Undone<N.DebuggerStatement>,
  )

Source from the content-addressed store, hash-verified

785 }
786
787 parseDebuggerStatement(
788 node: Undone<N.DebuggerStatement>,
789 ): N.DebuggerStatement {
790 this.next();
791 this.semicolon();
792 return this.finishNode(node, "DebuggerStatement");
793 }
794
795 parseHeaderExpression(this: Parser): N.Expression {
796 this.expect(tt.parenL);

Callers

nothing calls this directly

Calls 3

nextMethod · 0.80
finishNodeMethod · 0.80
semicolonMethod · 0.45

Tested by

no test coverage detected