Class RegexCompilerInterface
java.lang.Object
com.oracle.truffle.js.runtime.RegexCompilerInterface
-
Method Summary
Modifier and TypeMethodDescriptionstatic Objectcompile(com.oracle.truffle.api.strings.TruffleString pattern, com.oracle.truffle.api.strings.TruffleString flags, JSContext context, JSRealm realm) static Objectstatic Objectcompile(String pattern, String flags, JSContext context, JSRealm realm, com.oracle.truffle.api.interop.InteropLibrary isCompiledRegexNull) static com.oracle.truffle.api.source.Sourcestatic voidstatic voidvalidateFlags(String flags, int ecmaScriptVersion, boolean nashornCompat, boolean allowHasIndices, boolean allowUnicodeSets)
-
Method Details
-
compile
-
compile
-
compile
-
createRegexSource
-
validate
-
validateFlags
public static void validateFlags(String flags, int ecmaScriptVersion, boolean nashornCompat, boolean allowHasIndices, boolean allowUnicodeSets)
-