Versions in this module Expand all Collapse all v0 v0.2.0 Jul 5, 2026 v0.1.0 Jul 5, 2026 Changes in this version + func Parse(sourceName, source string) (*ast.Program, error) + func ParseEval(sourceName, source string, ec EvalContext) (*ast.Program, error) + func ParseModule(sourceName, source string) (*ast.Program, error) + type EvalContext struct + AllowNewTarget bool + AllowSuperCall bool + AllowSuperProperty bool + InFieldInitializer bool + PrivateNames []string + Strict bool