public final class PreCalcResultVisitor extends DepthFirstTraversalRegexASTVisitor
| Modifier and Type | Method and Description |
|---|---|
static PreCalculatedResultFactory |
createResultFactory(RegexAST ast) |
String |
getLiteral() |
String |
getMask() |
PreCalculatedResultFactory |
getResultFactory() |
boolean |
hasMask() |
protected void |
leave(Group group) |
static PreCalcResultVisitor |
run(RegexAST ast,
boolean extractLiteral) |
protected void |
visit(BackReference backReference) |
protected void |
visit(CharacterClass characterClass) |
protected void |
visit(Group group) |
protected void |
visit(LookAheadAssertion assertion) |
protected void |
visit(LookBehindAssertion assertion) |
protected void |
visit(MatchFound matchFound) |
protected void |
visit(PositionAssertion assertion) |
protected void |
visit(Sequence sequence) |
init, isReverse, leave, leave, leave, run, runReversedoLeave, doVisitpublic static PreCalcResultVisitor run(RegexAST ast, boolean extractLiteral)
public static PreCalculatedResultFactory createResultFactory(RegexAST ast)
public String getLiteral()
public boolean hasMask()
public String getMask()
public PreCalculatedResultFactory getResultFactory()
protected void visit(BackReference backReference)
visit in class DepthFirstTraversalRegexASTVisitorprotected void visit(Group group)
visit in class DepthFirstTraversalRegexASTVisitorprotected void leave(Group group)
leave in class DepthFirstTraversalRegexASTVisitorprotected void visit(Sequence sequence)
visit in class DepthFirstTraversalRegexASTVisitorprotected void visit(PositionAssertion assertion)
visit in class DepthFirstTraversalRegexASTVisitorprotected void visit(LookBehindAssertion assertion)
visit in class DepthFirstTraversalRegexASTVisitorprotected void visit(LookAheadAssertion assertion)
visit in class DepthFirstTraversalRegexASTVisitorprotected void visit(CharacterClass characterClass)
visit in class DepthFirstTraversalRegexASTVisitorprotected void visit(MatchFound matchFound)
visit in class DepthFirstTraversalRegexASTVisitor