Package com.oracle.truffle.api.strings
Class TruffleString.GetCodeRangeImpreciseNode
java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.api.strings.TruffleString.GetCodeRangeImpreciseNode
- All Implemented Interfaces:
NodeInterface
,Cloneable
- Enclosing class:
TruffleString
Node to get a string's possibly imprecise
TruffleString.CodeRange
.- Since:
- 23.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.oracle.truffle.api.nodes.Node
Node.Child, Node.Children
-
Method Summary
Modifier and TypeMethodDescriptioncreate()
Create a newTruffleString.GetCodeRangeImpreciseNode
.abstract TruffleString.CodeRange
execute
(AbstractTruffleString a, TruffleString.Encoding expectedEncoding) Get the string's possibly impreciseTruffleString.CodeRange
.Get the uncached version ofTruffleString.GetCodeRangeImpreciseNode
.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
public abstract TruffleString.CodeRange execute(AbstractTruffleString a, TruffleString.Encoding expectedEncoding) Get the string's possibly impreciseTruffleString.CodeRange
. This node will never attempt to calculate a more precise code range, instead it will only return what is currently known.- Since:
- 23.0
-
create
Create a newTruffleString.GetCodeRangeImpreciseNode
.- Since:
- 23.0
-
getUncached
Get the uncached version ofTruffleString.GetCodeRangeImpreciseNode
.- Since:
- 23.0
-