package
0.0.0-20240909071441-9f880cd364be
Repository: https://github.com/aaronchen2k/deeptest.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
New returns a new Compiler.
No description provided by the author
# Constants
CompatibilityModeBase is standard goja ES5.1+.
CompatibilityModeExtended achieves ES6+ compatibility with Babel.
# Variables
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
A Compiler compiles JavaScript source code (ES5.1 or ES6) into a goja.Program.
No description provided by the author
No description provided by the author
Options are options to the compiler.
Pool is a pool of compilers so it can be used easier in parallel tests as they have their own babel.
# Type aliases
CompatibilityMode specifies the JS compatibility mode
nolint:lllgo:generate enumer -type=CompatibilityMode -transform=snake -trimprefix CompatibilityMode -output compatibility_mode_gen.go.