public final class JSLanguageOptions extends Record
JSContextOptions,
JSParserOptions| Constructor and Description |
|---|
JSLanguageOptions(int ecmaScriptVersion,
boolean strict,
boolean annexB,
boolean intl402,
boolean regexpMatchIndices,
boolean regexpUnicodeSets,
boolean sharedArrayBuffer,
boolean v8RealmBuiltin,
boolean nashornCompatibilityMode,
int stackTraceLimit,
boolean parseOnly,
boolean zoneRulesBasedTimeZones,
boolean agentCanBlock,
boolean printNoNewline,
boolean commonJSRequire,
boolean awaitOptimization,
boolean allowEval,
boolean disableWith,
boolean regexDumpAutomata,
boolean regexStepExecution,
boolean regexAlwaysEager,
boolean scriptEngineGlobalScopeImport,
boolean hasForeignObjectPrototype,
boolean hasForeignHashProperties,
long functionArgumentsLimit,
boolean test262Mode,
boolean testV8Mode,
boolean validateRegExpLiterals,
int functionConstructorCacheSize,
int regexCacheSize,
int stringLengthLimit,
boolean stringLazySubstrings,
boolean bindMemberFunctions,
boolean regexRegressionTestMode,
boolean testCloneUninitialized,
boolean lazyTranslation,
int maxTypedArrayLength,
int maxApplyArgumentLength,
int maxPrototypeChainLength,
boolean asyncStackTraces,
int propertyCacheLimit,
int functionCacheLimit,
boolean topLevelAwait,
boolean useUTCForLegacyDates,
boolean webAssembly,
boolean newSetMethods,
boolean temporal,
boolean iteratorHelpers,
boolean asyncIteratorHelpers,
boolean shadowRealm,
boolean asyncContext,
boolean v8Intrinsics,
JSContextOptions.UnhandledRejectionsTrackingMode unhandledRejectionsMode,
boolean operatorOverloading,
boolean errorCause,
boolean importAttributes,
boolean jsonModules,
boolean wasmBigInt,
boolean esmEvalReturnsExports,
boolean isMLEMode,
boolean privateFieldsIn,
boolean esmBareSpecifierRelativeLookup,
boolean scopeOptimization,
boolean bigInt,
boolean classFields,
boolean shebang,
boolean syntaxExtensions,
boolean scripting,
boolean functionStatementError,
boolean constAsVar,
boolean profileTime,
String locale) |
public JSLanguageOptions(int ecmaScriptVersion,
boolean strict,
boolean annexB,
boolean intl402,
boolean regexpMatchIndices,
boolean regexpUnicodeSets,
boolean sharedArrayBuffer,
boolean v8RealmBuiltin,
boolean nashornCompatibilityMode,
int stackTraceLimit,
boolean parseOnly,
boolean zoneRulesBasedTimeZones,
boolean agentCanBlock,
boolean printNoNewline,
boolean commonJSRequire,
boolean awaitOptimization,
boolean allowEval,
boolean disableWith,
boolean regexDumpAutomata,
boolean regexStepExecution,
boolean regexAlwaysEager,
boolean scriptEngineGlobalScopeImport,
boolean hasForeignObjectPrototype,
boolean hasForeignHashProperties,
long functionArgumentsLimit,
boolean test262Mode,
boolean testV8Mode,
boolean validateRegExpLiterals,
int functionConstructorCacheSize,
int regexCacheSize,
int stringLengthLimit,
boolean stringLazySubstrings,
boolean bindMemberFunctions,
boolean regexRegressionTestMode,
boolean testCloneUninitialized,
boolean lazyTranslation,
int maxTypedArrayLength,
int maxApplyArgumentLength,
int maxPrototypeChainLength,
boolean asyncStackTraces,
int propertyCacheLimit,
int functionCacheLimit,
boolean topLevelAwait,
boolean useUTCForLegacyDates,
boolean webAssembly,
boolean newSetMethods,
boolean temporal,
boolean iteratorHelpers,
boolean asyncIteratorHelpers,
boolean shadowRealm,
boolean asyncContext,
boolean v8Intrinsics,
JSContextOptions.UnhandledRejectionsTrackingMode unhandledRejectionsMode,
boolean operatorOverloading,
boolean errorCause,
boolean importAttributes,
boolean jsonModules,
boolean wasmBigInt,
boolean esmEvalReturnsExports,
boolean isMLEMode,
boolean privateFieldsIn,
boolean esmBareSpecifierRelativeLookup,
boolean scopeOptimization,
boolean bigInt,
boolean classFields,
boolean shebang,
boolean syntaxExtensions,
boolean scripting,
boolean functionStatementError,
boolean constAsVar,
boolean profileTime,
String locale)
public static JSLanguageOptions fromOptionValues(org.graalvm.polyglot.SandboxPolicy sandboxPolicy, org.graalvm.options.OptionValues optionValues)
public static JSLanguageOptions fromContextOptions(JSContextOptions options)
public int ecmaScriptVersion()
public boolean strict()
public boolean annexB()
public boolean intl402()
public boolean regexpMatchIndices()
public boolean regexpUnicodeSets()
public boolean sharedArrayBuffer()
public boolean v8RealmBuiltin()
public boolean nashornCompatibilityMode()
public int stackTraceLimit()
public boolean parseOnly()
public boolean zoneRulesBasedTimeZones()
public boolean agentCanBlock()
public boolean printNoNewline()
public boolean commonJSRequire()
public boolean awaitOptimization()
public boolean allowEval()
public boolean disableWith()
public boolean regexDumpAutomata()
public boolean regexStepExecution()
public boolean regexAlwaysEager()
public boolean scriptEngineGlobalScopeImport()
public boolean hasForeignObjectPrototype()
public boolean hasForeignHashProperties()
public long functionArgumentsLimit()
public boolean test262Mode()
public boolean testV8Mode()
public boolean validateRegExpLiterals()
public int functionConstructorCacheSize()
public int regexCacheSize()
public int stringLengthLimit()
public boolean stringLazySubstrings()
public boolean bindMemberFunctions()
public boolean regexRegressionTestMode()
public boolean testCloneUninitialized()
public boolean lazyTranslation()
public int maxTypedArrayLength()
public int maxApplyArgumentLength()
public int maxPrototypeChainLength()
public boolean asyncStackTraces()
public int propertyCacheLimit()
public int functionCacheLimit()
public boolean topLevelAwait()
public boolean useUTCForLegacyDates()
public boolean webAssembly()
public boolean newSetMethods()
public boolean temporal()
public boolean iteratorHelpers()
public boolean asyncIteratorHelpers()
public boolean shadowRealm()
public boolean asyncContext()
public boolean v8Intrinsics()
public JSContextOptions.UnhandledRejectionsTrackingMode unhandledRejectionsMode()
public boolean operatorOverloading()
public boolean errorCause()
public boolean importAttributes()
public boolean jsonModules()
public boolean wasmBigInt()
public boolean esmEvalReturnsExports()
public boolean isMLEMode()
public boolean privateFieldsIn()
public boolean esmBareSpecifierRelativeLookup()
public boolean scopeOptimization()
public boolean bigInt()
public boolean classFields()
public boolean shebang()
public boolean syntaxExtensions()
public boolean scripting()
public boolean functionStatementError()
public boolean constAsVar()
public boolean profileTime()
public String locale()