public class SubexpressionCall extends QuantifiableTerm
| Modifier and Type | Method and Description |
|---|---|
SubexpressionCall |
copy(RegexAST ast)
Copy this node only, without any child nodes.
|
SubexpressionCall |
copyRecursive(RegexAST ast,
CompilationBuffer compilationBuffer)
Recursively copy this subtree.
|
boolean |
equalsSemantic(RegexASTNode obj,
boolean ignoreQuantifier) |
int |
getGroupNr()
Returns the capture group number this subexpression call is referring to, e.g.
|
Sequence |
getParent()
Gets the syntactic parent of this AST node.
|
boolean |
isUnrollingCandidate()
Returns
true iff the parser should try to unroll this term's quantifier. |
JsonValue |
toJson() |
String |
toString() |
equalsSemantic, getQuantifier, getSubTreeParent, hasNotUnrolledQuantifier, hasQuantifier, quantifierToString, setQuantifiergetSeqIndex, setSeqIndexasAtomicGroup, asBackReference, asCharacterClass, asConditionalBackReferenceGroup, asGroup, asLookAheadAssertion, asLookAroundAssertion, asLookBehindAssertion, asMatchFound, asPositionAssertion, asQuantifiableTerm, asSequence, asSubtreeRootNode, astNodeId, endsWithDollar, getFlags, getId, getMaxPath, getMinPath, getPrefixLengthMax, getPrefixLengthMin, hasBackReferences, hasCaptureGroups, hasCaret, hasDollar, hasEmptyGuard, hasLookAheads, hasLookBehinds, hasLoops, hasQuantifiers, hasVariablePrefixLength, idInitialized, incMaxPath, incMaxPath, incMinPath, incMinPath, isAtomicGroup, isBackReference, isCaret, isCharacterClass, isConditionalBackReferenceGroup, 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, setPrefixLengthMax, setPrefixLengthMin, setStartsWithCaret, setStartsWithCaret, startsWithCaret, toJson, toStringWithIDclone, equals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetIdpublic SubexpressionCall copy(RegexAST ast)
RegexASTNodecopy in class QuantifiableTermast - RegexAST the node should belong to.public SubexpressionCall 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 Sequence getParent()
RegexASTNodegetParent in class RegexASTNodepublic int getGroupNr()
\g<1> is 1.public boolean isUnrollingCandidate()
QuantifiableTermtrue iff the parser should try to unroll this term's quantifier.isUnrollingCandidate in class QuantifiableTermpublic boolean equalsSemantic(RegexASTNode obj, boolean ignoreQuantifier)
equalsSemantic in class QuantifiableTermpublic JsonValue toJson()