package
1.3.0
Repository: https://github.com/rarnu/goscript.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
ParseFile parses the source code of a single JavaScript/ECMAScript source file and returns the corresponding ast.Program node.
ParseFunction parses a given parameter list and body as a function and returns the corresponding ast.FunctionLiteral node.
No description provided by the author
TransformRegExp transforms a JavaScript pattern into a Go "regexp" pattern.
WithDisableSourceMaps is an option to disable source maps support.
WithSourceMapLoader is an option to set a custom source map loader.

# Constants

Ignore RegExp compatibility errors (allow backtracking).
No description provided by the author
No description provided by the author

# Structs

An Error represents a parsing error.
No description provided by the author
No description provided by the author

# Type aliases

ErrorList is a list of *Errors.
A Mode value is a set of flags (or 0).
Option represents one of the options for the parser to use in the Parse methods.