public final class AtomicGroup extends RegexASTSubtreeRootNode
Used in Ruby regular expressions.
| Modifier and Type | Method and Description |
|---|---|
RegexASTSubtreeRootNode |
copy(RegexAST ast)
Copy this node only, without any child nodes.
|
Term |
copyRecursive(RegexAST ast,
CompilationBuffer compilationBuffer)
Recursively copy this subtree.
|
boolean |
equalsSemantic(RegexASTNode obj) |
int |
getEnclosedCaptureGroupsHigh()
Gets the (exclusive) upper bound of the range of capture groups contained within this group.
|
int |
getEnclosedCaptureGroupsLow()
Gets the (inclusive) lower bound of the range of capture groups contained within this group.
|
String |
getPrefix() |
JsonValue |
toJson() |
getAnchoredFinalState, getAnchoredInitialState, getGlobalSubTreeId, getGroup, getMatchFound, getSubTreeId, getSubtrees, getUnAnchoredInitialState, globalSubTreeIdInitialized, resetVisitorIterator, setAnchoredFinalState, setAnchoredInitialState, setGlobalSubTreeId, setGroup, setMatchFound, setSubTreeId, setUnAnchoredInitialState, subTreeIdInitialized, toJson, toString, visitorGetNext, visitorHasNextgetSeqIndex, getSubTreeParent, setSeqIndexasAtomicGroup, asBackReference, asCharacterClass, asGroup, asLookAheadAssertion, asLookAroundAssertion, asLookBehindAssertion, asMatchFound, asPositionAssertion, asQuantifiableTerm, asSequence, asSubtreeRootNode, astNodeId, endsWithDollar, getFlags, getId, getMaxPath, getMinPath, getParent, hasBackReferences, hasCaptureGroups, hasCaret, hasDollar, hasEmptyGuard, hasLookAheads, hasLookBehinds, hasLoops, hasQuantifiers, idInitialized, incMaxPath, incMaxPath, incMinPath, incMinPath, isAtomicGroup, isBackReference, isCaret, isCharacterClass, isDead, isDollar, isExpandedQuantifier, isFlagSet, isGroup, isInLookAheadAssertion, isInLookBehindAssertion, isLookAheadAssertion, isLookAroundAssertion, isLookBehindAssertion, isMatchFound, isPositionAssertion, isPrefix, isQuantifiableTerm, isRoot, isSequence, isSubtreeRoot, markAsDead, setDead, setEmptyGuard, setEndsWithDollar, setEndsWithDollar, setExpandedQuantifier, setFlag, setFlag, setFlags, setHasBackReferences, setHasCaptureGroups, setHasCaret, setHasCaret, setHasDollar, setHasDollar, setHasLookAheads, setHasLookBehinds, setHasLoops, setHasLoops, setHasQuantifiers, setId, setMaxPath, setMinPath, setParent, setPrefix, setStartsWithCaret, setStartsWithCaret, startsWithCaret, toStringWithIDclone, equals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetIdpublic RegexASTSubtreeRootNode copy(RegexAST ast)
RegexASTNodecopy in class RegexASTSubtreeRootNodeast - RegexAST the node should belong to.public Term copyRecursive(RegexAST ast, CompilationBuffer compilationBuffer)
RegexASTNodeCopyVisitor if
the copying process is required to be thread-safe. The ID and minPath of the copied nodes is
left unset.copyRecursive in class Termast - RegexAST the new nodes should belong to.public int getEnclosedCaptureGroupsLow()
public int getEnclosedCaptureGroupsHigh()
public String getPrefix()
getPrefix in class RegexASTSubtreeRootNodepublic boolean equalsSemantic(RegexASTNode obj)
equalsSemantic in class RegexASTNodepublic JsonValue toJson()