public class GenerationVisitor extends Object implements NodeVisitor
| Modifier and Type | Field and Description |
|---|---|
protected Map<Integer,String> |
aGroupValues |
protected RgxGenProperties |
aProperties |
protected Random |
aRandom |
protected StringBuilder |
aStringBuilder |
| Modifier | Constructor and Description |
|---|---|
protected |
GenerationVisitor(Random random,
Map<Integer,String> groupValues,
RgxGenProperties properties) |
| Modifier and Type | Method and Description |
|---|---|
static GenerationVisitorBuilder |
builder() |
String |
getString() |
void |
visit(Choice node) |
void |
visit(FinalSymbol node) |
void |
visit(Group node) |
void |
visit(GroupRef node) |
void |
visit(NotSymbol node) |
void |
visit(Repeat node) |
void |
visit(Sequence node) |
void |
visit(SymbolSet node) |
protected final StringBuilder aStringBuilder
protected final Random aRandom
protected final RgxGenProperties aProperties
protected GenerationVisitor(Random random, Map<Integer,String> groupValues, RgxGenProperties properties)
public static GenerationVisitorBuilder builder()
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 node)
visit in interface NodeVisitorpublic void visit(GroupRef node)
visit in interface NodeVisitorpublic void visit(Group node)
visit in interface NodeVisitorpublic String getString()
Copyright © 2022. All rights reserved.