Class TRegexUtil.TRegexNamedCaptureGroupsAccessor

java.lang.Object
com.oracle.truffle.js.runtime.util.TRegexUtil.TRegexNamedCaptureGroupsAccessor
Enclosing class:
TRegexUtil

public static final class TRegexUtil.TRegexNamedCaptureGroupsAccessor extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    static int[]
    getGroupNumbers(Object namedCaptureGroupsMap, com.oracle.truffle.api.strings.TruffleString name, com.oracle.truffle.api.interop.InteropLibrary libMap, com.oracle.truffle.api.interop.InteropLibrary libArray, TRegexUtil.InteropToIntNode toIntNode, com.oracle.truffle.api.nodes.Node node)
     
    static boolean
    hasGroup(Object namedCaptureGroupsMap, com.oracle.truffle.api.strings.TruffleString name, com.oracle.truffle.api.interop.InteropLibrary interop)
     
    static boolean
    isNull(Object namedCaptureGroupsMap, com.oracle.truffle.api.interop.InteropLibrary interop)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • isNull

      public static boolean isNull(Object namedCaptureGroupsMap, com.oracle.truffle.api.interop.InteropLibrary interop)
    • hasGroup

      public static boolean hasGroup(Object namedCaptureGroupsMap, com.oracle.truffle.api.strings.TruffleString name, com.oracle.truffle.api.interop.InteropLibrary interop)
    • getGroupNumbers

      public static int[] getGroupNumbers(Object namedCaptureGroupsMap, com.oracle.truffle.api.strings.TruffleString name, com.oracle.truffle.api.interop.InteropLibrary libMap, com.oracle.truffle.api.interop.InteropLibrary libArray, TRegexUtil.InteropToIntNode toIntNode, com.oracle.truffle.api.nodes.Node node)