Class OracleDBFlags
java.lang.Object
com.oracle.truffle.regex.AbstractRegexObject
com.oracle.truffle.regex.AbstractConstantKeysObject
com.oracle.truffle.regex.tregex.parser.flavors.OracleDBFlags
- All Implemented Interfaces:
com.oracle.truffle.api.interop.TruffleObject
An immutable representation of a set of OracleDB regular expression flags (the
match_param parameter).-
Nested Class Summary
Nested classes/interfaces inherited from class com.oracle.truffle.regex.AbstractConstantKeysObject
AbstractConstantKeysObject.IsMemberReadable, AbstractConstantKeysObject.ReadMember -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleangetKeys()inthashCode()booleanisDotAll()booleanbooleanbooleanbooleanisMemberReadableImpl(String symbol) booleanstatic OracleDBFlagsparseFlags(RegexSource source) readMemberImpl(String symbol) toDisplayString(boolean allowSideEffects) toString()Methods inherited from class com.oracle.truffle.regex.AbstractConstantKeysObject
getMembers, hasMembersMethods inherited from class com.oracle.truffle.regex.AbstractRegexObject
createNamedCaptureGroupMapInt, createNamedCaptureGroupMapListInt, getLanguage, hasLanguage
-
Field Details
-
EMPTY_INSTANCE
-
-
Method Details
-
parseFlags
- Throws:
RegexSyntaxException
-
isIgnoreCase
public boolean isIgnoreCase() -
isForceAccentAndCaseSensitive
public boolean isForceAccentAndCaseSensitive() -
isDotAll
public boolean isDotAll() -
isMultiline
public boolean isMultiline() -
isIgnoreWhitespace
public boolean isIgnoreWhitespace() -
equals
-
hashCode
-
toString
-
toDisplayString
- Overrides:
toDisplayStringin classAbstractRegexObject
-
getKeys
- Specified by:
getKeysin classAbstractConstantKeysObject
-
isMemberReadableImpl
- Specified by:
isMemberReadableImplin classAbstractConstantKeysObject
-
readMemberImpl
public Object readMemberImpl(String symbol) throws com.oracle.truffle.api.interop.UnknownIdentifierException - Specified by:
readMemberImplin classAbstractConstantKeysObject- Throws:
com.oracle.truffle.api.interop.UnknownIdentifierException
-