Class CompileRegexNode
java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.js.nodes.JavaScriptBaseNode
com.oracle.truffle.js.nodes.CompileRegexNode
- All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface,Cloneable
-
Nested Class Summary
Nested classes/interfaces inherited from class com.oracle.truffle.api.nodes.Node
com.oracle.truffle.api.nodes.Node.Child, com.oracle.truffle.api.nodes.Node.Children -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal Objectfinal Objectstatic CompileRegexNodeprotected ObjectdoCompile(com.oracle.truffle.api.strings.TruffleString pattern, com.oracle.truffle.api.strings.TruffleString flags, com.oracle.truffle.api.strings.TruffleString.ToJavaStringNode toJavaString) protected ObjectdoCompileNoTrimCache(com.oracle.truffle.api.strings.TruffleString pattern, com.oracle.truffle.api.strings.TruffleString flags, com.oracle.truffle.api.strings.TruffleString.ToJavaStringNode toJavaString) protected abstract ObjectexecuteCompile(Object pattern, Object flags) protected ObjectgetCached(com.oracle.truffle.api.strings.TruffleString pattern, com.oracle.truffle.api.strings.TruffleString flags, com.oracle.truffle.api.strings.TruffleString cachedPattern, com.oracle.truffle.api.strings.TruffleString cachedFlags, com.oracle.truffle.api.utilities.AssumedValue<Object> cachedCompiledRegex, com.oracle.truffle.api.strings.TruffleString.EqualNode equalsNode, com.oracle.truffle.api.strings.TruffleString.EqualNode equalsNode2, com.oracle.truffle.api.strings.TruffleString.ToJavaStringNode toJavaString) protected static booleanstringEquals(com.oracle.truffle.api.strings.TruffleString.EqualNode node, com.oracle.truffle.api.strings.TruffleString a, com.oracle.truffle.api.strings.TruffleString b) Methods inherited from class com.oracle.truffle.js.nodes.JavaScriptBaseNode
copy, getJSContext, getLanguage, getLanguageOptions, getRealm, hasOverloadedOperators, onReplaceMethods inherited from class com.oracle.truffle.api.nodes.Node
accept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecialize, toString
-
Constructor Details
-
CompileRegexNode
-
-
Method Details
-
create
-
compile
-
compile
-
executeCompile
-
getCached
protected Object getCached(com.oracle.truffle.api.strings.TruffleString pattern, com.oracle.truffle.api.strings.TruffleString flags, com.oracle.truffle.api.strings.TruffleString cachedPattern, com.oracle.truffle.api.strings.TruffleString cachedFlags, com.oracle.truffle.api.utilities.AssumedValue<Object> cachedCompiledRegex, com.oracle.truffle.api.strings.TruffleString.EqualNode equalsNode, com.oracle.truffle.api.strings.TruffleString.EqualNode equalsNode2, com.oracle.truffle.api.strings.TruffleString.ToJavaStringNode toJavaString) -
stringEquals
protected static boolean stringEquals(com.oracle.truffle.api.strings.TruffleString.EqualNode node, com.oracle.truffle.api.strings.TruffleString a, com.oracle.truffle.api.strings.TruffleString b) -
doCompileNoTrimCache
protected Object doCompileNoTrimCache(com.oracle.truffle.api.strings.TruffleString pattern, com.oracle.truffle.api.strings.TruffleString flags, com.oracle.truffle.api.strings.TruffleString.ToJavaStringNode toJavaString) -
doCompile
protected Object doCompile(com.oracle.truffle.api.strings.TruffleString pattern, com.oracle.truffle.api.strings.TruffleString flags, com.oracle.truffle.api.strings.TruffleString.ToJavaStringNode toJavaString)
-