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

Function parseStatement

packages/babel-parser/src/parser/statement.ts:382–384  ·  view source on GitHub ↗
(this: Parser)

Source from the content-addressed store, hash-verified

380 // does not help.
381 // https://tc39.es/ecma262/#prod-Statement
382 parseStatement(this: Parser) {
383 return this.parseStatementLike(ParseStatementFlag.StatementOnly);
384 }
385
386 // ImportDeclaration and ExportDeclaration are also handled here so we can throw recoverable errors
387 // when they are not at the top level

Callers

nothing calls this directly

Calls 1

parseStatementLikeMethod · 0.80

Tested by

no test coverage detected