public abstract class JSTrimWhitespaceNode extends JavaScriptBaseNode
Constructor and Description |
---|
JSTrimWhitespaceNode() |
Modifier and Type | Method and Description |
---|---|
static JSTrimWhitespaceNode |
create() |
protected String |
doString(String string,
com.oracle.truffle.api.profiles.BranchProfile needFirstBranch,
com.oracle.truffle.api.profiles.BranchProfile needLastBranch,
com.oracle.truffle.api.profiles.ConditionProfile needSubstring) |
protected String |
doStringNoWhitespace(String string) |
protected String |
doStringZero(String string) |
abstract String |
executeString(String operand) |
protected boolean |
startsOrEndsWithWhitespace(String string) |
copy, onReplace
accept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, lookupContextReference, lookupLanguageReference, notifyInserted, replace, replace, reportPolymorphicSpecialize, toString
public static JSTrimWhitespaceNode create()
protected boolean startsOrEndsWithWhitespace(String string)