public final class RegexFlags extends AbstractConstantKeysObject implements JsonConvertible
AbstractConstantKeysObject.IsMemberReadable, AbstractConstantKeysObject.ReadMember| Modifier and Type | Field and Description |
|---|---|
static RegexFlags |
DEFAULT |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
TruffleReadOnlyKeysArray |
getKeys() |
String |
getSource() |
int |
hashCode() |
boolean |
hasIndices() |
boolean |
isDotAll() |
boolean |
isGlobal() |
boolean |
isIgnoreCase() |
boolean |
isMultiline() |
boolean |
isNone() |
boolean |
isSticky() |
boolean |
isUnicode() |
static RegexFlags |
parseFlags(RegexSource source) |
Object |
readMemberImpl(String symbol) |
Object |
toDisplayString(boolean allowSideEffects) |
JsonValue |
toJson() |
String |
toString() |
getMembers, hasMembersgetLanguage, hasLanguagepublic static final RegexFlags DEFAULT
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 isNone()
public JsonValue toJson()
toJson in interface JsonConvertiblepublic TruffleReadOnlyKeysArray getKeys()
getKeys 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