public class UniqueValuesCountingVisitor extends Object implements NodeVisitor
| Constructor and Description |
|---|
UniqueValuesCountingVisitor() |
UniqueValuesCountingVisitor(Node parentNode) |
| Modifier and Type | Method and Description |
|---|---|
BigInteger |
getCount()
Count of unique values that can be generated with this regex.
|
void |
visit(Choice node) |
void |
visit(FinalSymbol node) |
void |
visit(Group group) |
void |
visit(GroupRef groupRef) |
void |
visit(NotSymbol notSymbol) |
void |
visit(Repeat node) |
void |
visit(Sequence node) |
void |
visit(SymbolSet node) |
public UniqueValuesCountingVisitor()
public UniqueValuesCountingVisitor(Node parentNode)
public void visit(SymbolSet node)
visit in interface NodeVisitorpublic void visit(Choice node)
visit in interface NodeVisitorpublic void visit(FinalSymbol node)
visit in interface NodeVisitorpublic void visit(Repeat node)
visit in interface NodeVisitorpublic void visit(Sequence node)
visit in interface NodeVisitorpublic void visit(NotSymbol notSymbol)
visit in interface NodeVisitorpublic void visit(GroupRef groupRef)
visit in interface NodeVisitorpublic void visit(Group group)
visit in interface NodeVisitorpublic BigInteger getCount()
null if infiniteCopyright © 2020. All rights reserved.