public final class RegexFlags extends AbstractConstantKeysObject implements JsonConvertible
| Modifier and Type | Class and Description |
|---|---|
static class |
RegexFlags.Builder |
AbstractConstantKeysObject.IsMemberReadable, AbstractConstantKeysObject.ReadMember| Modifier and Type | Field and Description |
|---|---|
static RegexFlags |
DEFAULT |
| Modifier and Type | Method and Description |
|---|---|
static RegexFlags.Builder |
builder() |
boolean |
equals(Object obj) |
TruffleReadOnlyKeysArray |
getKeys() |
String |
getSource() |
int |
hashCode() |
boolean |
hasIndices() |
boolean |
isDotAll() |
boolean |
isEitherUnicode() |
boolean |
isGlobal() |
boolean |
isIgnoreCase() |
boolean |
isMemberReadableImpl(String symbol) |
boolean |
isMultiline() |
boolean |
isNone() |
boolean |
isSticky() |
boolean |
isUnicode() |
boolean |
isUnicodeSets() |
static RegexFlags |
parseFlags(RegexSource source) |
Object |
readMemberImpl(String symbol) |
Object |
toDisplayString(boolean allowSideEffects) |
JsonValue |
toJson() |
String |
toString() |
getMembers, hasMemberscreateNamedCaptureGroupMapInt, createNamedCaptureGroupMapListInt, getLanguage, hasLanguagepublic static final RegexFlags DEFAULT
public static RegexFlags.Builder builder()
public static RegexFlags parseFlags(RegexSource source) throws RegexSyntaxException
RegexSyntaxExceptionpublic String getSource()
public boolean isIgnoreCase()
public boolean isMultiline()
public boolean isSticky()
public boolean isGlobal()
public boolean isUnicode()
public boolean isDotAll()
public boolean hasIndices()
public boolean isUnicodeSets()
public boolean isEitherUnicode()
public boolean isNone()
public JsonValue toJson()
toJson in interface JsonConvertiblepublic TruffleReadOnlyKeysArray getKeys()
getKeys in class AbstractConstantKeysObjectpublic boolean isMemberReadableImpl(String symbol)
isMemberReadableImpl in class AbstractConstantKeysObjectpublic Object readMemberImpl(String symbol) throws com.oracle.truffle.api.interop.UnknownIdentifierException
readMemberImpl in class AbstractConstantKeysObjectcom.oracle.truffle.api.interop.UnknownIdentifierExceptionpublic Object toDisplayString(boolean allowSideEffects)
toDisplayString in class AbstractRegexObject