On this page

class webpack.WebAssemblyParser extends Parser

Defines the parser state base type used by this module.

new WebAssemblyParser(): WebAssemblyParser
parse(source, state): ParserState
Attributes
source:string | Buffer<ArrayBufferLike> | PreparsedAst
Returns:ParserState

Parses the provided source and updates the parser state.