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 |
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
getLanguage, hasLanguage, toDisplayString
public static final RegexFlags DEFAULT
public static RegexFlags parseFlags(String source) throws RegexSyntaxException
RegexSyntaxException
public 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 JsonConvertible
public TruffleReadOnlyKeysArray getKeys()
getKeys
in class AbstractConstantKeysObject
public Object readMemberImpl(String symbol) throws com.oracle.truffle.api.interop.UnknownIdentifierException
readMemberImpl
in class AbstractConstantKeysObject
com.oracle.truffle.api.interop.UnknownIdentifierException