Class StringFunctionBuiltins.DedentTemplateStringsArrayNode

java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.js.nodes.JavaScriptBaseNode
com.oracle.truffle.js.builtins.StringFunctionBuiltins.DedentTemplateStringsArrayNode
All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface, Cloneable
Enclosing class:
StringFunctionBuiltins

public abstract static class StringFunctionBuiltins.DedentTemplateStringsArrayNode extends JavaScriptBaseNode
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.oracle.truffle.api.nodes.Node

    com.oracle.truffle.api.nodes.Node.Child, com.oracle.truffle.api.nodes.Node.Children
  • Method Summary

    Modifier and Type
    Method
    Description
    protected static int
    convertDigit(int ch, int base)
     
    protected final JSArrayObject
    dedentTemplateStringsArray(Object template, JSContext context, JSToObjectNode rawToObjectNode, com.oracle.truffle.api.profiles.InlinedConditionProfile emptyProf, com.oracle.truffle.api.profiles.InlinedBranchProfile errorBranch, com.oracle.truffle.api.profiles.InlinedBranchProfile growBranch, com.oracle.truffle.api.strings.TruffleString.CreateCodePointIteratorNode createCodePointIterator, JSCollectionsNormalizeNode collectionsNormalize)
     
    protected abstract JSArrayObject
    execute(Object template, JSContext context)
     

    Methods inherited from class com.oracle.truffle.js.nodes.JavaScriptBaseNode

    copy, getJSContext, getLanguage, getLanguageOptions, getRealm, hasOverloadedOperators, onReplace

    Methods inherited from class com.oracle.truffle.api.nodes.Node

    accept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecialize, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Method Details

    • execute

      protected abstract JSArrayObject execute(Object template, JSContext context)
    • dedentTemplateStringsArray

      protected final JSArrayObject dedentTemplateStringsArray(Object template, JSContext context, JSToObjectNode rawToObjectNode, com.oracle.truffle.api.profiles.InlinedConditionProfile emptyProf, com.oracle.truffle.api.profiles.InlinedBranchProfile errorBranch, com.oracle.truffle.api.profiles.InlinedBranchProfile growBranch, com.oracle.truffle.api.strings.TruffleString.CreateCodePointIteratorNode createCodePointIterator, JSCollectionsNormalizeNode collectionsNormalize)
    • convertDigit

      protected static int convertDigit(int ch, int base)