Package org.parboiled
Class ParserStatistics
- java.lang.Object
-
- org.parboiled.ParserStatistics
-
- All Implemented Interfaces:
MatcherVisitor<ParserStatistics>
public class ParserStatistics extends Object implements MatcherVisitor<ParserStatistics>
-
-
Method Summary
-
-
-
Method Detail
-
generateFor
public static ParserStatistics generateFor(Rule rule)
-
getRootRule
public Rule getRootRule()
-
getTotalRules
public int getTotalRules()
-
getAnyMatchers
public Set<AnyMatcher> getAnyMatchers()
-
getCharIgnoreCaseMatchers
public Set<CharIgnoreCaseMatcher> getCharIgnoreCaseMatchers()
-
getCharMatchers
public Set<CharMatcher> getCharMatchers()
-
getCustomMatchers
public Set<CustomMatcher> getCustomMatchers()
-
getCharRangeMatchers
public Set<CharRangeMatcher> getCharRangeMatchers()
-
getAnyOfMatchers
public Set<AnyOfMatcher> getAnyOfMatchers()
-
getEmptyMatchers
public Set<EmptyMatcher> getEmptyMatchers()
-
getFirstOfMatchers
public Set<FirstOfMatcher> getFirstOfMatchers()
-
getFirstOfStringMatchers
public Set<FirstOfStringsMatcher> getFirstOfStringMatchers()
-
getMemoMismatchesMatchers
public Set<MemoMismatchesMatcher> getMemoMismatchesMatchers()
-
getNothingMatchers
public Set<NothingMatcher> getNothingMatchers()
-
getOneOrMoreMatchers
public Set<OneOrMoreMatcher> getOneOrMoreMatchers()
-
getOptionalMatchers
public Set<OptionalMatcher> getOptionalMatchers()
-
getSequenceMatchers
public Set<SequenceMatcher> getSequenceMatchers()
-
getStringMatchers
public Set<StringMatcher> getStringMatchers()
-
getTestMatchers
public Set<TestMatcher> getTestMatchers()
-
getTestNotMatchers
public Set<TestNotMatcher> getTestNotMatchers()
-
getZeroOrMoreMatchers
public Set<ZeroOrMoreMatcher> getZeroOrMoreMatchers()
-
getProxyMatchers
public Set<ProxyMatcher> getProxyMatchers()
-
getVarFramingMatchers
public Set<VarFramingMatcher> getVarFramingMatchers()
-
visit
public ParserStatistics visit(ActionMatcher matcher)
- Specified by:
visit
in interfaceMatcherVisitor<ParserStatistics>
-
visit
public ParserStatistics visit(AnyMatcher matcher)
- Specified by:
visit
in interfaceMatcherVisitor<ParserStatistics>
-
visit
public ParserStatistics visit(CharIgnoreCaseMatcher matcher)
- Specified by:
visit
in interfaceMatcherVisitor<ParserStatistics>
-
visit
public ParserStatistics visit(CharMatcher matcher)
- Specified by:
visit
in interfaceMatcherVisitor<ParserStatistics>
-
visit
public ParserStatistics visit(CustomMatcher matcher)
- Specified by:
visit
in interfaceMatcherVisitor<ParserStatistics>
-
visit
public ParserStatistics visit(CharRangeMatcher matcher)
- Specified by:
visit
in interfaceMatcherVisitor<ParserStatistics>
-
visit
public ParserStatistics visit(AnyOfMatcher matcher)
- Specified by:
visit
in interfaceMatcherVisitor<ParserStatistics>
-
visit
public ParserStatistics visit(EmptyMatcher matcher)
- Specified by:
visit
in interfaceMatcherVisitor<ParserStatistics>
-
visit
public ParserStatistics visit(FirstOfMatcher matcher)
- Specified by:
visit
in interfaceMatcherVisitor<ParserStatistics>
-
visit
public ParserStatistics visit(NothingMatcher matcher)
- Specified by:
visit
in interfaceMatcherVisitor<ParserStatistics>
-
visit
public ParserStatistics visit(OneOrMoreMatcher matcher)
- Specified by:
visit
in interfaceMatcherVisitor<ParserStatistics>
-
visit
public ParserStatistics visit(OptionalMatcher matcher)
- Specified by:
visit
in interfaceMatcherVisitor<ParserStatistics>
-
visit
public ParserStatistics visit(SequenceMatcher matcher)
- Specified by:
visit
in interfaceMatcherVisitor<ParserStatistics>
-
visit
public ParserStatistics visit(TestMatcher matcher)
- Specified by:
visit
in interfaceMatcherVisitor<ParserStatistics>
-
visit
public ParserStatistics visit(TestNotMatcher matcher)
- Specified by:
visit
in interfaceMatcherVisitor<ParserStatistics>
-
visit
public ParserStatistics visit(ZeroOrMoreMatcher matcher)
- Specified by:
visit
in interfaceMatcherVisitor<ParserStatistics>
-
printActionClassInstances
public String printActionClassInstances()
-
-