package
0.0.0-20231204172717-b0039aa655e3
Repository: https://github.com/onlpsec/gojs.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