public final class RubyFlags extends AbstractConstantKeysObject
AbstractConstantKeysObject.IsMemberReadable, AbstractConstantKeysObject.ReadMember| Modifier and Type | Field and Description |
|---|---|
static RubyFlags |
EMPTY_INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
RubyFlags |
addFlag(int flagChar) |
RubyFlags |
delFlag(int flagChar) |
boolean |
equals(Object other) |
TruffleReadOnlyKeysArray |
getKeys() |
boolean |
hasFlag(int flagChar) |
int |
hashCode() |
boolean |
isAscii() |
static boolean |
isBitFlag(int candidateChar) |
boolean |
isDefault() |
boolean |
isExtended() |
boolean |
isIgnoreCase() |
boolean |
isMemberReadableImpl(String symbol) |
boolean |
isMultiline() |
boolean |
isSticky() |
static boolean |
isTypeFlag(int candidateChar) |
boolean |
isUnicode() |
static boolean |
isValidFlagChar(int candidateChar) |
Object |
readMemberImpl(String symbol) |
Object |
toDisplayString(boolean allowSideEffects) |
String |
toString() |
getMembers, hasMemberscreateNamedCaptureGroupMapInt, createNamedCaptureGroupMapListInt, getLanguage, hasLanguagepublic static final RubyFlags EMPTY_INSTANCE
public RubyFlags(String source)
public boolean hasFlag(int flagChar)
public boolean isIgnoreCase()
public boolean isMultiline()
public boolean isExtended()
public boolean isSticky()
public boolean isAscii()
public boolean isDefault()
public boolean isUnicode()
public RubyFlags addFlag(int flagChar)
public RubyFlags delFlag(int flagChar)
public static boolean isValidFlagChar(int candidateChar)
public static boolean isBitFlag(int candidateChar)
public static boolean isTypeFlag(int candidateChar)
public Object toDisplayString(boolean allowSideEffects)
toDisplayString in class AbstractRegexObjectpublic 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.UnknownIdentifierException