public abstract class CompileRegexNode extends JavaScriptBaseNode
Modifier | Constructor and Description |
---|---|
protected |
CompileRegexNode(JSContext context) |
Modifier and Type | Method and Description |
---|---|
Object |
compile(CharSequence pattern,
String flags) |
Object |
compile(String pattern) |
static CompileRegexNode |
create(JSContext context) |
protected Object |
doCompile(String pattern,
String flags) |
protected Object |
doCompileNoTrimCache(String pattern,
String flags) |
protected abstract Object |
executeCompile(CharSequence pattern,
String flags) |
protected Object |
getCached(String pattern,
String flags,
String cachedPattern,
String cachedFlags,
Object cachedCompiledRegex) |
protected static boolean |
stringEquals(String a,
String b) |
copy, onReplace
accept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, lookupContextReference, lookupLanguageReference, notifyInserted, replace, replace, reportPolymorphicSpecialize, toString
protected CompileRegexNode(JSContext context)
public static CompileRegexNode create(JSContext context)
public final Object compile(CharSequence pattern, String flags)
protected abstract Object executeCompile(CharSequence pattern, String flags)
protected Object getCached(String pattern, String flags, String cachedPattern, String cachedFlags, Object cachedCompiledRegex)