Class JSConcatStringsNode

java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.js.nodes.JavaScriptBaseNode
com.oracle.truffle.js.nodes.binary.JSConcatStringsNode
All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface, Cloneable

public abstract class JSConcatStringsNode 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
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final int
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    JSConcatStringsNode(int stringLengthLimit)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    create(int stringLengthLimit)
     
    protected final com.oracle.truffle.api.strings.TruffleString
    doConcat(com.oracle.truffle.api.strings.TruffleString left, com.oracle.truffle.api.strings.TruffleString right, com.oracle.truffle.api.profiles.InlinedBranchProfile errorBranch, com.oracle.truffle.api.strings.TruffleString.ConcatNode concatNode)
     
    abstract com.oracle.truffle.api.strings.TruffleString
    executeTString(com.oracle.truffle.api.strings.TruffleString a, com.oracle.truffle.api.strings.TruffleString b)
     

    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, reportReplace, toString

    Methods inherited from class Object

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

    • stringLengthLimit

      protected final int stringLengthLimit
  • Constructor Details

    • JSConcatStringsNode

      protected JSConcatStringsNode(int stringLengthLimit)
  • Method Details

    • create

      public static JSConcatStringsNode create(int stringLengthLimit)
    • create

      public static JSConcatStringsNode create()
    • executeTString

      public abstract com.oracle.truffle.api.strings.TruffleString executeTString(com.oracle.truffle.api.strings.TruffleString a, com.oracle.truffle.api.strings.TruffleString b)
    • doConcat

      protected final com.oracle.truffle.api.strings.TruffleString doConcat(com.oracle.truffle.api.strings.TruffleString left, com.oracle.truffle.api.strings.TruffleString right, com.oracle.truffle.api.profiles.InlinedBranchProfile errorBranch, com.oracle.truffle.api.strings.TruffleString.ConcatNode concatNode)