MCPcopy
hub / github.com/webpack/webpack / parse

Method parse

lib/Parser.js:35–39  ·  lib/Parser.js::Parser.parse

* Parses the provided source and updates the parser state. * @abstract * @param {string | Buffer | PreparsedAst} source the source to parse * @param {ParserState} state the parser state * @returns {ParserState} the parser state

(source, state)

Source from the content-addressed store, hash-verified

33 * @returns {ParserState} the parser state
34 */
35 parse(source, state) {
36 const AbstractMethodError = require(class="st">"./errors/AbstractMethodError");
37
38 throw new AbstractMethodError();
39 }
40}
41
42module.exports = Parser;

Callers 9

_getManagedItemInfoMethod · 0.45
_createLoaderContextMethod · 0.45
buildMethod · 0.45
matchModuleReferenceMethod · 0.45
fib-worker.jsFile · 0.45
meriyahParseFunction · 0.45
acornParseFunction · 0.45
fib-worker.jsFile · 0.45

Calls 1

requireFunction · 0.50

Tested by

no test coverage detected