Package | Description |
---|---|
org.parboiled |
Modifier and Type | Method and Description |
---|---|
Rule |
BaseParser.AnyOf(char[] characters)
Creates a new rule that matches any of the characters in the given char array.
|
Rule |
BaseParser.AnyOf(Characters characters)
Creates a new rule that matches any of the given characters.
|
Rule |
BaseParser.AnyOf(java.lang.String characters)
Creates a new rule that matches any of the characters in the given string.
|
Rule |
BaseParser.Ch(char c)
Explicitly creates a rule matching the given character.
|
Rule |
BaseParser.CharRange(char cLow,
char cHigh)
Creates a rule matching a range of characters from cLow to cHigh (both inclusively).
|
Rule |
BaseParser.FirstOf(java.lang.Object[] rules)
Creates a new rule that successively tries all of the given subrules and succeeds when the first one of
its subrules matches.
|
Rule |
BaseParser.FirstOf(java.lang.Object rule,
java.lang.Object rule2,
java.lang.Object... moreRules)
Creates a new rule that successively tries all of the given subrules and succeeds when the first one of
its subrules matches.
|
Rule |
BaseParser.IgnoreCase(char... characters)
Explicitly creates a rule matching the given string in a case-independent fashion.
|
Rule |
BaseParser.IgnoreCase(char c)
Explicitly creates a rule matching the given character case-independently.
|
Rule |
BaseParser.IgnoreCase(java.lang.String string)
Explicitly creates a rule matching the given string in a case-independent fashion.
|
Rule |
BaseParser.NoneOf(char[] characters)
Creates a new rule that matches all characters except the ones in the given char array and EOI.
|
Rule |
BaseParser.NoneOf(java.lang.String characters)
Creates a new rule that matches all characters except the ones in the given string and EOI.
|
Rule |
BaseParser.NTimes(int repetitions,
java.lang.Object rule)
Creates a new rule that repeatedly matches a given sub rule a certain fixed number of times.
|
Rule |
BaseParser.NTimes(int repetitions,
java.lang.Object rule,
java.lang.Object separator)
Creates a new rule that repeatedly matches a given sub rule a certain fixed number of times, optionally
separated by a given separator rule.
|
Rule |
BaseParser.OneOrMore(java.lang.Object rule)
Creates a new rule that tries repeated matches of its subrule and succeeds if the subrule matches at least once.
|
Rule |
BaseParser.OneOrMore(java.lang.Object rule,
java.lang.Object rule2,
java.lang.Object... moreRules)
Creates a new rule that tries repeated matches of a sequence of the given subrules and succeeds if the sequence
matches at least once.
|
Rule |
BaseParser.Optional(java.lang.Object rule)
Creates a new rule that tries a match on its subrule and always succeeds, independently of the matching
success of its sub rule.
|
Rule |
BaseParser.Optional(java.lang.Object rule,
java.lang.Object rule2,
java.lang.Object... moreRules)
Creates a new rule that tries a match on the sequence of the given subrules and always succeeds, independently
of the matching success of its sub sequence.
|
Rule |
BaseParser.Sequence(java.lang.Object[] rules)
Creates a new rule that only succeeds if all of its subrule succeed, one after the other.
|
Rule |
BaseParser.Sequence(java.lang.Object rule,
java.lang.Object rule2,
java.lang.Object... moreRules)
Creates a new rule that only succeeds if all of its subrule succeed, one after the other.
|
Rule |
BaseParser.String(char... characters)
Explicitly creates a rule matching the given string.
|
Rule |
BaseParser.String(java.lang.String string)
Explicitly creates a rule matching the given string.
|
Rule |
BaseParser.Test(java.lang.Object rule)
Creates a new rule that acts as a syntactic predicate, i.e.
|
Rule |
BaseParser.Test(java.lang.Object rule,
java.lang.Object rule2,
java.lang.Object... moreRules)
Creates a new rule that acts as a syntactic predicate, i.e.
|
Rule |
BaseParser.TestNot(java.lang.Object rule)
Creates a new rule that acts as an inverse syntactic predicate, i.e.
|
Rule |
BaseParser.TestNot(java.lang.Object rule,
java.lang.Object rule2,
java.lang.Object... moreRules)
Creates a new rule that acts as an inverse syntactic predicate, i.e.
|
Rule |
BaseParser.ZeroOrMore(java.lang.Object rule)
Creates a new rule that tries repeated matches of its subrule.
|
Rule |
BaseParser.ZeroOrMore(java.lang.Object rule,
java.lang.Object rule2,
java.lang.Object... moreRules)
Creates a new rule that tries repeated matches of the sequence of the given sub rules.
|