Class StringPrototypeBuiltins.JSStringSubstringNode.Inlined

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

public abstract static class StringPrototypeBuiltins.JSStringSubstringNode.Inlined extends StringPrototypeBuiltins.JSStringSubstringNode implements JSBuiltinNode.Inlined
  • Constructor Details

  • Method Details

    • substringGeneric

      protected com.oracle.truffle.api.strings.TruffleString substringGeneric(Object thisObj, Object start, Object end, JSToNumberNode toNumberNode, JSToNumberNode toNumber2Node, com.oracle.truffle.api.profiles.InlinedConditionProfile startUndefined, com.oracle.truffle.api.profiles.InlinedConditionProfile endUndefined, com.oracle.truffle.api.strings.TruffleString.SubstringByteIndexNode substringNode, com.oracle.truffle.api.profiles.InlinedConditionProfile startLowerEnd)
      Overrides:
      substringGeneric in class StringPrototypeBuiltins.JSStringSubstringNode
    • executeWithArguments

      protected abstract Object executeWithArguments(Object arg0, Object arg1, Object arg2)
    • callInlined

      public Object callInlined(Object[] arguments)
      Specified by:
      callInlined in interface JSBuiltinNode.Inlined
    • 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)