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 com.oracle.truffle.api.nodes.Node
Node.Child, Node.Children -
Method Summary
Modifier and TypeMethodDescriptionstatic TruffleString.IsValidNodecreate()Create a newTruffleString.IsValidNode.abstract booleanexecute(AbstractTruffleString a, TruffleString.Encoding expectedEncoding) Returnstrueif the string encoded correctly.static TruffleString.IsValidNodeGet the uncached version ofTruffleString.IsValidNode.Methods inherited from class com.oracle.truffle.api.nodes.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, toString
-
Method Details
-
execute
Returnstrueif 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
-