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 ParserStatisticsParserStatistics.generateFor(Rule rule) -
Uses of Rule in org.parboiled.matchers
Subinterfaces of Rule in org.parboiled.matchersModifier and TypeInterfaceDescriptioninterfaceA Matcher instance is responsible for "executing" a specific Rule instance, i.e.Classes in org.parboiled.matchers that implement RuleModifier and TypeClassDescriptionclassAbstract base class of most regularMatchers.classclassAMatchermatching any single character except EOI.classAMatchermatching a single character out of a givenCharactersset.classAMatchermatching a single character case-independently.classAMatchermatching a single given character.classAMatchermatching a single character out of a given range of characters.classBase class of custom matcher implementations.classAMatcherthat always successfully matches nothing.classAMatchertrying all of its submatchers in sequence and succeeding when the first submatcher succeeds.classA specialized FirstOfMatcher that handles FirstOf(string, string, ...) rules much faster that the regular FirstOfMatcher.classSpecial wrapping matcher that performs memoization of the last mismatch of the wrapped sub rule.classAMatcherthat never matches anything.classAMatcherthat repeatedly tries its submatcher against the input.classAMatcherthat tries its submatcher once against the input and always succeeds.classclassAMatcherthat executes all of its submatchers in sequence and only succeeds if all submatchers succeed.classASequenceMatcherspecialization for sequences of CharMatchers.classA specialMatchernot actually matching any input but rather trying its submatcher against the current input position.classA specialMatchernot actually matching any input but rather trying its submatcher against the current input position.classSpecial wrapping matcher that manages the creation and destruction of execution frames for a number of action vars.classAMatcherthat 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) protectedCustomMatcher(Rule[] subRules, String label) protectedCustomMatcher(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.