public final class RegexFlags extends AbstractConstantKeysObject implements JsonConvertible
AbstractConstantKeysObject.IsReadableCacheNode, AbstractConstantKeysObject.ReadCacheNode| 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 |
isDotAll() |
boolean |
isGlobal() |
boolean |
isIgnoreCase() |
boolean |
isMultiline() |
boolean |
isNone() |
boolean |
isSticky() |
boolean |
isUnicode() |
static RegexFlags |
parseFlags(String source) |
Object |
readMemberImpl(String symbol) |
JsonValue |
toJson() |
String |
toString() |
getMembers, hasMembers, isMemberReadable, readMemberpublic static final RegexFlags DEFAULT
public static RegexFlags parseFlags(String 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 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.UnknownIdentifierException