Class RegexProperties
java.lang.Object
com.oracle.truffle.regex.tregex.parser.RegexProperties
- All Implemented Interfaces:
JsonConvertible
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanprotected booleangetFlag(int flag) intintbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanReturnstrueiff noCharacterClassnode in the expression may match a variable amount of array slots in an encoded string.voidvoidvoidvoidvoidvoidvoidvoidvoidvoidsetInnerLiteral(int start, int end) voidvoidvoidvoidvoidvoidvoidvoidvoidvoidtoJson()voidvoid
-
Constructor Details
-
RegexProperties
public RegexProperties()
-
-
Method Details
-
getFlag
protected boolean getFlag(int flag) -
hasAlternations
public boolean hasAlternations() -
setAlternations
public void setAlternations() -
hasCaptureGroups
public boolean hasCaptureGroups() -
setCaptureGroups
public void setCaptureGroups() -
hasEmptyCaptureGroups
public boolean hasEmptyCaptureGroups() -
setEmptyCaptureGroups
public void setEmptyCaptureGroups() -
hasAtomicGroups
public boolean hasAtomicGroups() -
setAtomicGroups
public void setAtomicGroups() -
hasCharClasses
public boolean hasCharClasses() -
setCharClasses
public void setCharClasses() -
hasLoneSurrogates
public boolean hasLoneSurrogates() -
setLoneSurrogates
public void setLoneSurrogates() -
hasQuantifiers
public boolean hasQuantifiers() -
setQuantifiers
public void setQuantifiers() -
hasLookAroundAssertions
public boolean hasLookAroundAssertions() -
hasLookAheadAssertions
public boolean hasLookAheadAssertions() -
setLookAheadAssertions
public void setLookAheadAssertions() -
hasNegativeLookAheadAssertions
public boolean hasNegativeLookAheadAssertions() -
setNegativeLookAheadAssertions
public void setNegativeLookAheadAssertions() -
hasLookBehindAssertions
public boolean hasLookBehindAssertions() -
setLookBehindAssertions
public void setLookBehindAssertions() -
hasNonLiteralLookBehindAssertions
public boolean hasNonLiteralLookBehindAssertions() -
setNonLiteralLookBehindAssertions
public void setNonLiteralLookBehindAssertions() -
hasNegativeLookBehindAssertions
public boolean hasNegativeLookBehindAssertions() -
setNegativeLookBehindAssertions
public void setNegativeLookBehindAssertions() -
hasLargeCountedRepetitions
public boolean hasLargeCountedRepetitions() -
setLargeCountedRepetitions
public void setLargeCountedRepetitions() -
charClassesCanBeMatchedWithMask
public boolean charClassesCanBeMatchedWithMask() -
unsetCharClassesCanBeMatchedWithMask
public void unsetCharClassesCanBeMatchedWithMask() -
isFixedCodePointWidth
public boolean isFixedCodePointWidth()Returnstrueiff noCharacterClassnode in the expression may match a variable amount of array slots in an encoded string. -
unsetFixedCodePointWidth
public void unsetFixedCodePointWidth() -
setInnerLiteral
public void setInnerLiteral(int start, int end) -
hasInnerLiteral
public boolean hasInnerLiteral() -
getInnerLiteralStart
public int getInnerLiteralStart() -
getInnerLiteralEnd
public int getInnerLiteralEnd() -
hasCaptureGroupsInLookAroundAssertions
public boolean hasCaptureGroupsInLookAroundAssertions() -
setCaptureGroupsInLookAroundAssertions
public void setCaptureGroupsInLookAroundAssertions() -
hasBackReferences
public boolean hasBackReferences() -
setBackReferences
public void setBackReferences() -
hasRecursiveBackReferences
public boolean hasRecursiveBackReferences() -
setRecursiveBackReferences
public void setRecursiveBackReferences() -
hasNestedLookBehindAssertions
public boolean hasNestedLookBehindAssertions() -
setNestedLookBehindAssertions
public void setNestedLookBehindAssertions() -
hasConditionalBackReferences
public boolean hasConditionalBackReferences() -
setConditionalBackReferences
public void setConditionalBackReferences() -
hasConditionalReferencesIntoLookAheads
public boolean hasConditionalReferencesIntoLookAheads() -
setConditionalReferencesIntoLookAheads
public void setConditionalReferencesIntoLookAheads() -
toJson
- Specified by:
toJsonin interfaceJsonConvertible
-