Class TruffleString.IsValidNode
java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.api.strings.TruffleString.IsValidNode
- All Implemented Interfaces:
NodeInterface, Cloneable
- Enclosing class:
TruffleString
Node to check if a string is encoded correctly.
- Since:
- 22.1
-
Nested Class Summary
Nested classes/interfaces inherited from class Node
Node.Child, Node.Children
-
Method Summary
Modifier and TypeMethodDescriptionstatic TruffleString.IsValidNode
create()
Create a newTruffleString.IsValidNode
.abstract boolean
execute
(AbstractTruffleString a, TruffleString.Encoding expectedEncoding) Returnstrue
if the string encoded correctly.static TruffleString.IsValidNode
Get the uncached version ofTruffleString.IsValidNode
.Methods inherited from class Node
accept, adoptChildren, atomic, atomic, copy, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, onReplace, replace, replace, reportPolymorphicSpecialize, reportReplace, toString
-
Method Details
-
execute
Returnstrue
if the string encoded correctly.- Since:
- 22.1
-
create
Create a newTruffleString.IsValidNode
.- Since:
- 22.1
-
getUncached
Get the uncached version ofTruffleString.IsValidNode
.- Since:
- 22.1
-