Class StringPrototypeBuiltins.JSStringCharCodeAtNode.Inlined

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

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

  • Method Details

    • charCodeAtGeneric

      protected Object charCodeAtGeneric(Object thisObj, Object indexObj, com.oracle.truffle.api.strings.TruffleString.ReadCharUTF16Node readChar, JSToNumberNode toNumberNode, com.oracle.truffle.api.profiles.InlinedConditionProfile indexOutOfBounds)
      Overrides:
      charCodeAtGeneric in class StringPrototypeBuiltins.JSStringCharCodeAtNode
    • executeWithArguments

      protected abstract Object executeWithArguments(Object arg0, Object arg1)
    • 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)