Class StringPrototypeBuiltins.JSStringOperationWithRegExpArgument

All Implemented Interfaces:
com.oracle.truffle.api.instrumentation.InstrumentableNode, com.oracle.truffle.api.nodes.NodeInterface, Cloneable
Direct Known Subclasses:
StringPrototypeBuiltins.JSStringMatchES5Node, StringPrototypeBuiltins.JSStringMatchNode, StringPrototypeBuiltins.JSStringReplaceBaseNode, StringPrototypeBuiltins.JSStringSearchES5Node, StringPrototypeBuiltins.JSStringSearchNode, StringPrototypeBuiltins.JSStringSplitNode
Enclosing class:
StringPrototypeBuiltins

public abstract static class StringPrototypeBuiltins.JSStringOperationWithRegExpArgument extends JSBuiltinNode
  • Field Details

  • Constructor Details

    • JSStringOperationWithRegExpArgument

      public JSStringOperationWithRegExpArgument(JSContext context, JSBuiltin builtin)
  • Method Details

    • matchIgnoreLastIndex

      protected final Object matchIgnoreLastIndex(JSRegExpObject regExp, com.oracle.truffle.api.strings.TruffleString input, int fromIndex)
    • getRegExpNode

      protected JSRegExpExecIntlNode getRegExpNode()
    • getRegExpIgnoreLastIndexNode

      protected JSRegExpExecIntlNode.JSRegExpExecIntlIgnoreLastIndexNode getRegExpIgnoreLastIndexNode()
    • call

      protected final Object call(Object function, Object target, Object[] args)
    • invoke

      protected final Object invoke(JSRegExpObject regExp, Symbol symbol, com.oracle.truffle.api.strings.TruffleString thisStr)
    • getMethod

      protected final Object getMethod(Object target, Object key)
    • 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)
    • validateStringLength

      protected final void validateStringLength(String string)