Class StringPrototypeBuiltins.JSStringConcatNode

All Implemented Interfaces:
com.oracle.truffle.api.instrumentation.InstrumentableNode, com.oracle.truffle.api.nodes.NodeInterface, Cloneable
Enclosing class:
StringPrototypeBuiltins

public abstract static class StringPrototypeBuiltins.JSStringConcatNode extends JSBuiltinNode
Implementation of the String.prototype.concat() method as specified by ECMAScript 5.1 in 15.5.4.6.
  • Constructor Details

  • Method Details

    • concat

      protected Object concat(Object thisObj, Object[] args, JSToStringNode toString2Node, com.oracle.truffle.api.strings.TruffleStringBuilder.AppendStringNode appendStringNode, com.oracle.truffle.api.strings.TruffleStringBuilder.ToStringNode sbToStringNode)
    • within

      protected static int within(int value, int min, int max)
    • withinNumber

      protected static int withinNumber(Number value, int min, int max)
    • requireObjectCoercible

      protected final void requireObjectCoercible(Object target)
    • toString

      protected com.oracle.truffle.api.strings.TruffleString toString(Object target)
    • toIntegerAsInt

      protected int toIntegerAsInt(Object target)