Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- ACTION(boolean) - Static method in class org.parboiled.BaseParser
-
Explicitly marks the wrapped expression as an action expression.
- ANY - Static variable in class org.parboiled.BaseParser
-
Matches any character except
Chars.EOI
. - AnyOf(char[]) - Method in class org.parboiled.BaseParser
-
Creates a new rule that matches any of the characters in the given char array.
- AnyOf(String) - Method in class org.parboiled.BaseParser
-
Creates a new rule that matches any of the characters in the given string.
- AnyOf(Characters) - Method in class org.parboiled.BaseParser
-
Creates a new rule that matches any of the given characters.
- ASM_API - Static variable in class org.parboiled.transform.ASMSettings
- ASMSettings - Class in org.parboiled.transform
- ASMSettings() - Constructor for class org.parboiled.transform.ASMSettings
B
- BaseAction - Class in org.parboiled.transform
-
Base class of generated classes wrapping action expressions.
- BaseActions<V> - Class in org.parboiled
-
Convenience context aware base class defining a number of useful helper methods.
- BaseActions() - Constructor for class org.parboiled.BaseActions
- BaseParser<V> - Class in org.parboiled
-
Base class of all parboiled parsers.
- BaseParser() - Constructor for class org.parboiled.BaseParser
- BaseVarInit - Class in org.parboiled.transform
-
Base class of generated classes wrapping action var initializers.
- BuildParseTree - Annotation Interface in org.parboiled.annotations
-
Annotation that can be used on the parser class itself.
C
- Cached - Annotation Interface in org.parboiled.annotations
-
Annotation that can be used on parser methods returning
Rule
s and having parameters. - Ch(char) - Method in class org.parboiled.BaseParser
-
Explicitly creates a rule matching the given character.
- CharRange(char, char) - Method in class org.parboiled.BaseParser
-
Creates a rule matching a range of characters from cLow to cHigh (both inclusively).
- createParser(Class<P>, Object...) - Static method in class org.parboiled.Parboiled
-
Creates a parser object whose rule creation methods can then be used with one of the
ParseRunner
implementations. - currentChar() - Method in class org.parboiled.BaseActions
-
Returns the next input character about to be matched.
- currentIndex() - Method in class org.parboiled.BaseActions
-
Returns the current index in the input buffer.
D
- DEDENT - Static variable in class org.parboiled.BaseParser
-
Matches the special
Chars.DEDENT
character produces by the org.parboiled.buffers.IndentDedentInputBuffer - DontExtend - Annotation Interface in org.parboiled.annotations
-
Annotation that can be used on parser methods returning
Rule
objects. - DontLabel - Annotation Interface in org.parboiled.annotations
-
Annotation that can be used on parser methods returning
Rule
objects or the parser class itself. - DontSkipActionsInPredicates - Annotation Interface in org.parboiled.annotations
-
Annotation that can be used on parser methods returning
Rule
objects. - drop() - Method in class org.parboiled.BaseActions
-
Removes the value at the top of the value stack.
- drop(int) - Method in class org.parboiled.BaseActions
-
Removes the value the given number of elements below the top of the value stack.
- dup() - Method in class org.parboiled.BaseActions
-
Duplicates the top value of the value stack.
E
- EMPTY - Static variable in class org.parboiled.BaseParser
-
Matches nothing and always succeeds.
- EOI - Static variable in class org.parboiled.BaseParser
-
Matches the
Chars.EOI
(end of input) character. - ExplicitActionsOnly - Annotation Interface in org.parboiled.annotations
-
Annotation that can be used on parser rule methods (i.e.
F
- FirstOf(Object[]) - Method in class org.parboiled.BaseParser
-
Creates a new rule that successively tries all of the given subrules and succeeds when the first one of its subrules matches.
- FirstOf(Object, Object, Object...) - Method in class org.parboiled.BaseParser
-
Creates a new rule that successively tries all of the given subrules and succeeds when the first one of its subrules matches.
- FRAMES - Static variable in class org.parboiled.transform.ASMSettings
G
- getContext() - Method in class org.parboiled.BaseActions
-
The current context for use with action methods.
H
- hasError() - Method in class org.parboiled.BaseActions
-
Determines whether the current rule or a sub rule has recorded a parse error.
- hasErrors(String) - Method in class org.parboiled.test.ParboiledTest.TestResult
- hasNoErrors() - Method in class org.parboiled.test.ParboiledTest.TestResult
- hasParseTree(String) - Method in class org.parboiled.test.ParboiledTest.TestResult
- hasParseTree(Predicate<Node<V>>, Predicate<Node<V>>, String) - Method in class org.parboiled.test.ParboiledTest.TestResult
- hasResult(V...) - Method in class org.parboiled.test.ParboiledTest.TestResult
I
- IgnoreCase(char) - Method in class org.parboiled.BaseParser
-
Explicitly creates a rule matching the given character case-independently.
- IgnoreCase(char...) - Method in class org.parboiled.BaseParser
-
Explicitly creates a rule matching the given string in a case-independent fashion.
- IgnoreCase(String) - Method in class org.parboiled.BaseParser
-
Explicitly creates a rule matching the given string in a case-independent fashion.
- INDENT - Static variable in class org.parboiled.BaseParser
-
Matches the special
Chars.INDENT
character produces by the org.parboiled.buffers.IndentDedentInputBuffer - inPredicate() - Method in class org.parboiled.BaseActions
-
Returns true if the current rule is running somewhere underneath a Test/TestNot rule.
J
- JDK_VERSION - Static variable in class org.parboiled.transform.ASMSettings
L
- Label - Annotation Interface in org.parboiled.annotations
-
Annotation that can be used on parser methods returning
Rule
objects.
M
- match() - Method in class org.parboiled.BaseActions
-
Returns the input text matched by the rule immediately preceding the action expression that is currently being evaluated.
- matchedChar() - Method in class org.parboiled.BaseActions
-
Returns the first character of the input text matched by the rule immediately preceding the action expression that is currently being evaluated.
- matchEnd() - Method in class org.parboiled.BaseActions
-
Returns the end location of the rule immediately preceding the action expression that is currently being evaluated.
- matchLength() - Method in class org.parboiled.BaseActions
-
Returns the number of characters matched by the rule immediately preceding the action expression that is currently being evaluated.
- matchOrDefault(String) - Method in class org.parboiled.BaseActions
-
Returns the input text matched by the rule immediately preceding the action expression that is currently being evaluated.
- matchRange() - Method in class org.parboiled.BaseActions
-
Creates a new
IndexRange
instance covering the input text matched by the rule immediately preceding the action expression that is currently being evaluated. - matchStart() - Method in class org.parboiled.BaseActions
-
Returns the start index of the rule immediately preceding the action expression that is currently being evaluated.
- MemoMismatches - Annotation Interface in org.parboiled.annotations
-
Annotation that can be used on parser methods returning
Rule
objects.
N
- name - Variable in class org.parboiled.transform.BaseVarInit
- newInstance() - Method in class org.parboiled.BaseParser
-
Creates a new instance of this parsers class using the no-arg constructor.
- nodeSuppressed() - Method in class org.parboiled.BaseActions
-
Returns true if the current context is for or below a rule marked @SuppressNode or below one marked @SuppressSubnodes.
- NoneOf(char[]) - Method in class org.parboiled.BaseParser
-
Creates a new rule that matches all characters except the ones in the given char array and EOI.
- NoneOf(String) - Method in class org.parboiled.BaseParser
-
Creates a new rule that matches all characters except the ones in the given string and EOI.
- NOTHING - Static variable in class org.parboiled.BaseParser
-
Matches nothing and always fails.
- NTimes(int, Object) - Method in class org.parboiled.BaseParser
-
Creates a new rule that repeatedly matches a given sub rule a certain fixed number of times.
- NTimes(int, Object, Object) - Method in class org.parboiled.BaseParser
-
Creates a new rule that repeatedly matches a given sub rule a certain fixed number of times, optionally separated by a given separator rule.
O
- OneOrMore(Object) - Method in class org.parboiled.BaseParser
-
Creates a new rule that tries repeated matches of its subrule and succeeds if the subrule matches at least once.
- OneOrMore(Object, Object, Object...) - Method in class org.parboiled.BaseParser
-
Creates a new rule that tries repeated matches of a sequence of the given subrules and succeeds if the sequence matches at least once.
- Optional(Object) - Method in class org.parboiled.BaseParser
-
Creates a new rule that tries a match on its subrule and always succeeds, independently of the matching success of its sub rule.
- Optional(Object, Object, Object...) - Method in class org.parboiled.BaseParser
-
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.
- org.parboiled - package org.parboiled
- org.parboiled.annotations - package org.parboiled.annotations
- org.parboiled.test - package org.parboiled.test
- org.parboiled.transform - package org.parboiled.transform
P
- Parboiled - Class in org.parboiled
-
Main class providing the high-level entry point into the parboiled library.
- ParboiledTest<V> - Class in org.parboiled.test
- ParboiledTest() - Constructor for class org.parboiled.test.ParboiledTest
- ParboiledTest.TestResult<V> - Class in org.parboiled.test
- ParserTransformer - Class in org.parboiled.transform
- peek() - Method in class org.parboiled.BaseActions
-
Returns the value at the top of the value stack without removing it.
- peek(int) - Method in class org.parboiled.BaseActions
-
Returns the value the given number of elements below the top of the value stack without removing it.
- poke(int, V) - Method in class org.parboiled.BaseActions
-
Replaces the element the given number of elements below the current top of the value stack.
- poke(V) - Method in class org.parboiled.BaseActions
-
Replaces the current top value of the value stack with the given value.
- pop() - Method in class org.parboiled.BaseActions
-
Removes the value at the top of the value stack and returns it.
- pop(int) - Method in class org.parboiled.BaseActions
-
Removes the value the given number of elements below the top of the value stack.
- position() - Method in class org.parboiled.BaseActions
-
Returns the current position in the underlying
InputBuffer
as aPosition
instance. - push(int, V) - Method in class org.parboiled.BaseActions
-
Inserts the given value a given number of elements below the current top of the value stack.
- push(V) - Method in class org.parboiled.BaseActions
-
Pushes the given value onto the value stack.
- pushAll(V, V...) - Method in class org.parboiled.BaseActions
-
Pushes all given elements onto the value stack (in the order as given).
R
- result - Variable in class org.parboiled.test.ParboiledTest.TestResult
S
- Sequence(Object[]) - Method in class org.parboiled.BaseParser
-
Creates a new rule that only succeeds if all of its subrule succeed, one after the other.
- Sequence(Object, Object, Object...) - Method in class org.parboiled.BaseParser
-
Creates a new rule that only succeeds if all of its subrule succeed, one after the other.
- setContext(Context<V>) - Method in class org.parboiled.BaseActions
-
ContextAware interface implementation.
- setSkipInPredicates() - Method in class org.parboiled.transform.BaseAction
- SkipActionsInPredicates - Annotation Interface in org.parboiled.annotations
-
Annotation that can be used on parser rule methods (i.e.
- skipInPredicates() - Method in class org.parboiled.transform.BaseAction
- SkipNode - Annotation Interface in org.parboiled.annotations
-
Annotation that can be used on parser methods returning
Rule
objects. - String(char...) - Method in class org.parboiled.BaseParser
-
Explicitly creates a rule matching the given string.
- String(String) - Method in class org.parboiled.BaseParser
-
Explicitly creates a rule matching the given string.
- SuppressNode - Annotation Interface in org.parboiled.annotations
-
Annotation that can be used on parser methods returning
Rule
objects. - SuppressSubnodes - Annotation Interface in org.parboiled.annotations
-
Annotation that can be used on parser methods returning
Rule
objects. - swap() - Method in class org.parboiled.BaseActions
-
Swaps the top two elements of the value stack.
- swap3() - Method in class org.parboiled.BaseActions
-
Reverses the order of the top 3 value stack elements.
- swap4() - Method in class org.parboiled.BaseActions
-
Reverses the order of the top 4 value stack elements.
- swap5() - Method in class org.parboiled.BaseActions
-
Reverses the order of the top 5 value stack elements.
- swap6() - Method in class org.parboiled.BaseActions
-
Reverses the order of the top 6 value stack elements.
T
- test(Rule, String) - Method in class org.parboiled.test.ParboiledTest
- test(Rule, InputBuffer) - Method in class org.parboiled.test.ParboiledTest
- Test(Object) - Method in class org.parboiled.BaseParser
-
Creates a new rule that acts as a syntactic predicate, i.e.
- Test(Object, Object, Object...) - Method in class org.parboiled.BaseParser
-
Creates a new rule that acts as a syntactic predicate, i.e.
- TestNot(Object) - Method in class org.parboiled.BaseParser
-
Creates a new rule that acts as an inverse syntactic predicate, i.e.
- TestNot(Object, Object, Object...) - Method in class org.parboiled.BaseParser
-
Creates a new rule that acts as an inverse syntactic predicate, i.e.
- TestResult(ParsingResult<V>) - Constructor for class org.parboiled.test.ParboiledTest.TestResult
- testWithRecovery(Rule, String) - Method in class org.parboiled.test.ParboiledTest
- testWithRecovery(Rule, InputBuffer) - Method in class org.parboiled.test.ParboiledTest
- toRule(Object) - Method in class org.parboiled.BaseParser
-
Converts the given object to a rule.
- toRules(Object...) - Method in class org.parboiled.BaseParser
-
Converts the given object array to an array of rules.
- toString() - Method in class org.parboiled.transform.BaseVarInit
- transformParser(Class<T>) - Static method in class org.parboiled.transform.ParserTransformer
V
Z
- ZeroOrMore(Object) - Method in class org.parboiled.BaseParser
-
Creates a new rule that tries repeated matches of its subrule.
- ZeroOrMore(Object, Object, Object...) - Method in class org.parboiled.BaseParser
-
Creates a new rule that tries repeated matches of the sequence of the given sub rules.
All Classes and Interfaces|All Packages|Constant Field Values