Uses of Interface
org.parboiled.Rule
Packages that use Rule
Package
Description
-
Uses of Rule in org.parboiled
Methods in org.parboiled that return RuleModifier and TypeMethodDescriptionParserStatistics.getRootRule()
Attaches a label to this Rule.Rule.memoMismatches()
Enables memoization of rule mismatches for consecutive rule applications at the same input location.Rule.skipNode()
Instructs parboiled to not create a parse tree node for this rule.Rule.suppressNode()
Instructs parboiled to not create a parse tree node for this rule and all subrules, which can significantly increase parsing performance.Rule.suppressSubnodes()
Instructs parboiled to not create parse tree nodes for the subrules of this rule, which can significantly increase parsing performance.Methods in org.parboiled with parameters of type RuleModifier and TypeMethodDescriptionstatic ParserStatistics
ParserStatistics.generateFor
(Rule rule) -
Uses of Rule in org.parboiled.matchers
Subinterfaces of Rule in org.parboiled.matchersModifier and TypeInterfaceDescriptioninterface
A Matcher instance is responsible for "executing" a specific Rule instance, i.e.Classes in org.parboiled.matchers that implement RuleModifier and TypeClassDescriptionclass
Abstract base class of most regularMatcher
s.class
class
AMatcher
matching any single character except EOI.class
AMatcher
matching a single character out of a givenCharacters
set.class
AMatcher
matching a single character case-independently.class
AMatcher
matching a single given character.class
AMatcher
matching a single character out of a given range of characters.class
Base class of custom matcher implementations.class
AMatcher
that always successfully matches nothing.class
AMatcher
trying all of its submatchers in sequence and succeeding when the first submatcher succeeds.class
A specialized FirstOfMatcher that handles FirstOf(string, string, ...) rules much faster that the regular FirstOfMatcher.class
Special wrapping matcher that performs memoization of the last mismatch of the wrapped sub rule.class
AMatcher
that never matches anything.class
AMatcher
that repeatedly tries its submatcher against the input.class
AMatcher
that tries its submatcher once against the input and always succeeds.class
class
AMatcher
that executes all of its submatchers in sequence and only succeeds if all submatchers succeed.class
ASequenceMatcher
specialization for sequences of CharMatchers.class
A specialMatcher
not actually matching any input but rather trying its submatcher against the current input position.class
A specialMatcher
not actually matching any input but rather trying its submatcher against the current input position.class
Special wrapping matcher that manages the creation and destruction of execution frames for a number of action vars.class
AMatcher
that repeatedly tries its submatcher against the input.Methods in org.parboiled.matchers that return RuleModifier and TypeMethodDescriptionAbstractMatcher.memoMismatches()
MemoMismatchesMatcher.memoMismatches()
ProxyMatcher.memoMismatches()
VarFramingMatcher.memoMismatches()
AbstractMatcher.skipNode()
MemoMismatchesMatcher.skipNode()
ProxyMatcher.skipNode()
VarFramingMatcher.skipNode()
AbstractMatcher.suppressNode()
ActionMatcher.suppressNode()
MemoMismatchesMatcher.suppressNode()
ProxyMatcher.suppressNode()
VarFramingMatcher.suppressNode()
AbstractMatcher.suppressSubnodes()
MemoMismatchesMatcher.suppressSubnodes()
ProxyMatcher.suppressSubnodes()
VarFramingMatcher.suppressSubnodes()
Constructors in org.parboiled.matchers with parameters of type RuleModifierConstructorDescriptionAbstractMatcher
(Rule[] subRules, String label) AbstractMatcher
(Rule subRule, String label) protected
CustomMatcher
(Rule[] subRules, String label) protected
CustomMatcher
(Rule subRule, String label) FirstOfMatcher
(Rule[] subRules) FirstOfStringsMatcher
(Rule[] subRules, char[][] strings) MemoMismatchesMatcher
(Rule inner) OneOrMoreMatcher
(Rule subRule) OptionalMatcher
(Rule subRule) SequenceMatcher
(Rule[] subRules) StringMatcher
(Rule[] charMatchers, char[] characters) TestMatcher
(Rule subRule) TestNotMatcher
(Rule subRule) VarFramingMatcher
(Rule inner, Var[] variables) ZeroOrMoreMatcher
(Rule subRule) -
Uses of Rule in org.parboiled.parserunners
Fields in org.parboiled.parserunners declared as RuleMethods in org.parboiled.parserunners with parameters of type RuleModifier and TypeMethodDescriptionstatic <V> ParsingResult
<V> Deprecated.As of 0.11.0 you should use the "regular" constructor and one of the "run" methods rather than this static method.static <V> ParsingResult
<V> Deprecated.As of 0.11.0 you should use the "regular" constructor and one of the "run" methods rather than this static method.static <V> ParsingResult
<V> Deprecated.As of 0.11.0 you should use the "regular" constructor and one of the "run" methods rather than this static method.Constructors in org.parboiled.parserunners with parameters of type RuleModifierConstructorDescriptionAbstractParseRunner
(Rule rule) BasicParseRunner
(Rule rule) Creates a new BasicParseRunner instance for the given rule.ErrorLocatingParseRunner
(Rule rule) Creates a new ErrorLocatingParseRunner instance for the given rule.ErrorLocatingParseRunner
(Rule rule, MatchHandler inner) Creates a new ErrorLocatingParseRunner instance for the given rule.ErrorReportingParseRunner
(Rule rule, int errorIndex) Creates a new ErrorReportingParseRunner instance for the given rule and the given errorIndex.ErrorReportingParseRunner
(Rule rule, int errorIndex, MatchHandler inner) Creates a new ErrorReportingParseRunner instance for the given rule and the given errorIndex.ProfilingParseRunner
(Rule rule) Creates a new ProfilingParseRunner instance for the given rule.RecoveringParseRunner
(Rule rule) Creates a new RecoveringParseRunner instance for the given rule.RecoveringParseRunner
(Rule rule, long timeoutMillis) Creates a new RecoveringParseRunner instance for the given rule.ReportingParseRunner
(Rule rule) Creates a new ReportingParseRunner instance for the given rule.TimeoutException
(Rule rule, InputBuffer inputBuffer, ParsingResult<?> lastParsingResult) TracingParseRunner
(Rule rule) Creates a new TracingParseRunner instance without filter and a console log for the given rule. -
Uses of Rule in org.parboiled.support
Methods in org.parboiled.support with parameters of type RuleModifier and TypeMethodDescriptionA predicate usable as a filter (element) of aTracingParseRunner
.A predicate usable as a filter (element) of aTracingParseRunner
.Filters.rulesBelow
(Rule... rules) A predicate usable as a filter (element) of aTracingParseRunner
.