public class GlushkovAnalyzer extends Object implements RegexNodeVisitor<Void>
| Constructor and Description |
|---|
GlushkovAnalyzer(RegexNode root) |
| Modifier and Type | Method and Description |
|---|---|
GlushkovAnalyzer |
analyze() |
GlushkovAutomaton |
buildAutomaton(GlushkovAnalyzerOption... options) |
DualGlushkovAutomaton |
buildReverseAutomaton(GlushkovAnalyzerOption... options) |
Set<Character> |
firstChars() |
Set<Character> |
lastChars() |
int |
minLength() |
Void |
visitAlternatives(AlternativesNode node) |
Void |
visitAnyChar(AnyCharNode node) |
Void |
visitBoundedLoop(BoundedLoopNode node) |
Void |
visitCharClass(CharClassNode node) |
Void |
visitCompClass(CompClassNode node) |
Void |
visitConcat(ConcatNode node) |
Void |
visitEmpty(EmptyNode node) |
Void |
visitGroup(GroupNode node) |
Void |
visitOptional(OptionalNode node) |
Void |
visitRangeChar(RangeCharNode node) |
Void |
visitSingleChar(SingleCharNode node) |
Void |
visitSpecialCharClass(SpecialCharClassNode node) |
Void |
visitString(StringNode node) |
Void |
visitUnboundedLoop(UnboundedLoopNode node) |
public GlushkovAnalyzer(RegexNode root)
public GlushkovAnalyzer analyze()
public GlushkovAutomaton buildAutomaton(GlushkovAnalyzerOption... options)
public DualGlushkovAutomaton buildReverseAutomaton(GlushkovAnalyzerOption... options)
public int minLength()
public Void visitAlternatives(AlternativesNode node)
visitAlternatives in interface RegexNodeVisitor<Void>public Void visitAnyChar(AnyCharNode node)
visitAnyChar in interface RegexNodeVisitor<Void>public Void visitCharClass(CharClassNode node)
visitCharClass in interface RegexNodeVisitor<Void>public Void visitCompClass(CompClassNode node)
visitCompClass in interface RegexNodeVisitor<Void>public Void visitConcat(ConcatNode node)
visitConcat in interface RegexNodeVisitor<Void>public Void visitEmpty(EmptyNode node)
visitEmpty in interface RegexNodeVisitor<Void>public Void visitGroup(GroupNode node)
visitGroup in interface RegexNodeVisitor<Void>public Void visitBoundedLoop(BoundedLoopNode node)
visitBoundedLoop in interface RegexNodeVisitor<Void>public Void visitUnboundedLoop(UnboundedLoopNode node)
visitUnboundedLoop in interface RegexNodeVisitor<Void>public Void visitOptional(OptionalNode node)
visitOptional in interface RegexNodeVisitor<Void>public Void visitRangeChar(RangeCharNode node)
visitRangeChar in interface RegexNodeVisitor<Void>public Void visitSingleChar(SingleCharNode node)
visitSingleChar in interface RegexNodeVisitor<Void>public Void visitSpecialCharClass(SpecialCharClassNode node)
visitSpecialCharClass in interface RegexNodeVisitor<Void>public Void visitString(StringNode node)
visitString in interface RegexNodeVisitor<Void>Copyright © 2016. All rights reserved.