Class ClassSetContents

java.lang.Object
com.oracle.truffle.regex.charset.ClassSetContents
All Implemented Interfaces:
JsonConvertible

public final class ClassSetContents extends Object implements JsonConvertible
  • Method Details

    • createCharacter

      public static ClassSetContents createCharacter(int codePoint)
    • createUnicodePropertyOfStrings

      public static ClassSetContents createUnicodePropertyOfStrings(CodePointSet codePointSet, org.graalvm.collections.EconomicSet<String> strings)
    • createCharacterClass

      public static ClassSetContents createCharacterClass(CodePointSet codePointSet)
    • createClass

      public static ClassSetContents createClass(CodePointSet codePointSet, org.graalvm.collections.EconomicSet<String> strings, boolean mayContainStrings)
    • createStrings

      public static ClassSetContents createStrings(CodePointSet singleCodePoints, org.graalvm.collections.EconomicSet<String> strings)
    • createRange

      public static ClassSetContents createRange(int lo, int hi)
    • createPOSIXCollationElement

      public static ClassSetContents createPOSIXCollationElement(int codePoint)
    • createPOSIXCollationElement

      public static ClassSetContents createPOSIXCollationElement(String string)
    • createPOSIXCollationEquivalenceClass

      public static ClassSetContents createPOSIXCollationEquivalenceClass(int codePoint)
    • createPOSIXCollationEquivalenceClass

      public static ClassSetContents createPOSIXCollationEquivalenceClass(String string)
    • unionUnicodePropertyOfStrings

      public ClassSetContents unionUnicodePropertyOfStrings(ClassSetContents other)
    • caseFold

    • getStrings

      public org.graalvm.collections.EconomicSet<String> getStrings()
    • getCodePointSet

      public CodePointSet getCodePointSet()
    • isCharacter

      public boolean isCharacter()
    • isCharacterClass

      public boolean isCharacterClass()
    • isRange

      public boolean isRange()
    • isPosixCollationElement

      public boolean isPosixCollationElement()
    • isPosixCollationEquivalenceClass

      public boolean isPosixCollationEquivalenceClass()
    • isAllowedInRange

      public boolean isAllowedInRange()
    • getCodePoint

      public int getCodePoint()
    • isCodePointSetOnly

      public boolean isCodePointSetOnly()
    • mayContainStrings

      public boolean mayContainStrings()
    • toJson

      public JsonValue toJson()
      Specified by:
      toJson in interface JsonConvertible