public abstract class JSTrimWhitespaceNode extends JavaScriptBaseNode
| Constructor and Description |
|---|
JSTrimWhitespaceNode() |
| Modifier and Type | Method and Description |
|---|---|
static JSTrimWhitespaceNode |
create() |
protected com.oracle.truffle.api.strings.TruffleString |
doString(com.oracle.truffle.api.strings.TruffleString string,
com.oracle.truffle.api.strings.TruffleString.ReadCharUTF16Node readRawNode,
com.oracle.truffle.api.profiles.InlinedConditionProfile isFastNonWhitespace,
com.oracle.truffle.api.profiles.InlinedConditionProfile isFastWhitespace,
com.oracle.truffle.api.strings.TruffleString.SubstringByteIndexNode substringNode,
com.oracle.truffle.api.profiles.InlinedBranchProfile startsWithWhitespaceBranch,
com.oracle.truffle.api.profiles.InlinedBranchProfile endsWithWhitespaceBranch,
com.oracle.truffle.api.profiles.InlinedConditionProfile isEmpty) |
protected static com.oracle.truffle.api.strings.TruffleString |
doStringNoWhitespace(com.oracle.truffle.api.strings.TruffleString string,
com.oracle.truffle.api.strings.TruffleString.ReadCharUTF16Node readRawNode,
com.oracle.truffle.api.profiles.InlinedConditionProfile isFastNonWhitespace,
com.oracle.truffle.api.profiles.InlinedConditionProfile isFastWhitespace) |
protected static com.oracle.truffle.api.strings.TruffleString |
doStringZero(com.oracle.truffle.api.strings.TruffleString string) |
abstract com.oracle.truffle.api.strings.TruffleString |
executeString(com.oracle.truffle.api.strings.TruffleString operand) |
protected boolean |
startsOrEndsWithWhitespace(com.oracle.truffle.api.strings.TruffleString.ReadCharUTF16Node readRawNode,
com.oracle.truffle.api.strings.TruffleString string,
com.oracle.truffle.api.profiles.InlinedConditionProfile isFastNonWhitespace,
com.oracle.truffle.api.profiles.InlinedConditionProfile isFastWhitespace) |
copy, getLanguage, getRealm, hasOverloadedOperators, onReplaceaccept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecialize, toStringpublic static JSTrimWhitespaceNode create()
public abstract com.oracle.truffle.api.strings.TruffleString executeString(com.oracle.truffle.api.strings.TruffleString operand)
protected boolean startsOrEndsWithWhitespace(com.oracle.truffle.api.strings.TruffleString.ReadCharUTF16Node readRawNode,
com.oracle.truffle.api.strings.TruffleString string,
com.oracle.truffle.api.profiles.InlinedConditionProfile isFastNonWhitespace,
com.oracle.truffle.api.profiles.InlinedConditionProfile isFastWhitespace)
protected static com.oracle.truffle.api.strings.TruffleString doStringZero(com.oracle.truffle.api.strings.TruffleString string)
protected static com.oracle.truffle.api.strings.TruffleString doStringNoWhitespace(com.oracle.truffle.api.strings.TruffleString string,
com.oracle.truffle.api.strings.TruffleString.ReadCharUTF16Node readRawNode,
com.oracle.truffle.api.profiles.InlinedConditionProfile isFastNonWhitespace,
com.oracle.truffle.api.profiles.InlinedConditionProfile isFastWhitespace)
protected final com.oracle.truffle.api.strings.TruffleString doString(com.oracle.truffle.api.strings.TruffleString string,
com.oracle.truffle.api.strings.TruffleString.ReadCharUTF16Node readRawNode,
com.oracle.truffle.api.profiles.InlinedConditionProfile isFastNonWhitespace,
com.oracle.truffle.api.profiles.InlinedConditionProfile isFastWhitespace,
com.oracle.truffle.api.strings.TruffleString.SubstringByteIndexNode substringNode,
com.oracle.truffle.api.profiles.InlinedBranchProfile startsWithWhitespaceBranch,
com.oracle.truffle.api.profiles.InlinedBranchProfile endsWithWhitespaceBranch,
com.oracle.truffle.api.profiles.InlinedConditionProfile isEmpty)