Class RegexFlags
java.lang.Object
com.oracle.truffle.regex.AbstractRegexObject
com.oracle.truffle.regex.AbstractConstantKeysObject
com.oracle.truffle.regex.RegexFlags
- All Implemented Interfaces:
com.oracle.truffle.api.interop.TruffleObject,JsonConvertible
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.oracle.truffle.regex.AbstractConstantKeysObject
AbstractConstantKeysObject.IsMemberReadable, AbstractConstantKeysObject.ReadMember -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic RegexFlags.Builderbuilder()booleangetKeys()inthashCode()booleanbooleanisDotAll()booleanbooleanisGlobal()booleanbooleanisMemberReadableImpl(String symbol) booleanbooleanisNone()booleanisSticky()booleanbooleanstatic RegexFlagsparseFlags(RegexSource source) readMemberImpl(String symbol) toDisplayString(boolean allowSideEffects) toJson()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
-
DEFAULT
-
-
Method Details
-
builder
-
parseFlags
- Throws:
RegexSyntaxException
-
getSource
-
isIgnoreCase
public boolean isIgnoreCase() -
isMultiline
public boolean isMultiline() -
isSticky
public boolean isSticky() -
isGlobal
public boolean isGlobal() -
isUnicode
public boolean isUnicode() -
isDotAll
public boolean isDotAll() -
hasIndices
public boolean hasIndices() -
isUnicodeSets
public boolean isUnicodeSets() -
isEitherUnicode
public boolean isEitherUnicode() -
isNone
public boolean isNone() -
toString
-
hashCode
-
equals
-
toJson
- Specified by:
toJsonin interfaceJsonConvertible
-
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
-
toDisplayString
- Overrides:
toDisplayStringin classAbstractRegexObject
-