A B C D E F G H I J L M N O P R S T U V W Z
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- a - Variable in class org.parboiled.common.Tuple2
- a - Variable in class org.parboiled.common.Tuple3
- AbstractMatcher - Class in org.parboiled.matchers
-
Abstract base class of most regular
Matcher
s. - AbstractMatcher(String) - Constructor for class org.parboiled.matchers.AbstractMatcher
- AbstractMatcher(Rule[], String) - Constructor for class org.parboiled.matchers.AbstractMatcher
- AbstractMatcher(Rule, String) - Constructor for class org.parboiled.matchers.AbstractMatcher
- AbstractParseRunner<V> - Class in org.parboiled.parserunners
- AbstractParseRunner(Rule) - Constructor for class org.parboiled.parserunners.AbstractParseRunner
- accept(MatcherVisitor<R>) - Method in class org.parboiled.matchers.ActionMatcher
- accept(MatcherVisitor<R>) - Method in class org.parboiled.matchers.AnyMatcher
- accept(MatcherVisitor<R>) - Method in class org.parboiled.matchers.AnyOfMatcher
- accept(MatcherVisitor<R>) - Method in class org.parboiled.matchers.CharIgnoreCaseMatcher
- accept(MatcherVisitor<R>) - Method in class org.parboiled.matchers.CharMatcher
- accept(MatcherVisitor<R>) - Method in class org.parboiled.matchers.CharRangeMatcher
- accept(MatcherVisitor<R>) - Method in class org.parboiled.matchers.CustomMatcher
- accept(MatcherVisitor<R>) - Method in class org.parboiled.matchers.EmptyMatcher
- accept(MatcherVisitor<R>) - Method in class org.parboiled.matchers.FirstOfMatcher
- accept(MatcherVisitor<R>) - Method in interface org.parboiled.matchers.Matcher
-
Accepts the given matcher visitor.
- accept(MatcherVisitor<R>) - Method in class org.parboiled.matchers.MemoMismatchesMatcher
- accept(MatcherVisitor<R>) - Method in class org.parboiled.matchers.NothingMatcher
- accept(MatcherVisitor<R>) - Method in class org.parboiled.matchers.OneOrMoreMatcher
- accept(MatcherVisitor<R>) - Method in class org.parboiled.matchers.OptionalMatcher
- accept(MatcherVisitor<R>) - Method in class org.parboiled.matchers.ProxyMatcher
- accept(MatcherVisitor<R>) - Method in class org.parboiled.matchers.SequenceMatcher
- accept(MatcherVisitor<R>) - Method in class org.parboiled.matchers.TestMatcher
- accept(MatcherVisitor<R>) - Method in class org.parboiled.matchers.TestNotMatcher
- accept(MatcherVisitor<R>) - Method in class org.parboiled.matchers.VarFramingMatcher
- accept(MatcherVisitor<R>) - Method in class org.parboiled.matchers.ZeroOrMoreMatcher
- acquireChildren() - Method in class org.parboiled.trees.ImmutableTreeNode
- action - Variable in class org.parboiled.matchers.ActionMatcher
- Action<V> - Interface in org.parboiled
-
Instances of classes implementing this interface can be used directly in a rule definition to define a parser action.
- ActionError - Class in org.parboiled.errors
-
A
ParseError
wrapping an ActionException. - ActionError(InputBuffer, int, String, MatcherPath, ActionException) - Constructor for class org.parboiled.errors.ActionError
- ActionException - Exception in org.parboiled.errors
-
Exception that can be thrown by parser actions to signal that an error has occurred that is to be collected in the ParseErrors for the parsing run.
- ActionException() - Constructor for exception org.parboiled.errors.ActionException
- ActionException(String) - Constructor for exception org.parboiled.errors.ActionException
- ActionException(String, Throwable) - Constructor for exception org.parboiled.errors.ActionException
- ActionException(Throwable) - Constructor for exception org.parboiled.errors.ActionException
- ActionException(Throwable, String, Object...) - Constructor for exception org.parboiled.errors.ActionException
- ActionMatcher - Class in org.parboiled.matchers
- ActionMatcher(Action) - Constructor for class org.parboiled.matchers.ActionMatcher
- add(char) - Method in class org.parboiled.support.Characters
-
Adds the given character to the set.
- add(Characters) - Method in class org.parboiled.support.Characters
-
Returns a new Characters object containing all the characters of this instance plus all characters of the given instance.
- add(T...) - Method in class org.parboiled.common.ArrayBuilder
- addChild(int, T) - Method in class org.parboiled.trees.MutableBinaryTreeNodeImpl
- addChild(int, T) - Method in interface org.parboiled.trees.MutableTreeNode
-
Adds the given child to this nodes children list and setting the childs parent field to this node.
- addChild(int, T) - Method in class org.parboiled.trees.MutableTreeNodeImpl
- addChild(T, T) - Static method in class org.parboiled.trees.TreeUtils
-
Adds a new child node to a given MutableTreeNode parent.
- addNonNulls(T...) - Method in class org.parboiled.common.ArrayBuilder
- advanceIndex(int) - Method in class org.parboiled.MatcherContext
- ALL - Static variable in class org.parboiled.support.Characters
-
The Characters set including all character.
- allBut(char) - Static method in class org.parboiled.support.Characters
-
Creates a new Characters instance containing all characters minus the given one.
- allBut(char...) - Static method in class org.parboiled.support.Characters
-
Creates a new Characters instance containing all characters minus the given ones.
- allBut(String) - Static method in class org.parboiled.support.Characters
-
Creates a new Characters instance containing all characters minus the given ones.
- allRules - Static variable in class org.parboiled.parserunners.ProfilingParseRunner.Report
- alwaysFalse() - Static method in class org.parboiled.common.Predicates
-
Returns a predicate that always evaluates to
false
. - alwaysTrue() - Static method in class org.parboiled.common.Predicates
-
Returns a predicate that always evaluates to
true
. - and(Collection<? extends Predicate<? super T>>) - Static method in class org.parboiled.common.Predicates
-
Returns a predicate that evaluates to
true
if each of its components evaluates totrue
. - and(Predicate<? super T>...) - Static method in class org.parboiled.common.Predicates
-
Returns a predicate that evaluates to
true
if each of its components evaluates totrue
. - and(Predicate<? super T>, Predicate<? super T>) - Static method in class org.parboiled.common.Predicates
-
Returns a predicate that evaluates to
true
if both of its components evaluate totrue
. - AnyMatcher - Class in org.parboiled.matchers
-
A
Matcher
matching any single character except EOI. - AnyMatcher() - Constructor for class org.parboiled.matchers.AnyMatcher
- AnyOfMatcher - Class in org.parboiled.matchers
-
A
Matcher
matching a single character out of a givenCharacters
set. - AnyOfMatcher(Characters) - Constructor for class org.parboiled.matchers.AnyOfMatcher
- append(char) - Method in class org.parboiled.support.StringBuilderVar
-
Appends the given char.
- append(char) - Method in class org.parboiled.support.StringVar
-
Appends the given char.
- append(String) - Method in class org.parboiled.support.StringBuilderVar
-
Appends the given string.
- append(String) - Method in class org.parboiled.support.StringVar
-
Appends the given string.
- append(T) - Method in class org.parboiled.common.ImmutableList
- appended(char) - Method in class org.parboiled.support.StringBuilderVar
-
Appends the given char.
- appended(char) - Method in class org.parboiled.support.StringVar
-
Appends the given char.
- appended(String) - Method in class org.parboiled.support.StringBuilderVar
-
Appends the given string.
- appended(String) - Method in class org.parboiled.support.StringVar
-
Appends the given string.
- apply(Node<V>) - Method in class org.parboiled.support.LabelPrefixPredicate
- apply(T) - Method in interface org.parboiled.common.Predicate
- areMismatchesMemoed() - Method in class org.parboiled.matchers.AbstractMatcher
- areMismatchesMemoed() - Method in interface org.parboiled.matchers.Matcher
- areMismatchesMemoed() - Method in class org.parboiled.matchers.MemoMismatchesMatcher
- areMismatchesMemoed() - Method in class org.parboiled.matchers.ProxyMatcher
- areMismatchesMemoed() - Method in class org.parboiled.matchers.VarFramingMatcher
- areSubnodesSuppressed() - Method in class org.parboiled.matchers.AbstractMatcher
- areSubnodesSuppressed() - Method in interface org.parboiled.matchers.Matcher
- areSubnodesSuppressed() - Method in class org.parboiled.matchers.MemoMismatchesMatcher
- areSubnodesSuppressed() - Method in class org.parboiled.matchers.ProxyMatcher
- areSubnodesSuppressed() - Method in class org.parboiled.matchers.VarFramingMatcher
- arm(Matcher) - Method in class org.parboiled.matchers.ProxyMatcher
-
Supplies this ProxyMatcher with its underlying delegate.
- ArrayBuilder<T> - Class in org.parboiled.common
- ArrayBuilder() - Constructor for class org.parboiled.common.ArrayBuilder
- ArrayBuilder(T...) - Constructor for class org.parboiled.common.ArrayBuilder
- arrayOf(T[], T) - Static method in class org.parboiled.common.Utils
-
Joins the given arguments into one array.
- arrayOf(T, T...) - Static method in class org.parboiled.common.Utils
-
Joins the given arguments into one array.
- arrayOf(T, T, T...) - Static method in class org.parboiled.common.Utils
-
Joins the given arguments into one array.
- at(Matcher, Integer) - Static method in class org.parboiled.support.MatcherPosition
B
- b - Variable in class org.parboiled.common.Tuple2
- b - Variable in class org.parboiled.common.Tuple3
- Base64 - Class in org.parboiled.common
- Base64(String) - Constructor for class org.parboiled.common.Base64
- BasicParseError - Class in org.parboiled.errors
-
A basic
ParseError
implementation for a one-char parse error with an optional error message. - BasicParseError(InputBuffer, int, String) - Constructor for class org.parboiled.errors.BasicParseError
- BasicParseRunner<V> - Class in org.parboiled.parserunners
-
The most basic of all
ParseRunner
implementations. - BasicParseRunner(Rule) - Constructor for class org.parboiled.parserunners.BasicParseRunner
-
Creates a new BasicParseRunner instance for the given rule.
- BinaryTreeNode<T extends BinaryTreeNode<T>> - Interface in org.parboiled.trees
-
A
TreeNode
specialization with only two child nodes, left and right. - buffer - Variable in exception org.parboiled.errors.IllegalIndentationException
- builder - Variable in class org.parboiled.common.StringBuilderSink
C
- c - Variable in class org.parboiled.common.Tuple3
- canMatchEmpty() - Method in class org.parboiled.matchers.CustomMatcher
-
Determines whether this matcher instance allows empty matches.
- CanMatchEmptyVisitor - Class in org.parboiled.matchervisitors
-
A
MatcherVisitor
determining whether a matcher can legally succeed with an empty match. - CanMatchEmptyVisitor() - Constructor for class org.parboiled.matchervisitors.CanMatchEmptyVisitor
- character - Variable in class org.parboiled.matchers.CharMatcher
- characters - Variable in class org.parboiled.matchers.AnyOfMatcher
- characters - Variable in class org.parboiled.matchers.StringMatcher
- Characters - Class in org.parboiled.support
-
An immutable, set-like aggregation of (relatively few) characters that allows for an inverted semantic ("all chars except these few").
- charAt(int) - Method in class org.parboiled.buffers.DefaultInputBuffer
- charAt(int) - Method in class org.parboiled.buffers.IndentDedentInputBuffer
- charAt(int) - Method in interface org.parboiled.buffers.InputBuffer
-
Returns the character at the given index.
- charAt(int) - Method in class org.parboiled.buffers.MutableInputBuffer
- CharIgnoreCaseMatcher - Class in org.parboiled.matchers
-
A
Matcher
matching a single character case-independently. - CharIgnoreCaseMatcher(char) - Constructor for class org.parboiled.matchers.CharIgnoreCaseMatcher
- charLow - Variable in class org.parboiled.matchers.CharIgnoreCaseMatcher
- CharMatcher - Class in org.parboiled.matchers
-
A
Matcher
matching a single given character. - CharMatcher(char) - Constructor for class org.parboiled.matchers.CharMatcher
- CharRangeMatcher - Class in org.parboiled.matchers
-
A
Matcher
matching a single character out of a given range of characters. - CharRangeMatcher(char, char) - Constructor for class org.parboiled.matchers.CharRangeMatcher
- Chars - Class in org.parboiled.support
- charUp - Variable in class org.parboiled.matchers.CharIgnoreCaseMatcher
- checkArgNotNull(T, String) - Static method in class org.parboiled.common.Preconditions
-
Ensures that an object reference passed as a parameter to the calling method is not null.
- checkArgument(boolean) - Static method in class org.parboiled.common.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the calling method.
- checkArgument(boolean, Object) - Static method in class org.parboiled.common.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the calling method.
- checkArgument(boolean, String, Object...) - Static method in class org.parboiled.common.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the calling method.
- checkElementIndex(int, int) - Static method in class org.parboiled.common.Preconditions
-
Ensures that
index
specifies a valid element in an array, list or string of sizesize
. - checkElementIndex(int, int, String) - Static method in class org.parboiled.common.Preconditions
-
Ensures that
index
specifies a valid element in an array, list or string of sizesize
. - checkNotNull(T) - Static method in class org.parboiled.common.Preconditions
-
Ensures that an object reference passed as a parameter to the calling method is not null.
- checkNotNull(T, Object) - Static method in class org.parboiled.common.Preconditions
-
Ensures that an object reference passed as a parameter to the calling method is not null.
- checkNotNull(T, String, Object...) - Static method in class org.parboiled.common.Preconditions
-
Ensures that an object reference passed as a parameter to the calling method is not null.
- checkPositionIndex(int, int) - Static method in class org.parboiled.common.Preconditions
-
Ensures that
index
specifies a valid position in an array, list or string of sizesize
. - checkPositionIndex(int, int, String) - Static method in class org.parboiled.common.Preconditions
-
Ensures that
index
specifies a valid position in an array, list or string of sizesize
. - checkPositionIndexes(int, int, int) - Static method in class org.parboiled.common.Preconditions
-
Ensures that
start
andend
specify a valid positions in an array, list or string of sizesize
, and are in order. - Checks - Class in org.parboiled.support
-
Utility methods for grammar integrity checks.
- checkState(boolean) - Static method in class org.parboiled.common.Preconditions
-
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
- checkState(boolean, Object) - Static method in class org.parboiled.common.Preconditions
-
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
- checkState(boolean, String, Object...) - Static method in class org.parboiled.common.Preconditions
-
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
- cHigh - Variable in class org.parboiled.matchers.CharRangeMatcher
- clear() - Method in class org.parboiled.common.IntArrayStack
-
Empties the stack.
- clear() - Method in class org.parboiled.common.Reference
-
Sets this references value field to null.
- clear() - Method in class org.parboiled.support.DebuggingValueStack
- clear() - Method in class org.parboiled.support.DefaultValueStack
- clear() - Method in interface org.parboiled.support.ValueStack
-
Clears all values.
- clearContents() - Method in class org.parboiled.support.StringBuilderVar
-
Clears the contents of the wrapped StringBuilder.
- cLow - Variable in class org.parboiled.matchers.CharRangeMatcher
- collectAllNodes(T, C) - Static method in class org.parboiled.trees.GraphUtils
-
Collects all nodes from the graph reachable from the given node in the given collection.
- collectContent(InputBuffer) - Static method in class org.parboiled.buffers.InputBufferUtils
-
Collects the actual input text the input buffer provides into a String.
- collectNodes(List<Node<V>>, Predicate<Node<V>>, C) - Static method in class org.parboiled.support.ParseTreeUtils
-
Collects all nodes underneath the given parents for which the given predicate evaluates to true.
- collectNodes(Node<V>, Predicate<Node<V>>, C) - Static method in class org.parboiled.support.ParseTreeUtils
-
Collects all nodes underneath the given parent for which the given predicate evaluates to true.
- collectNodesByPath(List<Node<V>>, String, C) - Static method in class org.parboiled.support.ParseTreeUtils
-
Collects all nodes underneath the given parents that match the given path.
- collectNodesByPath(Node<V>, String, C) - Static method in class org.parboiled.support.ParseTreeUtils
-
Collects all nodes underneath the given parent that match the given path.
- column - Variable in class org.parboiled.support.Position
- commonPrefix(MatcherPath) - Method in class org.parboiled.support.MatcherPath
-
Returns the common prefix of this MatcherPath and the given other one.
- ConsoleSink - Class in org.parboiled.common
- ConsoleSink() - Constructor for class org.parboiled.common.ConsoleSink
- contains(char) - Method in class org.parboiled.support.Characters
-
Determines whether this instance contains the given character.
- contains(Matcher) - Method in class org.parboiled.support.MatcherPath
-
Determines whether the given matcher is contained in this path.
- contentsCleared() - Method in class org.parboiled.support.StringBuilderVar
-
Clears the contents of the wrapped StringBuilder.
- Context<V> - Interface in org.parboiled
-
A Context object is available to parser actions methods during their runtime and provides various support functionalities.
- ContextAware<V> - Interface in org.parboiled
-
Interface that can be implemented by classes containing action methods.
- contextAwares - Variable in class org.parboiled.matchers.ActionMatcher
- copyAll(InputStream, OutputStream) - Static method in class org.parboiled.common.FileUtils
- copyAll(Reader, Writer) - Static method in class org.parboiled.common.FileUtils
- copyOf(List<T>) - Static method in class org.parboiled.common.ImmutableList
- countAllDistinct(T) - Static method in class org.parboiled.trees.GraphUtils
-
Counts all distinct nodes in the graph reachable from the given node.
- create() - Method in interface org.parboiled.common.Factory
- createNode() - Method in class org.parboiled.MatcherContext
- createParsingResult(boolean, MatcherContext<V>) - Method in class org.parboiled.parserunners.AbstractParseRunner
- createRootContext(InputBuffer, MatchHandler, boolean) - Method in class org.parboiled.parserunners.AbstractParseRunner
- custom() - Static method in class org.parboiled.common.Base64
- CustomMatcher - Class in org.parboiled.matchers
-
Base class of custom matcher implementations.
- CustomMatcher(String) - Constructor for class org.parboiled.matchers.CustomMatcher
- CustomMatcher(Rule[], String) - Constructor for class org.parboiled.matchers.CustomMatcher
- CustomMatcher(Rule, String) - Constructor for class org.parboiled.matchers.CustomMatcher
D
- DebuggingValueStack<V> - Class in org.parboiled.support
- DebuggingValueStack() - Constructor for class org.parboiled.support.DebuggingValueStack
- DebuggingValueStack(Iterable<V>) - Constructor for class org.parboiled.support.DebuggingValueStack
- DebuggingValueStack(Iterable<V>, Sink<String>) - Constructor for class org.parboiled.support.DebuggingValueStack
- DebuggingValueStack(Sink<String>) - Constructor for class org.parboiled.support.DebuggingValueStack
- decode(byte[]) - Method in class org.parboiled.common.Base64
-
Decodes a BASE64 encoded byte array.
- decode(char[]) - Method in class org.parboiled.common.Base64
-
Decodes a BASE64 encoded char array.
- decode(String) - Method in class org.parboiled.common.Base64
-
Decodes a BASE64 encoded
String
. - decodeFast(byte[]) - Method in class org.parboiled.common.Base64
-
Decodes a BASE64 encoded byte array that is known to be resonably well formatted.
- decodeFast(char[]) - Method in class org.parboiled.common.Base64
-
Decodes a BASE64 encoded char array that is known to be resonably well formatted.
- decodeFast(String) - Method in class org.parboiled.common.Base64
-
Decodes a BASE64 encoded string that is known to be resonably well formatted.
- DEDENT - Static variable in class org.parboiled.support.Chars
-
Special non-character used by the
IndentDedentInputBuffer
. - DefaultInputBuffer - Class in org.parboiled.buffers
-
Immutable default implementation of an InputBuffer.
- DefaultInputBuffer(char[]) - Constructor for class org.parboiled.buffers.DefaultInputBuffer
-
Constructs a new DefaultInputBuffer wrapping the given char array.
- DefaultInvalidInputErrorFormatter - Class in org.parboiled.errors
-
A
Formatter
forInvalidInputError
s that automatically creates the correct "expected" text for the error. - DefaultInvalidInputErrorFormatter() - Constructor for class org.parboiled.errors.DefaultInvalidInputErrorFormatter
- DefaultMatcherVisitor<R> - Class in org.parboiled.matchervisitors
-
A basic
MatcherVisitor
implementation that delegates all visiting methods to one default value method. - DefaultMatcherVisitor() - Constructor for class org.parboiled.matchervisitors.DefaultMatcherVisitor
- defaultValue(AbstractMatcher) - Method in class org.parboiled.matchervisitors.DefaultMatcherVisitor
-
Returns the default value for all visiting methods that have not been overridden.
- defaultValue(AbstractMatcher) - Method in class org.parboiled.matchervisitors.DoWithMatcherVisitor
- defaultValue(AbstractMatcher) - Method in class org.parboiled.matchervisitors.FollowMatchersVisitor
- DefaultValueStack<V> - Class in org.parboiled.support
-
An implementation of a stack of value objects providing an efficient snapshot capability and a number of convenience methods.
- DefaultValueStack() - Constructor for class org.parboiled.support.DefaultValueStack
-
Initializes an empty value stack.
- DefaultValueStack(Iterable<V>) - Constructor for class org.parboiled.support.DefaultValueStack
-
Initializes a value stack containing the given values with the last value being at the top of the stack.
- DefaultValueStack.Element - Class in org.parboiled.support
- DEL_ERROR - Static variable in class org.parboiled.support.Chars
-
Special non-character used during error recovery.
- DoWithMatcherVisitor - Class in org.parboiled.matchervisitors
-
A MatcherVisitor that executes a given
DoWithMatcherVisitor.Action
against a whole matcher hierarchy in a depth-first manner. - DoWithMatcherVisitor(DoWithMatcherVisitor.Action) - Constructor for class org.parboiled.matchervisitors.DoWithMatcherVisitor
- DoWithMatcherVisitor.Action - Interface in org.parboiled.matchervisitors
- dup() - Method in class org.parboiled.support.DefaultValueStack
- dup() - Method in interface org.parboiled.support.ValueStack
-
Duplicates the top value.
E
- element - Variable in class org.parboiled.support.MatcherPath
- Element(Object, DefaultValueStack.Element) - Constructor for class org.parboiled.support.DefaultValueStack.Element
- Element(Matcher, int, int) - Constructor for class org.parboiled.support.MatcherPath.Element
- EMPTY - Static variable in class org.parboiled.support.IndexRange
- EMPTY_BOOLEAN_OBJECT_ARRAY - Static variable in class org.parboiled.common.Utils
- EMPTY_BYTE_OBJECT_ARRAY - Static variable in class org.parboiled.common.Utils
- EMPTY_CHARACTER_OBJECT_ARRAY - Static variable in class org.parboiled.common.Utils
- EMPTY_DOUBLE_OBJECT_ARRAY - Static variable in class org.parboiled.common.Utils
- EMPTY_FLOAT_OBJECT_ARRAY - Static variable in class org.parboiled.common.Utils
- EMPTY_INTEGER_OBJECT_ARRAY - Static variable in class org.parboiled.common.Utils
- EMPTY_LONG_OBJECT_ARRAY - Static variable in class org.parboiled.common.Utils
- EMPTY_SHORT_OBJECT_ARRAY - Static variable in class org.parboiled.common.Utils
- EmptyMatcher - Class in org.parboiled.matchers
-
A
Matcher
that always successfully matches nothing. - EmptyMatcher() - Constructor for class org.parboiled.matchers.EmptyMatcher
- encodeToByte(byte[], boolean) - Method in class org.parboiled.common.Base64
-
Encodes a raw byte array into a BASE64
byte[]
representation i accordance with RFC 2045. - encodeToChar(byte[], boolean) - Method in class org.parboiled.common.Base64
-
Encodes a raw byte array into a BASE64
char[]
representation i accordance with RFC 2045. - encodeToString(byte[], boolean) - Method in class org.parboiled.common.Base64
-
Encodes a raw byte array into a BASE64
String
representation in accordance with RFC 2045. - end - Variable in class org.parboiled.support.IndexRange
-
The index of the character following the last character of the range.
- ensure(boolean, String) - Static method in class org.parboiled.support.Checks
-
Throws a GrammarException if the given condition is not met.
- ensure(boolean, String, Object...) - Static method in class org.parboiled.support.Checks
-
Throws a GrammarException if the given condition is not met.
- ensureParentDir(File) - Static method in class org.parboiled.common.FileUtils
- ensureParentDir(String) - Static method in class org.parboiled.common.FileUtils
- enterFrame() - Method in class org.parboiled.support.Var
-
Provides a new frame for the variable.
- EOI - Static variable in class org.parboiled.support.Chars
-
The End-of-Input non-character.
- equal(ImmutableLinkedList<T>, ImmutableLinkedList<T>) - Static method in class org.parboiled.common.ImmutableLinkedList
- equal(T, T) - Static method in class org.parboiled.common.Utils
-
Null enabled equals().
- equals(Object) - Method in class org.parboiled.common.Tuple2
- equals(Object) - Method in class org.parboiled.common.Tuple3
- equals(Object) - Method in class org.parboiled.support.Characters
- equals(Object) - Method in class org.parboiled.support.IndexRange
- equals(Object) - Method in class org.parboiled.support.MatcherPosition
- equals(Object) - Method in class org.parboiled.support.Position
- equalsIgnoreCase(String, String) - Static method in class org.parboiled.common.StringUtils
-
Compares two Strings, returning
true
if they are equal ignoring the case. - equalTo(T) - Static method in class org.parboiled.common.Predicates
-
Returns a predicate that evaluates to
true
if the object being testedequals()
the given target or both are null. - ErrorLocatingParseRunner<V> - Class in org.parboiled.parserunners
-
A
ParseRunner
implementation that creates a simpleBasicParseError
for the first error found in the input and adds it to the list of ParseErrors. - ErrorLocatingParseRunner(Rule) - Constructor for class org.parboiled.parserunners.ErrorLocatingParseRunner
-
Creates a new ErrorLocatingParseRunner instance for the given rule.
- ErrorLocatingParseRunner(Rule, MatchHandler) - Constructor for class org.parboiled.parserunners.ErrorLocatingParseRunner
-
Creates a new ErrorLocatingParseRunner instance for the given rule.
- ErrorReportingParseRunner<V> - Class in org.parboiled.parserunners
-
A
ParseRunner
implementation that creates anInvalidInputError
for the error at a known error location. - ErrorReportingParseRunner(Rule, int) - Constructor for class org.parboiled.parserunners.ErrorReportingParseRunner
-
Creates a new ErrorReportingParseRunner instance for the given rule and the given errorIndex.
- ErrorReportingParseRunner(Rule, int, MatchHandler) - Constructor for class org.parboiled.parserunners.ErrorReportingParseRunner
-
Creates a new ErrorReportingParseRunner instance for the given rule and the given errorIndex.
- ErrorUtils - Class in org.parboiled.errors
-
General utility methods regarding parse errors.
- escape(char) - Static method in class org.parboiled.common.StringUtils
-
Replaces carriage returns, newlines, tabs, formfeeds and the special chars defined in
Characters
with their respective escape sequences. - escape(String) - Static method in class org.parboiled.common.StringUtils
-
Replaces carriage returns, newlines, tabs, formfeeds and the special chars defined in
Characters
with their respective escape sequences. - exitFrame() - Method in class org.parboiled.support.Var
-
Exits a frame previously entered with
Var.enterFrame()
. - extract(int, int) - Method in class org.parboiled.buffers.DefaultInputBuffer
- extract(int, int) - Method in class org.parboiled.buffers.IndentDedentInputBuffer
- extract(int, int) - Method in interface org.parboiled.buffers.InputBuffer
-
Constructs a new
String
from all character between the given indices. - extract(int, int) - Method in class org.parboiled.buffers.MutableInputBuffer
- extract(IndexRange) - Method in class org.parboiled.buffers.DefaultInputBuffer
- extract(IndexRange) - Method in class org.parboiled.buffers.IndentDedentInputBuffer
- extract(IndexRange) - Method in interface org.parboiled.buffers.InputBuffer
-
Constructs a new
String
from all character covered by the given IndexRange. - extract(IndexRange) - Method in class org.parboiled.buffers.MutableInputBuffer
- extractLine(int) - Method in class org.parboiled.buffers.DefaultInputBuffer
- extractLine(int) - Method in class org.parboiled.buffers.IndentDedentInputBuffer
- extractLine(int) - Method in interface org.parboiled.buffers.InputBuffer
-
Constructs a new
String
containing all characters with the given line number except for the trailing newline. - extractLine(int) - Method in class org.parboiled.buffers.MutableInputBuffer
F
- Factory<T> - Interface in org.parboiled.common
- fastStringMatching() - Method in interface org.parboiled.Context
-
Returns true if fast string matching is enabled for this parsing run.
- fastStringMatching() - Method in class org.parboiled.MatcherContext
- FileUtils - Class in org.parboiled.common
- Filters - Class in org.parboiled.support
- Filters() - Constructor for class org.parboiled.support.Filters
- findConstructor(Class<?>, Object[]) - Static method in class org.parboiled.common.Utils
-
Finds the constructor of the given class that is compatible with the given arguments.
- findLastNode(List<Node<V>>, Predicate<Node<V>>) - Static method in class org.parboiled.support.ParseTreeUtils
-
Returns the last node underneath the given parents for which the given predicate evaluates to true.
- findLastNode(Node<V>, Predicate<Node<V>>) - Static method in class org.parboiled.support.ParseTreeUtils
-
Returns the last node underneath the given parent for which the given predicate evaluates to true.
- findNode(List<Node<V>>, Predicate<Node<V>>) - Static method in class org.parboiled.support.ParseTreeUtils
-
Returns the first node underneath the given parents for which the given predicate evaluates to true.
- findNode(Node<V>, Predicate<Node<V>>) - Static method in class org.parboiled.support.ParseTreeUtils
-
Returns the first node underneath the given parent for which the given predicate evaluates to true.
- findNodeByLabel(List<Node<V>>, String) - Static method in class org.parboiled.support.ParseTreeUtils
-
Returns the first node underneath the given parents which matches the given label prefix.
- findNodeByLabel(Node<V>, String) - Static method in class org.parboiled.support.ParseTreeUtils
-
Returns the first node underneath the given parent for which matches the given label prefix.
- findNodeByPath(List<Node<V>>, String) - Static method in class org.parboiled.support.ParseTreeUtils
-
Returns the node underneath the given parents that matches the given path.
- findNodeByPath(Node<V>, String) - Static method in class org.parboiled.support.ParseTreeUtils
-
Returns the parse tree node underneath the given parent that matches the given path.
- FirstOfMatcher - Class in org.parboiled.matchers
-
A
Matcher
trying all of its submatchers in sequence and succeeding when the first submatcher succeeds. - FirstOfMatcher(Rule[]) - Constructor for class org.parboiled.matchers.FirstOfMatcher
- FirstOfStringsMatcher - Class in org.parboiled.matchers
-
A specialized FirstOfMatcher that handles FirstOf(string, string, ...) rules much faster that the regular FirstOfMatcher.
- FirstOfStringsMatcher(Rule[], char[][]) - Constructor for class org.parboiled.matchers.FirstOfStringsMatcher
- FollowMatchersVisitor - Class in org.parboiled.matchervisitors
-
Collects the matchers that can legally follow the given matcher according to the grammar into a given list.
- FollowMatchersVisitor() - Constructor for class org.parboiled.matchervisitors.FollowMatchersVisitor
- forceMkdir(File) - Static method in class org.parboiled.common.FileUtils
- format(InvalidInputError) - Method in class org.parboiled.errors.DefaultInvalidInputErrorFormatter
- format(Node<V>) - Method in class org.parboiled.support.NodeFormatter
- format(T) - Method in interface org.parboiled.common.Formatter
-
Create a string representation for the given object.
- format(T) - Method in class org.parboiled.support.ToStringFormatter
- Formatter<T> - Interface in org.parboiled.common
-
The capability to transform an object of type T into a string representation.
- fromLine(int) - Static method in class org.parboiled.support.Filters
-
A predicate usable as a filter (element) of a
TracingParseRunner
.
G
- generateFor(Rule) - Static method in class org.parboiled.ParserStatistics
- get() - Method in class org.parboiled.common.ArrayBuilder
- get() - Method in class org.parboiled.common.Reference
-
Retrieves this references value object.
- getActionClasses() - Method in class org.parboiled.ParserStatistics
- getActionException() - Method in class org.parboiled.errors.ActionError
-
Gets the wrapped ActionException.
- getActions() - Method in class org.parboiled.ParserStatistics
- getAlphabet() - Method in class org.parboiled.common.Base64
- getAndClear() - Method in class org.parboiled.common.Reference
-
Retrieves this references value field and clears it.
- getAndSet(T) - Method in class org.parboiled.common.Reference
-
Replaces this references value with the given one.
- getAnyMatchers() - Method in class org.parboiled.ParserStatistics
- getAnyOfMatchers() - Method in class org.parboiled.ParserStatistics
- getBasicSubContext() - Method in class org.parboiled.MatcherContext
- getCharIgnoreCaseMatchers() - Method in class org.parboiled.ParserStatistics
- getCharMatchers() - Method in class org.parboiled.ParserStatistics
- getCharRangeMatchers() - Method in class org.parboiled.ParserStatistics
- getChars() - Method in class org.parboiled.support.Characters
-
Returns the characters in this set, if it is additive.
- getChars() - Method in class org.parboiled.support.StringBuilderVar
- getChildren() - Method in class org.parboiled.matchers.MemoMismatchesMatcher
- getChildren() - Method in class org.parboiled.matchers.ProxyMatcher
- getChildren() - Method in class org.parboiled.matchers.VarFramingMatcher
- getChildren() - Method in interface org.parboiled.trees.GraphNode
-
Returns the sub nodes of this node.
- getChildren() - Method in class org.parboiled.trees.ImmutableGraphNode
- getChildren() - Method in class org.parboiled.trees.MutableTreeNodeImpl
- getClass(Type) - Static method in class org.parboiled.common.Utils
-
Get the underlying class for a type, or null if the type is a variable type.
- getCurrentChar() - Method in interface org.parboiled.Context
-
Returns the character at the current index..
- getCurrentChar() - Method in class org.parboiled.MatcherContext
- getCurrentIndex() - Method in interface org.parboiled.Context
-
Returns the current index in the input buffer.
- getCurrentIndex() - Method in class org.parboiled.MatcherContext
- getCustomMatchers() - Method in class org.parboiled.ParserStatistics
- getElementAtLevel(int) - Method in class org.parboiled.support.MatcherPath
-
Returns the Element at the given level.
- getElements(int[], int) - Method in class org.parboiled.common.IntArrayStack
-
Copies all elements currently on the stack into the given array.
- getEmptyMatchers() - Method in class org.parboiled.ParserStatistics
- getEndIndex() - Method in class org.parboiled.errors.BasicParseError
- getEndIndex() - Method in interface org.parboiled.errors.ParseError
-
Gets the end index of the parse error in the underlying input buffer.
- getEndIndex() - Method in interface org.parboiled.Node
-
Returns the end index of this nodes text in the underlying input buffer, i.e.
- getErrorMessage() - Method in class org.parboiled.errors.BasicParseError
- getErrorMessage() - Method in interface org.parboiled.errors.ParseError
-
An optional error message.
- getErrorPath() - Method in class org.parboiled.errors.ActionError
-
Gets the path to the matcher that caused this error.
- getExpectedString(InvalidInputError) - Method in class org.parboiled.errors.DefaultInvalidInputErrorFormatter
- getFailedMatchers() - Method in class org.parboiled.errors.InvalidInputError
-
Gets the list of paths to the single character matchers that failed at the error location of this error.
- getFilter() - Method in class org.parboiled.parserunners.TracingParseRunner
- getFirstChild(T) - Static method in class org.parboiled.trees.GraphUtils
-
Returns the first child node of the given node or null if node is null or does not have any children.
- getFirstMatchChar() - Method in interface org.parboiled.Context
-
Returns the first character of the input text matched by the rule immediately preceding the action expression that is currently being evaluated.
- getFirstMatchChar() - Method in class org.parboiled.MatcherContext
- getFirstOfMatchers() - Method in class org.parboiled.ParserStatistics
- getFirstOfStringMatchers() - Method in class org.parboiled.ParserStatistics
- getFollowMatchers(MatcherContext) - Method in class org.parboiled.matchervisitors.FollowMatchersVisitor
- getIndexDelta() - Method in class org.parboiled.errors.BasicParseError
- getInputBuffer() - Method in interface org.parboiled.Context
-
Returns the InputBuffer the parser is currently running against
- getInputBuffer() - Method in class org.parboiled.errors.BasicParseError
- getInputBuffer() - Method in interface org.parboiled.errors.ParseError
-
Gets the inputbuffer this error occurred in.
- getInputBuffer() - Method in class org.parboiled.MatcherContext
- getIntTag() - Method in class org.parboiled.MatcherContext
- getInvocations() - Method in class org.parboiled.parserunners.ProfilingParseRunner.RuleReport
- getInvocationSubs() - Method in class org.parboiled.parserunners.ProfilingParseRunner.RuleReport
- getLabel() - Method in class org.parboiled.matchers.AbstractMatcher
- getLabel() - Method in interface org.parboiled.matchers.Matcher
- getLabel() - Method in class org.parboiled.matchers.MemoMismatchesMatcher
- getLabel() - Method in class org.parboiled.matchers.ProxyMatcher
- getLabel() - Method in class org.parboiled.matchers.StringMatcher
- getLabel() - Method in class org.parboiled.matchers.VarFramingMatcher
- getLabel() - Method in interface org.parboiled.Node
-
Returns the label of this node which is equal to the name of the rule that created this node
- getLabels(Matcher) - Method in class org.parboiled.errors.DefaultInvalidInputErrorFormatter
-
Gets the labels corresponding to the given matcher, AnyOfMatchers are treated specially in that their label is constructed as a list of their contents
- getLastChild(T) - Static method in class org.parboiled.trees.GraphUtils
-
Returns the last child node of the given node or null if node is null or does not have any children.
- getLevel() - Method in interface org.parboiled.Context
-
Returns the current matcher level, with 0 being the root level, 1 being one level below the root and so on.
- getLevel() - Method in class org.parboiled.MatcherContext
- getLevel() - Method in class org.parboiled.support.Var
-
Returns the current frame level of this variable, the very first level corresponding to zero.
- getLineCount() - Method in class org.parboiled.buffers.DefaultInputBuffer
- getLineCount() - Method in class org.parboiled.buffers.IndentDedentInputBuffer
- getLineCount() - Method in interface org.parboiled.buffers.InputBuffer
-
Returns the number of lines in the input buffer.
- getLineCount() - Method in class org.parboiled.buffers.MutableInputBuffer
- getLog() - Method in class org.parboiled.parserunners.TracingParseRunner
- getMatch() - Method in interface org.parboiled.Context
-
Returns the input text matched by the rule immediately preceding the action expression that is currently being evaluated.
- getMatch() - Method in class org.parboiled.MatcherContext
- getMatchEndIndex() - Method in interface org.parboiled.Context
-
Returns the end index of the rule immediately preceding the action expression that is currently being evaluated.
- getMatchEndIndex() - Method in class org.parboiled.MatcherContext
- getMatcher() - Method in interface org.parboiled.Context
-
Returns the Matcher of this context or null, if this context is not valid anymore.
- getMatcher() - Method in class org.parboiled.MatcherContext
- getMatcher() - Method in interface org.parboiled.Node
-
Returns the matcher that created this node.
- getMatcher() - Method in class org.parboiled.parserunners.ProfilingParseRunner.RuleReport
- getMatches() - Method in class org.parboiled.parserunners.ProfilingParseRunner.RuleReport
- getMatchLength() - Method in interface org.parboiled.Context
-
Returns the number of characters matched by the rule immediately preceding the action expression that is currently being evaluated.
- getMatchLength() - Method in class org.parboiled.MatcherContext
- getMatchRange() - Method in interface org.parboiled.Context
-
Creates a new
IndexRange
instance covering the input text matched by the rule immediately preceding the action expression that is currently being evaluated. - getMatchRange() - Method in class org.parboiled.MatcherContext
- getMatchShare() - Method in class org.parboiled.parserunners.ProfilingParseRunner.RuleReport
- getMatchShare2() - Method in class org.parboiled.parserunners.ProfilingParseRunner.RuleReport
- getMatchStartIndex() - Method in interface org.parboiled.Context
-
Returns the start index of the rule immediately preceding the action expression that is currently being evaluated.
- getMatchStartIndex() - Method in class org.parboiled.MatcherContext
- getMatchSubs() - Method in class org.parboiled.parserunners.ProfilingParseRunner.RuleReport
- getMemoMismatchesMatchers() - Method in class org.parboiled.ParserStatistics
- getMessage() - Method in exception org.parboiled.errors.IllegalIndentationException
- getMismatches() - Method in class org.parboiled.parserunners.ProfilingParseRunner.RuleReport
- getMismatchSubs() - Method in class org.parboiled.parserunners.ProfilingParseRunner.RuleReport
- getName() - Method in class org.parboiled.support.Var
-
Gets the name of this Var.
- getNanoTime() - Method in class org.parboiled.parserunners.ProfilingParseRunner.RuleReport
- getNode() - Method in class org.parboiled.MatcherContext
- getNodeText(Node<?>, InputBuffer) - Static method in class org.parboiled.support.ParseTreeUtils
-
Returns the input text matched by the given node, with error correction.
- getNothingMatchers() - Method in class org.parboiled.ParserStatistics
- getOneOrMoreMatchers() - Method in class org.parboiled.ParserStatistics
- getOptionalMatchers() - Method in class org.parboiled.ParserStatistics
- getOriginalIndex(int) - Method in class org.parboiled.buffers.DefaultInputBuffer
- getOriginalIndex(int) - Method in class org.parboiled.buffers.IndentDedentInputBuffer
- getOriginalIndex(int) - Method in interface org.parboiled.buffers.InputBuffer
-
Translates the given index from the scope of this InputBuffer to the scope of the original, underlying char array.
- getOriginalIndex(int) - Method in class org.parboiled.buffers.MutableInputBuffer
- getParent() - Method in interface org.parboiled.Context
-
Returns the parent context, i.e.
- getParent() - Method in class org.parboiled.MatcherContext
- getParent() - Method in class org.parboiled.trees.ImmutableTreeNode
- getParent() - Method in class org.parboiled.trees.MutableTreeNodeImpl
- getParent() - Method in interface org.parboiled.trees.TreeNode
-
Returns the parent node or null if this node is the root.
- getParseErrors() - Method in interface org.parboiled.Context
-
Returns the list of parse errors for the entire parsing run.
- getParseErrors() - Method in class org.parboiled.MatcherContext
- getParseErrors() - Method in class org.parboiled.parserunners.AbstractParseRunner
- getPath() - Method in interface org.parboiled.Context
-
Returns the
MatcherPath
to the currently running matcher. - getPath() - Method in class org.parboiled.MatcherContext
- getPosition() - Method in interface org.parboiled.Context
-
Returns the current position in the underlying
InputBuffer
as aPosition
instance. - getPosition() - Method in class org.parboiled.MatcherContext
- getPosition(int) - Method in class org.parboiled.buffers.DefaultInputBuffer
- getPosition(int) - Method in class org.parboiled.buffers.IndentDedentInputBuffer
- getPosition(int) - Method in interface org.parboiled.buffers.InputBuffer
-
Returns the line and column number of the character with the given index encapsulated in a
Position
object. - getPosition(int) - Method in class org.parboiled.buffers.MutableInputBuffer
- getProxyMatchers() - Method in class org.parboiled.ParserStatistics
- getReinvocations() - Method in class org.parboiled.parserunners.ProfilingParseRunner.RuleReport
- getReinvocationShare() - Method in class org.parboiled.parserunners.ProfilingParseRunner.RuleReport
- getReinvocationShare2() - Method in class org.parboiled.parserunners.ProfilingParseRunner.RuleReport
- getReinvocationSubs() - Method in class org.parboiled.parserunners.ProfilingParseRunner.RuleReport
- getRematches() - Method in class org.parboiled.parserunners.ProfilingParseRunner.RuleReport
- getRematchSubs() - Method in class org.parboiled.parserunners.ProfilingParseRunner.RuleReport
- getRemismatches() - Method in class org.parboiled.parserunners.ProfilingParseRunner.RuleReport
- getRemismatchSubs() - Method in class org.parboiled.parserunners.ProfilingParseRunner.RuleReport
- getReport() - Method in class org.parboiled.parserunners.ProfilingParseRunner
- getRoot(T) - Static method in class org.parboiled.trees.TreeUtils
-
Returns the root of the tree the given node is part of.
- getRootMatcher() - Method in class org.parboiled.parserunners.AbstractParseRunner
- getRootRule() - Method in class org.parboiled.ParserStatistics
- getSequenceMatchers() - Method in class org.parboiled.ParserStatistics
- getStarterChar() - Method in class org.parboiled.matchers.CustomMatcher
-
Returns one of possibly several chars that a match can start with.
- GetStarterCharVisitor - Class in org.parboiled.matchervisitors
-
Returns the first character a given matcher can start a match with.
- GetStarterCharVisitor() - Constructor for class org.parboiled.matchervisitors.GetStarterCharVisitor
- getStartIndex() - Method in interface org.parboiled.Context
-
Returns the index into the underlying input buffer where the matcher of this context started its match.
- getStartIndex() - Method in class org.parboiled.errors.BasicParseError
- getStartIndex() - Method in interface org.parboiled.errors.ParseError
-
Gets the start index of the parse error in the underlying input buffer.
- getStartIndex() - Method in class org.parboiled.MatcherContext
- getStartIndex() - Method in interface org.parboiled.Node
-
Returns the start index of this nodes text in the underlying input buffer.
- getString() - Method in class org.parboiled.support.StringBuilderVar
- getStringMatchers() - Method in class org.parboiled.ParserStatistics
- getSubContext(MatcherContext) - Method in class org.parboiled.matchers.AbstractMatcher
- getSubContext(MatcherContext) - Method in class org.parboiled.matchers.ActionMatcher
- getSubContext(MatcherContext) - Method in interface org.parboiled.matchers.Matcher
-
Creates a context for the matching of this matcher using the given parent context.
- getSubContext(MatcherContext) - Method in class org.parboiled.matchers.MemoMismatchesMatcher
- getSubContext(MatcherContext) - Method in class org.parboiled.matchers.ProxyMatcher
- getSubContext(MatcherContext) - Method in class org.parboiled.matchers.VarFramingMatcher
- getSubContext(Matcher) - Method in class org.parboiled.MatcherContext
- getSubNodes() - Method in interface org.parboiled.Context
-
Returns the parse tree subnodes already created in the current context scope.
- getSubNodes() - Method in class org.parboiled.MatcherContext
- getTag() - Method in class org.parboiled.matchers.AbstractMatcher
- getTag() - Method in interface org.parboiled.matchers.Matcher
-
Retrieves a previously set tag object.
- getTag() - Method in class org.parboiled.matchers.MemoMismatchesMatcher
- getTag() - Method in class org.parboiled.matchers.ProxyMatcher
- getTag() - Method in class org.parboiled.matchers.VarFramingMatcher
- getTestMatchers() - Method in class org.parboiled.ParserStatistics
- getTestNotMatchers() - Method in class org.parboiled.ParserStatistics
- getTotalRules() - Method in class org.parboiled.ParserStatistics
- getTypeArguments(Class<?>, Class<?>) - Static method in class org.parboiled.common.Utils
-
Gets the actual type arguments that are used in a given implementation of a given generic base class or interface.
- getValue() - Method in interface org.parboiled.Node
-
Returns the value object attached to this node.
- getValueStack() - Method in interface org.parboiled.Context
-
Returns the value stack instance used during this parsing run.
- getValueStack() - Method in class org.parboiled.MatcherContext
- getValueStack() - Method in class org.parboiled.parserunners.AbstractParseRunner
- getVarFramingMatchers() - Method in class org.parboiled.ParserStatistics
- getZeroOrMoreMatchers() - Method in class org.parboiled.ParserStatistics
- GrammarException - Exception in org.parboiled.errors
-
Exception thrown by parboiled if a problem with the integrity of the grammar rules has been detected.
- GrammarException() - Constructor for exception org.parboiled.errors.GrammarException
- GrammarException(String) - Constructor for exception org.parboiled.errors.GrammarException
- GrammarException(String, Object...) - Constructor for exception org.parboiled.errors.GrammarException
- GrammarException(String, Throwable) - Constructor for exception org.parboiled.errors.GrammarException
- GrammarException(Throwable) - Constructor for exception org.parboiled.errors.GrammarException
- GrammarException(Throwable, String, Object...) - Constructor for exception org.parboiled.errors.GrammarException
- GraphNode<T extends GraphNode<T>> - Interface in org.parboiled.trees
-
A node in a directed graph (that may have cycles).
- GraphUtils - Class in org.parboiled.trees
-
General utility methods for operating on directed graphs (consisting of
GraphNode
s).
H
- hasChildren(GraphNode<?>) - Static method in class org.parboiled.trees.GraphUtils
-
Returns true if this node is not null and has at least one child node.
- hasCustomLabel() - Method in class org.parboiled.matchers.AbstractMatcher
- hasCustomLabel() - Method in interface org.parboiled.matchers.Matcher
- hasCustomLabel() - Method in class org.parboiled.matchers.MemoMismatchesMatcher
- hasCustomLabel() - Method in class org.parboiled.matchers.ProxyMatcher
- hasCustomLabel() - Method in class org.parboiled.matchers.StringMatcher
- hasCustomLabel() - Method in class org.parboiled.matchers.VarFramingMatcher
- hasError() - Method in interface org.parboiled.Context
-
Determines if this context or any sub node recorded a parse error.
- hasError() - Method in class org.parboiled.MatcherContext
- hasError() - Method in interface org.parboiled.Node
- hasErrors() - Method in class org.parboiled.support.ParsingResult
- hashCode() - Method in class org.parboiled.common.Tuple2
- hashCode() - Method in class org.parboiled.common.Tuple3
- hashCode() - Method in class org.parboiled.support.Characters
- hashCode() - Method in class org.parboiled.support.IndexRange
- hashCode() - Method in class org.parboiled.support.MatcherPosition
- hashCode() - Method in class org.parboiled.support.Position
- hashCode(ImmutableLinkedList<?>) - Static method in class org.parboiled.common.ImmutableLinkedList
- hasMismatched() - Method in class org.parboiled.MatcherContext
- head - Variable in class org.parboiled.support.DefaultValueStack
- head() - Method in class org.parboiled.common.ImmutableLinkedList
- humanize(long) - Static method in class org.parboiled.common.Utils
-
Formats the given long value into a human readable notation using the Kilo, Mega, Giga, etc.
I
- IllegalIndentationException - Exception in org.parboiled.errors
-
Exception thrown by the IndentDedentInputbuffer upon detection of an illegal indentation.
- IllegalIndentationException(InputBuffer, Position) - Constructor for exception org.parboiled.errors.IllegalIndentationException
- ImmutableBinaryTreeNode<T extends BinaryTreeNode<T>> - Class in org.parboiled.trees
-
A simple immutable implementation of the
BinaryTreeNode
interface. - ImmutableBinaryTreeNode(T, T) - Constructor for class org.parboiled.trees.ImmutableBinaryTreeNode
- ImmutableGraphNode<T extends GraphNode<T>> - Class in org.parboiled.trees
-
A simple, immutable
GraphNode
implementation. - ImmutableGraphNode() - Constructor for class org.parboiled.trees.ImmutableGraphNode
- ImmutableGraphNode(List<T>) - Constructor for class org.parboiled.trees.ImmutableGraphNode
- ImmutableLinkedList<T> - Class in org.parboiled.common
- ImmutableLinkedList(T, ImmutableLinkedList<T>) - Constructor for class org.parboiled.common.ImmutableLinkedList
- ImmutableList<T> - Class in org.parboiled.common
-
A simple, immutable List implementation wrapping an array.
- ImmutableList() - Constructor for class org.parboiled.common.ImmutableList
- ImmutableTreeNode<T extends TreeNode<T>> - Class in org.parboiled.trees
-
An
ImmutableGraphNode
specialization representing a tree node with a parent field linking back to the nodes (only) parent. - ImmutableTreeNode() - Constructor for class org.parboiled.trees.ImmutableTreeNode
- ImmutableTreeNode(List<T>) - Constructor for class org.parboiled.trees.ImmutableTreeNode
- in(Collection<? extends T>) - Static method in class org.parboiled.common.Predicates
-
Returns a predicate that evaluates to
true
if the object reference being tested is a member of the given collection. - INDENT - Static variable in class org.parboiled.support.Chars
-
Special non-character used by the
IndentDedentInputBuffer
. - IndentDedentInputBuffer - Class in org.parboiled.buffers
-
Special, immutable InputBuffer implementation for indentation based grammars.
- IndentDedentInputBuffer(char[], int, String, boolean) - Constructor for class org.parboiled.buffers.IndentDedentInputBuffer
-
Creates a new IndentDedentInputBuffer around the given char array.
- IndentDedentInputBuffer(char[], int, String, boolean, boolean) - Constructor for class org.parboiled.buffers.IndentDedentInputBuffer
-
Creates a new IndentDedentInputBuffer around the given char array.
- IndexRange - Class in org.parboiled.support
-
A simple immutable container for a range of indices into an underlying InputBuffer.
- IndexRange(int, int) - Constructor for class org.parboiled.support.IndexRange
- inErrorRecovery() - Method in interface org.parboiled.Context
-
Determines if the action calling this method is run during the resynchronization phase of an error recovery.
- inErrorRecovery() - Method in class org.parboiled.MatcherContext
- inPredicate() - Method in interface org.parboiled.Context
-
Determines if the current rule is running somewhere underneath a Test/TestNot rule.
- inPredicate() - Method in class org.parboiled.MatcherContext
- inputBuffer - Variable in exception org.parboiled.parserunners.RecoveringParseRunner.TimeoutException
- inputBuffer - Variable in class org.parboiled.support.ParsingResult
-
The underlying input buffer.
- InputBuffer - Interface in org.parboiled.buffers
-
Abstraction of a simple char[] buffer holding the input text to be parsed.
- InputBufferUtils - Class in org.parboiled.buffers
- INS_ERROR - Static variable in class org.parboiled.support.Chars
-
Special non-character used during error recovery.
- insertChar(int, char) - Method in class org.parboiled.buffers.MutableInputBuffer
- instanceOf(Class<?>) - Static method in class org.parboiled.common.Predicates
-
Returns a predicate that evaluates to
true
if the object being tested is an instance of the given class. - IntArrayStack - Class in org.parboiled.common
- IntArrayStack() - Constructor for class org.parboiled.common.IntArrayStack
- IntArrayStack.UnderflowException - Exception in org.parboiled.common
- InvalidInputError - Class in org.parboiled.errors
-
A
ParseError
describing one or more input characters that are illegal with regard to the underlying language grammar. - InvalidInputError(InputBuffer, int, List<MatcherPath>, String) - Constructor for class org.parboiled.errors.InvalidInputError
- isBoxedType(Class<?>, Class<?>) - Static method in class org.parboiled.common.Utils
-
Determines if the primitive type is boxed as the boxed type
- isEmpty() - Method in class org.parboiled.common.ImmutableLinkedList
- isEmpty() - Method in class org.parboiled.common.IntArrayStack
-
Tests if the stack is empty.
- isEmpty() - Method in class org.parboiled.support.DefaultValueStack
- isEmpty() - Method in class org.parboiled.support.IndexRange
-
Determines whether this range contains no characters.
- isEmpty() - Method in class org.parboiled.support.StringBuilderVar
-
Returns true if the wrapped string is either null or empty.
- isEmpty() - Method in class org.parboiled.support.StringVar
-
Returns true if the wrapped string is either null or empty.
- isEmpty() - Method in interface org.parboiled.support.ValueStack
-
Determines whether the stack is empty.
- isEmpty(String) - Static method in class org.parboiled.common.StringUtils
-
Checks if a String is empty ("") or null.
- isFollowedBy(IndexRange) - Method in class org.parboiled.support.IndexRange
-
Determines whether this range is immediated followed by the given other one.
- isNodeSkipped() - Method in class org.parboiled.matchers.AbstractMatcher
- isNodeSkipped() - Method in interface org.parboiled.matchers.Matcher
- isNodeSkipped() - Method in class org.parboiled.matchers.MemoMismatchesMatcher
- isNodeSkipped() - Method in class org.parboiled.matchers.ProxyMatcher
- isNodeSkipped() - Method in class org.parboiled.matchers.VarFramingMatcher
- isNodeSuppressed() - Method in interface org.parboiled.Context
-
Determines if the current context is for or below a rule marked @SuppressNode or below one marked @SuppressSubnodes.
- isNodeSuppressed() - Method in class org.parboiled.MatcherContext
- isNodeSuppressed() - Method in class org.parboiled.matchers.AbstractMatcher
- isNodeSuppressed() - Method in interface org.parboiled.matchers.Matcher
- isNodeSuppressed() - Method in class org.parboiled.matchers.MemoMismatchesMatcher
- isNodeSuppressed() - Method in class org.parboiled.matchers.ProxyMatcher
- isNodeSuppressed() - Method in class org.parboiled.matchers.VarFramingMatcher
- isNotEmpty(String) - Static method in class org.parboiled.common.StringUtils
-
Checks if a String is not empty ("") and not null.
- isNotSet() - Method in class org.parboiled.common.Reference
- isNull() - Static method in class org.parboiled.common.Predicates
-
Returns a predicate that evaluates to
true
if the object reference being tested is null. - isPrecededBy(IndexRange) - Method in class org.parboiled.support.IndexRange
-
Determines whether this range immediated follows the given other one.
- isPrefixOf(MatcherPath) - Method in class org.parboiled.support.MatcherPath
-
Determines whether this path is a prefix of the given other path.
- isSet() - Method in class org.parboiled.common.Reference
- isSingleCharMatcher() - Method in class org.parboiled.matchers.CustomMatcher
-
Determines whether this matcher instance always matches exactly one character.
- IsSingleCharMatcherVisitor - Class in org.parboiled.matchervisitors
-
A
MatcherVisitor
determining whether a matcher is a basic single character matcher. - IsSingleCharMatcherVisitor() - Constructor for class org.parboiled.matchervisitors.IsSingleCharMatcherVisitor
- isStarterChar(char) - Method in class org.parboiled.matchers.CustomMatcher
-
Determines whether this matcher instance can start a match with the given char.
- IsStarterCharVisitor - Class in org.parboiled.matchervisitors
-
A
MatcherVisitor
determining whether a matcher can start a match with a given char. - IsStarterCharVisitor(char) - Constructor for class org.parboiled.matchervisitors.IsStarterCharVisitor
- isSubtractive() - Method in class org.parboiled.support.Characters
- iterator() - Method in class org.parboiled.support.DefaultValueStack
J
- join(Iterable, String) - Static method in class org.parboiled.common.StringUtils
-
Joins the elements of the provided
Iterable
into a single String containing the provided elements. - join(Object[], String) - Static method in class org.parboiled.common.StringUtils
-
Joins the elements of the provided array into a single String containing the provided list of elements.
- join(Object[], String, int, int) - Static method in class org.parboiled.common.StringUtils
-
Joins the elements of the provided array into a single String containing the provided list of elements.
- join(Iterator, String) - Static method in class org.parboiled.common.StringUtils
-
Joins the elements of the provided
Iterator
into a single String containing the provided elements. - join(List<String>) - Method in class org.parboiled.errors.DefaultInvalidInputErrorFormatter
L
- label(String) - Method in class org.parboiled.matchers.AbstractMatcher
- label(String) - Method in class org.parboiled.matchers.MemoMismatchesMatcher
- label(String) - Method in class org.parboiled.matchers.ProxyMatcher
- label(String) - Method in class org.parboiled.matchers.VarFramingMatcher
- label(String) - Method in interface org.parboiled.Rule
-
Attaches a label to this Rule.
- LabelPrefixPredicate<V> - Class in org.parboiled.support
-
A simple Node predicate determining whether a Node matches a given label prefix.
- LabelPrefixPredicate(String) - Constructor for class org.parboiled.support.LabelPrefixPredicate
- last() - Method in class org.parboiled.common.ImmutableLinkedList
- lastParsingResult - Variable in exception org.parboiled.parserunners.RecoveringParseRunner.TimeoutException
- left() - Method in interface org.parboiled.trees.BinaryTreeNode
-
Returns the left sub node.
- left() - Method in class org.parboiled.trees.ImmutableBinaryTreeNode
- left() - Method in class org.parboiled.trees.MutableBinaryTreeNodeImpl
- left(String, int) - Static method in class org.parboiled.common.StringUtils
-
Gets the leftmost
len
characters of a String. - length() - Method in class org.parboiled.support.IndexRange
- length() - Method in class org.parboiled.support.MatcherPath
- length(String) - Static method in class org.parboiled.common.StringUtils
-
Gets a String's length or
0
if the String isnull
. - level - Variable in class org.parboiled.support.MatcherPath.Element
- line - Variable in class org.parboiled.support.Position
- lines(int, int) - Static method in class org.parboiled.support.Filters
-
A predicate usable as a filter (element) of a
TracingParseRunner
. - listIterator(int) - Method in class org.parboiled.common.ImmutableLinkedList
- log - Variable in class org.parboiled.support.DebuggingValueStack
- log(String) - Method in class org.parboiled.support.DebuggingValueStack
M
- markError() - Method in class org.parboiled.MatcherContext
- match(MatcherContext) - Method in class org.parboiled.matchers.AnyMatcher
- match(MatcherContext) - Method in class org.parboiled.matchers.AnyOfMatcher
- match(MatcherContext) - Method in class org.parboiled.matchers.CharIgnoreCaseMatcher
- match(MatcherContext) - Method in class org.parboiled.matchers.CharMatcher
- match(MatcherContext) - Method in class org.parboiled.matchers.CharRangeMatcher
- match(MatcherContext) - Method in class org.parboiled.matchers.EmptyMatcher
- match(MatcherContext) - Method in class org.parboiled.matchers.FirstOfMatcher
- match(MatcherContext) - Method in class org.parboiled.matchers.FirstOfStringsMatcher
- match(MatcherContext) - Method in class org.parboiled.matchers.NothingMatcher
- match(MatcherContext) - Method in class org.parboiled.matchers.OneOrMoreMatcher
- match(MatcherContext) - Method in class org.parboiled.matchers.OptionalMatcher
- match(MatcherContext) - Method in class org.parboiled.matchers.SequenceMatcher
- match(MatcherContext) - Method in class org.parboiled.matchers.StringMatcher
- match(MatcherContext) - Method in class org.parboiled.matchers.TestMatcher
- match(MatcherContext) - Method in class org.parboiled.matchers.TestNotMatcher
- match(MatcherContext) - Method in class org.parboiled.matchers.ZeroOrMoreMatcher
- match(MatcherContext<?>) - Method in interface org.parboiled.MatchHandler
-
Runs the given MatcherContext.
- match(MatcherContext<?>) - Method in class org.parboiled.parserunners.BasicParseRunner
- match(MatcherContext<?>) - Method in class org.parboiled.parserunners.ErrorLocatingParseRunner
- match(MatcherContext<?>) - Method in class org.parboiled.parserunners.ErrorReportingParseRunner
- match(MatcherContext<?>) - Method in class org.parboiled.parserunners.ProfilingParseRunner
- match(MatcherContext<?>) - Method in class org.parboiled.parserunners.TracingParseRunner
- match(MatcherContext<V>) - Method in class org.parboiled.matchers.ActionMatcher
- match(MatcherContext<V>) - Method in interface org.parboiled.matchers.Matcher
-
Tries a match on the given MatcherContext.
- match(MatcherContext<V>) - Method in class org.parboiled.matchers.MemoMismatchesMatcher
- match(MatcherContext<V>) - Method in class org.parboiled.matchers.ProxyMatcher
- match(MatcherContext<V>) - Method in class org.parboiled.matchers.VarFramingMatcher
- matched - Variable in class org.parboiled.support.ParsingResult
-
Indicates whether the input was successfully parsed.
- matcher - Variable in class org.parboiled.support.MatcherPath.Element
- Matcher - Interface in org.parboiled.matchers
-
A Matcher instance is responsible for "executing" a specific Rule instance, i.e.
- MatcherContext<V> - Class in org.parboiled
-
The Context implementation orchestrating most of the matching process.
- MatcherContext(InputBuffer, ValueStack<V>, List<ParseError>, MatchHandler, Matcher, boolean) - Constructor for class org.parboiled.MatcherContext
-
Initializes a new root MatcherContext.
- MatcherPath - Class in org.parboiled.support
-
Holds a snapshot of the current
Matcher
stack at a certain point during the parsing process. - MatcherPath(MatcherPath.Element, MatcherPath) - Constructor for class org.parboiled.support.MatcherPath
-
Constructs a new MatcherPath wrapping the given elements.
- MatcherPath.Element - Class in org.parboiled.support
- MatcherPosition - Class in org.parboiled.support
- MatcherPosition(Matcher, Integer) - Constructor for class org.parboiled.support.MatcherPosition
- MatcherUtils - Class in org.parboiled.matchers
- MatcherVisitor<R> - Interface in org.parboiled.matchervisitors
-
The interface to be implemented by all visitors of
Matcher
s. - MatchHandler - Interface in org.parboiled
-
A MatchHandler is responsible for actually running the match of a given
MatcherContext
. - matchShare - Variable in class org.parboiled.parserunners.ProfilingParseRunner.Report
- memoizeMismatch() - Method in class org.parboiled.MatcherContext
- memoMismatches() - Method in class org.parboiled.matchers.AbstractMatcher
- memoMismatches() - Method in class org.parboiled.matchers.MemoMismatchesMatcher
- memoMismatches() - Method in class org.parboiled.matchers.ProxyMatcher
- memoMismatches() - Method in class org.parboiled.matchers.VarFramingMatcher
- memoMismatches() - Method in interface org.parboiled.Rule
-
Enables memoization of rule mismatches for consecutive rule applications at the same input location.
- MemoMismatchesMatcher - Class in org.parboiled.matchers
-
Special wrapping matcher that performs memoization of the last mismatch of the wrapped sub rule.
- MemoMismatchesMatcher(Rule) - Constructor for class org.parboiled.matchers.MemoMismatchesMatcher
- mergedWith(IndexRange) - Method in class org.parboiled.support.IndexRange
-
Created a new IndexRange that spans all characters between the smallest and the highest index of the two ranges.
- mid(String, int, int) - Static method in class org.parboiled.common.StringUtils
-
Gets
len
characters from the middle of a String. - MutableBinaryTreeNode<T extends MutableBinaryTreeNode<T>> - Interface in org.parboiled.trees
-
A
MutableTreeNode
specialization also satisfying theBinaryTreeNode
interface and providing mutability methods. - MutableBinaryTreeNodeImpl<T extends MutableBinaryTreeNode<T>> - Class in org.parboiled.trees
-
A simple
MutableBinaryTreeNode
implementation based on theMutableTreeNodeImpl
. - MutableBinaryTreeNodeImpl() - Constructor for class org.parboiled.trees.MutableBinaryTreeNodeImpl
- MutableInputBuffer - Class in org.parboiled.buffers
-
An InputBuffer wrapping another InputBuffer and providing for the ability to insert (and undo) characters at certain index positions.
- MutableInputBuffer(InputBuffer) - Constructor for class org.parboiled.buffers.MutableInputBuffer
- MutableTreeNode<T extends MutableTreeNode<T>> - Interface in org.parboiled.trees
-
A
TreeNode
specialiation that allow for mutability of the tree structure. - MutableTreeNodeImpl<T extends MutableTreeNode<T>> - Class in org.parboiled.trees
-
A base implementation of the
MutableTreeNode
. - MutableTreeNodeImpl() - Constructor for class org.parboiled.trees.MutableTreeNodeImpl
N
- namedRules - Static variable in class org.parboiled.parserunners.ProfilingParseRunner.Report
- nil() - Static method in class org.parboiled.common.ImmutableLinkedList
- Node<V> - Interface in org.parboiled
-
Represents a node in the parse tree created during a parsing run.
- NodeFormatter<V> - Class in org.parboiled.support
-
A simple Formatter
that provides String representation for parse tree nodes. - NodeFormatter(InputBuffer) - Constructor for class org.parboiled.support.NodeFormatter
-
Creates a new NodeFormatter.
- NONE - Static variable in class org.parboiled.support.Characters
-
The empty Characters set
- not(Predicate<T>) - Static method in class org.parboiled.common.Predicates
-
Returns a predicate that evaluates to
true
if the given predicate evaluates tofalse
. - NothingMatcher - Class in org.parboiled.matchers
-
A
Matcher
that never matches anything. - NothingMatcher() - Constructor for class org.parboiled.matchers.NothingMatcher
- notNull() - Static method in class org.parboiled.common.Predicates
-
Returns a predicate that evaluates to
true
if the object reference being tested is not null.
O
- of() - Static method in class org.parboiled.common.ImmutableList
- of(char) - Static method in class org.parboiled.support.Characters
-
Creates a new Characters instance containing only the given char.
- of(char...) - Static method in class org.parboiled.support.Characters
-
Creates a new Characters instance containing only the given chars.
- of(String) - Static method in class org.parboiled.support.Characters
-
Creates a new Characters instance containing only the given chars.
- of(ImmutableList<T>, T) - Static method in class org.parboiled.common.ImmutableList
- of(T) - Static method in class org.parboiled.common.ImmutableList
- of(T...) - Static method in class org.parboiled.common.ImmutableList
- of(T[], T) - Static method in class org.parboiled.common.ImmutableList
- of(T, ImmutableList<T>) - Static method in class org.parboiled.common.ImmutableList
- of(T, T) - Static method in class org.parboiled.common.ImmutableList
- of(T, T[]) - Static method in class org.parboiled.common.ImmutableList
- of(T, T, T) - Static method in class org.parboiled.common.ImmutableList
- OneOrMoreMatcher - Class in org.parboiled.matchers
-
A
Matcher
that repeatedly tries its submatcher against the input. - OneOrMoreMatcher(Rule) - Constructor for class org.parboiled.matchers.OneOrMoreMatcher
- onlyMatches() - Static method in class org.parboiled.support.Filters
-
A predicate usable as a filter (element) of a
TracingParseRunner
. - onlyMismatches() - Static method in class org.parboiled.support.Filters
-
A predicate usable as a filter (element) of a
TracingParseRunner
. - onlyRules(Rule...) - Static method in class org.parboiled.support.Filters
-
A predicate usable as a filter (element) of a
TracingParseRunner
. - OptionalMatcher - Class in org.parboiled.matchers
-
A
Matcher
that tries its submatcher once against the input and always succeeds. - OptionalMatcher(Rule) - Constructor for class org.parboiled.matchers.OptionalMatcher
- or(Collection<? extends Predicate<? super T>>) - Static method in class org.parboiled.common.Predicates
-
Returns a predicate that evaluates to
true
if any one of its components evaluates totrue
. - or(Predicate<? super T>...) - Static method in class org.parboiled.common.Predicates
-
Returns a predicate that evaluates to
true
if any one of its components evaluates totrue
. - or(Predicate<? super T>, Predicate<? super T>) - Static method in class org.parboiled.common.Predicates
-
Returns a predicate that evaluates to
true
if either of its components evaluates totrue
. - org.parboiled - package org.parboiled
- org.parboiled.buffers - package org.parboiled.buffers
- org.parboiled.common - package org.parboiled.common
- org.parboiled.errors - package org.parboiled.errors
- org.parboiled.matchers - package org.parboiled.matchers
- org.parboiled.matchervisitors - package org.parboiled.matchervisitors
- org.parboiled.parserunners - package org.parboiled.parserunners
- org.parboiled.support - package org.parboiled.support
- org.parboiled.trees - package org.parboiled.trees
- overlapsWith(IndexRange) - Method in class org.parboiled.support.IndexRange
-
Determines whether this range overlaps with the given other one.
P
- parent - Variable in class org.parboiled.support.MatcherPath
- ParseError - Interface in org.parboiled.errors
-
Common interface of all parboiled parse error implementations.
- parseErrors - Variable in class org.parboiled.support.ParsingResult
-
The list of parse errors created during the parsing run.
- ParserRuntimeException - Exception in org.parboiled.errors
-
Exception that is thrown for any problem during the parsing run that cannot be overcome automatically.
- ParserRuntimeException() - Constructor for exception org.parboiled.errors.ParserRuntimeException
- ParserRuntimeException(String) - Constructor for exception org.parboiled.errors.ParserRuntimeException
- ParserRuntimeException(String, Object...) - Constructor for exception org.parboiled.errors.ParserRuntimeException
- ParserRuntimeException(String, Throwable) - Constructor for exception org.parboiled.errors.ParserRuntimeException
- ParserRuntimeException(Throwable) - Constructor for exception org.parboiled.errors.ParserRuntimeException
- ParserRuntimeException(Throwable, String, Object...) - Constructor for exception org.parboiled.errors.ParserRuntimeException
- ParserStatistics - Class in org.parboiled
- ParseRunner<V> - Interface in org.parboiled.parserunners
-
A ParseRunner performs the actual parsing run of a given parser rule on a given input text.
- parseTreeRoot - Variable in class org.parboiled.support.ParsingResult
-
The root node of the parse tree created by the parsing run.
- ParseTreeUtils - Class in org.parboiled.support
-
General utility methods for operating on parse trees.
- ParsingException - Exception in org.parboiled.errors
-
Exception type not directly used by parboiled but included as a convenience base class for custom exceptions (or to be used directly if no custom exception types are required).
- ParsingException() - Constructor for exception org.parboiled.errors.ParsingException
- ParsingException(String) - Constructor for exception org.parboiled.errors.ParsingException
- ParsingException(String, Object...) - Constructor for exception org.parboiled.errors.ParsingException
- ParsingException(String, Throwable) - Constructor for exception org.parboiled.errors.ParsingException
- ParsingException(Throwable) - Constructor for exception org.parboiled.errors.ParsingException
- ParsingException(Throwable, String, Object...) - Constructor for exception org.parboiled.errors.ParsingException
- ParsingResult<V> - Class in org.parboiled.support
-
A simple container encapsulating the result of a parsing run.
- ParsingResult(boolean, Node<V>, ValueStack<V>, List<ParseError>, InputBuffer) - Constructor for class org.parboiled.support.ParsingResult
-
Creates a new ParsingResult.
- peek() - Method in class org.parboiled.common.IntArrayStack
-
Returns the item at the top of the stack without removing it.
- peek() - Method in class org.parboiled.support.DefaultValueStack
- peek() - Method in interface org.parboiled.support.ValueStack
-
Returns the value at the top of the stack without removing it.
- peek(int) - Method in class org.parboiled.support.DefaultValueStack
- peek(int) - Method in interface org.parboiled.support.ValueStack
-
Returns the value the given number of elements below the top of the stack without removing it.
- poke(int, V) - Method in class org.parboiled.support.DebuggingValueStack
- poke(int, V) - Method in class org.parboiled.support.DefaultValueStack
- poke(int, V) - Method in interface org.parboiled.support.ValueStack
-
Replaces the element the given number of elements below the current top of the stack.
- poke(V) - Method in class org.parboiled.support.DefaultValueStack
- poke(V) - Method in interface org.parboiled.support.ValueStack
-
Replaces the current top value with the given value.
- pop() - Method in class org.parboiled.common.IntArrayStack
-
Removes the most recently inserted item from the stack.
- pop() - Method in class org.parboiled.support.DefaultValueStack
- pop() - Method in interface org.parboiled.support.ValueStack
-
Removes the value at the top of the stack and returns it.
- pop(int) - Method in class org.parboiled.support.DebuggingValueStack
- pop(int) - Method in class org.parboiled.support.DefaultValueStack
- pop(int) - Method in interface org.parboiled.support.ValueStack
-
Removes the value the given number of elements below the top of the stack.
- position - Variable in exception org.parboiled.errors.IllegalIndentationException
- Position - Class in org.parboiled.support
-
Simple container class for a line/column position in the input text.
- Position(int, int) - Constructor for class org.parboiled.support.Position
- Preconditions - Class in org.parboiled.common
-
Simple static methods to be called at the start of your own methods to verify correct arguments and state.
- Predicate<T> - Interface in org.parboiled.common
- Predicates - Class in org.parboiled.common
- prepend(T) - Method in class org.parboiled.common.ImmutableLinkedList
- preventLoops() - Static method in class org.parboiled.support.Filters
-
A predicate for rule tree printing.
- print() - Method in class org.parboiled.parserunners.ProfilingParseRunner.Report
- printActionClassInstances() - Method in class org.parboiled.ParserStatistics
- printBasics() - Method in class org.parboiled.parserunners.ProfilingParseRunner.Report
- printErrorMessage(String, String, int, int, InputBuffer) - Static method in class org.parboiled.errors.ErrorUtils
-
Prints an error message showing a location in the given InputBuffer.
- printErrorMessage(String, String, int, InputBuffer) - Static method in class org.parboiled.errors.ErrorUtils
-
Prints an error message showing a location in the given InputBuffer.
- printNodeTree(ParsingResult<V>) - Static method in class org.parboiled.support.ParseTreeUtils
-
Creates a readable string represenation of the parse tree in the given
ParsingResult
object. - printNodeTree(ParsingResult<V>, Predicate<Node<V>>, Predicate<Node<V>>) - Static method in class org.parboiled.support.ParseTreeUtils
-
Creates a readable string represenation of the parse tree in thee given
ParsingResult
object. - printParseError(ParseError) - Static method in class org.parboiled.errors.ErrorUtils
-
Pretty prints the given parse error showing its location in the given input buffer.
- printParseError(ParseError, Formatter<InvalidInputError>) - Static method in class org.parboiled.errors.ErrorUtils
-
Pretty prints the given parse error showing its location in the given input buffer.
- printParseErrors(List<ParseError>) - Static method in class org.parboiled.errors.ErrorUtils
-
Pretty prints the given parse errors showing their location in the given input buffer.
- printParseErrors(ParsingResult<?>) - Static method in class org.parboiled.errors.ErrorUtils
-
Pretty prints the parse errors of the given ParsingResult showing their location in the given input buffer.
- printTopRules(int, Predicate<ProfilingParseRunner.RuleReport>) - Method in class org.parboiled.parserunners.ProfilingParseRunner.Report
- printTree(T, Formatter<T>) - Static method in class org.parboiled.trees.GraphUtils
-
Creates a string representation of the graph reachable from the given node using the given formatter.
- printTree(T, Formatter<T>, Predicate<T>, Predicate<T>) - Static method in class org.parboiled.trees.GraphUtils
-
Creates a string representation of the graph reachable from the given node using the given formatter.
- process(Matcher) - Method in interface org.parboiled.matchervisitors.DoWithMatcherVisitor.Action
- ProfilingParseRunner<V> - Class in org.parboiled.parserunners
-
The ProfilingParseRunner is a special
ParseRunner
implementation that "watches" a parser digest a number of inputs and collects all sorts of statistical data on the what rules have matched how many times, the number of reincovations of rules at identical input locations, and so on. - ProfilingParseRunner(Rule) - Constructor for class org.parboiled.parserunners.ProfilingParseRunner
-
Creates a new ProfilingParseRunner instance for the given rule.
- ProfilingParseRunner.Report - Class in org.parboiled.parserunners
- ProfilingParseRunner.RuleReport - Class in org.parboiled.parserunners
- ProxyMatcher - Class in org.parboiled.matchers
- ProxyMatcher() - Constructor for class org.parboiled.matchers.ProxyMatcher
- push(int) - Method in class org.parboiled.common.IntArrayStack
-
Pushes a new item onto the stack.
- push(int, V) - Method in class org.parboiled.support.DebuggingValueStack
- push(int, V) - Method in class org.parboiled.support.DefaultValueStack
- push(int, V) - Method in interface org.parboiled.support.ValueStack
-
Inserts the given value a given number of elements below the current top of the stack.
- push(V) - Method in class org.parboiled.support.DebuggingValueStack
- push(V) - Method in class org.parboiled.support.DefaultValueStack
- push(V) - Method in interface org.parboiled.support.ValueStack
-
Pushes the given value onto the stack.
- pushAll(Iterable<V>) - Method in class org.parboiled.support.DefaultValueStack
- pushAll(Iterable<V>) - Method in interface org.parboiled.support.ValueStack
-
Pushes all given elements onto the stack (in the order as given).
- pushAll(V, V...) - Method in class org.parboiled.support.DefaultValueStack
- pushAll(V, V...) - Method in interface org.parboiled.support.ValueStack
-
Pushes all given elements onto the stack (in the order as given).
R
- readAllBytes(File) - Static method in class org.parboiled.common.FileUtils
- readAllBytes(InputStream) - Static method in class org.parboiled.common.FileUtils
- readAllBytes(String) - Static method in class org.parboiled.common.FileUtils
- readAllBytesFromResource(String) - Static method in class org.parboiled.common.FileUtils
- readAllChars(File) - Static method in class org.parboiled.common.FileUtils
- readAllChars(File, Charset) - Static method in class org.parboiled.common.FileUtils
- readAllChars(InputStream) - Static method in class org.parboiled.common.FileUtils
- readAllChars(InputStream, Charset) - Static method in class org.parboiled.common.FileUtils
- readAllChars(String) - Static method in class org.parboiled.common.FileUtils
- readAllChars(String, Charset) - Static method in class org.parboiled.common.FileUtils
- readAllCharsFromResource(String) - Static method in class org.parboiled.common.FileUtils
- readAllCharsFromResource(String, Charset) - Static method in class org.parboiled.common.FileUtils
- readAllText(File) - Static method in class org.parboiled.common.FileUtils
- readAllText(File, Charset) - Static method in class org.parboiled.common.FileUtils
- readAllText(InputStream) - Static method in class org.parboiled.common.FileUtils
- readAllText(InputStream, Charset) - Static method in class org.parboiled.common.FileUtils
- readAllText(String) - Static method in class org.parboiled.common.FileUtils
- readAllText(String, Charset) - Static method in class org.parboiled.common.FileUtils
- readAllTextFromResource(String) - Static method in class org.parboiled.common.FileUtils
- readAllTextFromResource(String, Charset) - Static method in class org.parboiled.common.FileUtils
- receive(String) - Method in class org.parboiled.common.ConsoleSink
- receive(String) - Method in class org.parboiled.common.StringBuilderSink
- receive(T) - Method in interface org.parboiled.common.Sink
- RecoveringParseRunner<V> - Class in org.parboiled.parserunners
-
A
ParseRunner
implementation that is able to recover fromInvalidInputError
s in the input and therefore report more than just the firstInvalidInputError
if the input does not conform to the rule grammar. - RecoveringParseRunner(Rule) - Constructor for class org.parboiled.parserunners.RecoveringParseRunner
-
Creates a new RecoveringParseRunner instance for the given rule.
- RecoveringParseRunner(Rule, long) - Constructor for class org.parboiled.parserunners.RecoveringParseRunner
-
Creates a new RecoveringParseRunner instance for the given rule.
- RecoveringParseRunner.TimeoutException - Exception in org.parboiled.parserunners
- Reference<T> - Class in org.parboiled.common
-
A simple container holding a reference to another object.
- Reference() - Constructor for class org.parboiled.common.Reference
-
Create a new Reference with a null value.
- Reference(T) - Constructor for class org.parboiled.common.Reference
-
Create a new Reference to the given value object.
- reinvocations - Variable in class org.parboiled.parserunners.ProfilingParseRunner.Report
- reinvocationShare - Variable in class org.parboiled.parserunners.ProfilingParseRunner.Report
- rematches - Variable in class org.parboiled.parserunners.ProfilingParseRunner.Report
- remismatches - Variable in class org.parboiled.parserunners.ProfilingParseRunner.Report
- remove(char) - Method in class org.parboiled.support.Characters
-
Removes the given character from the set.
- remove(Characters) - Method in class org.parboiled.support.Characters
-
Returns a new Characters object containing all the characters of this instance minus all characters of the given instance.
- removeChild(int) - Method in class org.parboiled.trees.MutableBinaryTreeNodeImpl
- removeChild(int) - Method in interface org.parboiled.trees.MutableTreeNode
-
Removes the child with the given index.
- removeChild(int) - Method in class org.parboiled.trees.MutableTreeNodeImpl
- removeChild(T, T) - Static method in class org.parboiled.trees.TreeUtils
-
Removes the given child from the given parent node.
- repeat(char, int) - Static method in class org.parboiled.common.StringUtils
-
Creates a string consisting of n times the given character.
- replaceInsertedChar(int, char) - Method in class org.parboiled.buffers.MutableInputBuffer
- Report(int, int, int, int, int, long, List<ProfilingParseRunner.RuleReport>) - Constructor for class org.parboiled.parserunners.ProfilingParseRunner.Report
- ReportingParseRunner<V> - Class in org.parboiled.parserunners
-
A
ParseRunner
implementation that properly reports the firstInvalidInputError
if the input does not conform to the rule grammar. - ReportingParseRunner(Rule) - Constructor for class org.parboiled.parserunners.ReportingParseRunner
-
Creates a new ReportingParseRunner instance for the given rule.
- resetValueStack() - Method in class org.parboiled.parserunners.AbstractParseRunner
- restoreSnapshot(Object) - Method in class org.parboiled.support.DebuggingValueStack
- restoreSnapshot(Object) - Method in class org.parboiled.support.DefaultValueStack
- restoreSnapshot(Object) - Method in interface org.parboiled.support.ValueStack
-
Restores the stack state as previously returned by
ValueStack.takeSnapshot()
. - resultValue - Variable in class org.parboiled.support.ParsingResult
-
The top value of the value stack at the end of the parsing run or null, if the value stack is empty.
- RESYNC - Static variable in class org.parboiled.support.Chars
-
Special non-character used during error recovery.
- RESYNC_END - Static variable in class org.parboiled.support.Chars
-
Special non-character used during error recovery.
- RESYNC_EOI - Static variable in class org.parboiled.support.Chars
-
Special non-character used during error recovery.
- RESYNC_START - Static variable in class org.parboiled.support.Chars
-
Special non-character used during error recovery.
- reverse() - Method in class org.parboiled.common.ImmutableLinkedList
- rfc2045() - Static method in class org.parboiled.common.Base64
- right() - Method in interface org.parboiled.trees.BinaryTreeNode
-
Returns the right sub node.
- right() - Method in class org.parboiled.trees.ImmutableBinaryTreeNode
- right() - Method in class org.parboiled.trees.MutableBinaryTreeNodeImpl
- right(String, int) - Static method in class org.parboiled.common.StringUtils
-
Gets the rightmost
len
characters of a String. - rule - Variable in exception org.parboiled.parserunners.RecoveringParseRunner.TimeoutException
- Rule - Interface in org.parboiled
-
Describes the return values of parser rule production methods.
- RuleReport(Matcher) - Constructor for class org.parboiled.parserunners.ProfilingParseRunner.RuleReport
- ruleReports - Variable in class org.parboiled.parserunners.ProfilingParseRunner.Report
- rules(Rule...) - Static method in class org.parboiled.support.Filters
-
A predicate usable as a filter (element) of a
TracingParseRunner
. - rulesBelow(Rule...) - Static method in class org.parboiled.support.Filters
-
A predicate usable as a filter (element) of a
TracingParseRunner
. - run(char[]) - Method in class org.parboiled.parserunners.AbstractParseRunner
- run(char[]) - Method in interface org.parboiled.parserunners.ParseRunner
-
Performs the actual parse and creates a corresponding ParsingResult instance.
- run(String) - Method in class org.parboiled.parserunners.AbstractParseRunner
- run(String) - Method in interface org.parboiled.parserunners.ParseRunner
-
Performs the actual parse and creates a corresponding ParsingResult instance.
- run(InputBuffer) - Method in class org.parboiled.parserunners.BasicParseRunner
- run(InputBuffer) - Method in class org.parboiled.parserunners.ErrorLocatingParseRunner
- run(InputBuffer) - Method in class org.parboiled.parserunners.ErrorReportingParseRunner
- run(InputBuffer) - Method in interface org.parboiled.parserunners.ParseRunner
-
Performs the actual parse and creates a corresponding ParsingResult instance.
- run(InputBuffer) - Method in class org.parboiled.parserunners.ProfilingParseRunner
- run(InputBuffer) - Method in class org.parboiled.parserunners.RecoveringParseRunner
- run(InputBuffer) - Method in class org.parboiled.parserunners.ReportingParseRunner
- run(Context<V>) - Method in interface org.parboiled.Action
-
Runs the parser action.
- run(Rule, String) - Static method in class org.parboiled.parserunners.BasicParseRunner
-
Deprecated.As of 0.11.0 you should use the "regular" constructor and one of the "run" methods rather than this static method. This method will be removed in one of the coming releases.
- run(Rule, String) - Static method in class org.parboiled.parserunners.RecoveringParseRunner
-
Deprecated.As of 0.11.0 you should use the "regular" constructor and one of the "run" methods rather than this static method. This method will be removed in one of the coming releases.
- run(Rule, String) - Static method in class org.parboiled.parserunners.ReportingParseRunner
-
Deprecated.As of 0.11.0 you should use the "regular" constructor and one of the "run" methods rather than this static method. This method will be removed in one of the coming releases.
- runBasicMatch(InputBuffer) - Method in class org.parboiled.parserunners.ReportingParseRunner
- runBasicMatch(InputBuffer) - Method in class org.parboiled.parserunners.TracingParseRunner
- runLocatingMatch(InputBuffer) - Method in class org.parboiled.parserunners.ReportingParseRunner
- runMatcher() - Method in class org.parboiled.MatcherContext
- runReportingMatch(InputBuffer, int) - Method in class org.parboiled.parserunners.ReportingParseRunner
S
- SequenceMatcher - Class in org.parboiled.matchers
-
A
Matcher
that executes all of its submatchers in sequence and only succeeds if all submatchers succeed. - SequenceMatcher(Rule[]) - Constructor for class org.parboiled.matchers.SequenceMatcher
- set(T) - Method in class org.parboiled.common.Reference
-
Sets this references value object to the given instance.
- setAndGet(T) - Method in class org.parboiled.common.Reference
-
Replaces this references value with the given one.
- setChild(int, T) - Method in interface org.parboiled.trees.MutableTreeNode
-
Sets the child node at the given index to the given node.
- setChild(int, T) - Method in class org.parboiled.trees.MutableTreeNodeImpl
- setContext(Context<V>) - Method in interface org.parboiled.ContextAware
-
Called immediately before any parser action method invocation.
- setCurrentIndex(int) - Method in class org.parboiled.MatcherContext
- setEndIndex(int) - Method in class org.parboiled.errors.BasicParseError
- setInErrorRecovery(boolean) - Method in class org.parboiled.MatcherContext
- setIntTag(int) - Method in class org.parboiled.MatcherContext
- setLabel(String) - Method in class org.parboiled.matchers.ProxyMatcher
- setLeft(T) - Method in interface org.parboiled.trees.MutableBinaryTreeNode
-
Sets the left child node to the given node.
- setLeft(T) - Method in class org.parboiled.trees.MutableBinaryTreeNodeImpl
- setMatcher(Matcher) - Method in class org.parboiled.MatcherContext
- setName(String) - Method in class org.parboiled.support.Var
-
Sets the name of this Var.
- setRight(T) - Method in interface org.parboiled.trees.MutableBinaryTreeNode
-
Sets the right child node to the given node.
- setRight(T) - Method in class org.parboiled.trees.MutableBinaryTreeNodeImpl
- setStartIndex(int) - Method in class org.parboiled.MatcherContext
- setTag(Object) - Method in class org.parboiled.matchers.AbstractMatcher
- setTag(Object) - Method in interface org.parboiled.matchers.Matcher
-
Associates an arbitrary object with this matcher.
- setTag(Object) - Method in class org.parboiled.matchers.MemoMismatchesMatcher
- setTag(Object) - Method in class org.parboiled.matchers.ProxyMatcher
- setTag(Object) - Method in class org.parboiled.matchers.VarFramingMatcher
- shiftIndexDeltaBy(int) - Method in class org.parboiled.errors.BasicParseError
- Sink<T> - Interface in org.parboiled.common
- size() - Method in class org.parboiled.common.ImmutableLinkedList
- size() - Method in class org.parboiled.common.IntArrayStack
-
Returns the number of element currently on the stack.
- size() - Method in class org.parboiled.support.DefaultValueStack
- size() - Method in interface org.parboiled.support.ValueStack
-
Returns the number of elements currently on the stack.
- SKIP_EMPTY_OPTS - Static variable in class org.parboiled.support.Filters
-
A predicate for Node tree printing, suppresses printing of parse tree nodes for Optional rules that do not have sub nodes.
- SKIP_EMPTY_OPTS_AND_ZOMS - Static variable in class org.parboiled.support.Filters
-
A predicate for Node tree printing, suppresses printing of parse tree nodes for Optional and ZeroOrMore rules that do not have sub nodes.
- SKIP_EMPTY_ZOMS - Static variable in class org.parboiled.support.Filters
-
A predicate for Node tree printing, suppresses printing of parse tree nodes for ZeroOrMore rules that do not have sub nodes.
- skipInPredicates - Variable in class org.parboiled.matchers.ActionMatcher
- skipInPredicates() - Method in interface org.parboiled.SkippableAction
-
Determines whether the execution of this action is to be skipped inside of predicate matchers.
- skipNode() - Method in class org.parboiled.matchers.AbstractMatcher
- skipNode() - Method in class org.parboiled.matchers.MemoMismatchesMatcher
- skipNode() - Method in class org.parboiled.matchers.ProxyMatcher
- skipNode() - Method in class org.parboiled.matchers.VarFramingMatcher
- skipNode() - Method in interface org.parboiled.Rule
-
Instructs parboiled to not create a parse tree node for this rule.
- SkippableAction<V> - Interface in org.parboiled
-
An action that can optionally be skipped when run underneath a predicate matcher.
- sortByInvocations() - Method in class org.parboiled.parserunners.ProfilingParseRunner.Report
- sortByMatches() - Method in class org.parboiled.parserunners.ProfilingParseRunner.Report
- sortByMismatches() - Method in class org.parboiled.parserunners.ProfilingParseRunner.Report
- sortByReinvocations() - Method in class org.parboiled.parserunners.ProfilingParseRunner.Report
- sortByRematches() - Method in class org.parboiled.parserunners.ProfilingParseRunner.Report
- sortByRemismatches() - Method in class org.parboiled.parserunners.ProfilingParseRunner.Report
- sortByResubinvocations() - Method in class org.parboiled.parserunners.ProfilingParseRunner.Report
- sortByResubmismatches() - Method in class org.parboiled.parserunners.ProfilingParseRunner.Report
- sortBySubInvocations() - Method in class org.parboiled.parserunners.ProfilingParseRunner.Report
- sortByTime() - Method in class org.parboiled.parserunners.ProfilingParseRunner.Report
- sortByTimePerInvocation() - Method in class org.parboiled.parserunners.ProfilingParseRunner.Report
- start - Variable in class org.parboiled.support.IndexRange
-
The index of the first character in the range.
- startIndex - Variable in class org.parboiled.support.MatcherPath.Element
- startsWith(String, String) - Static method in class org.parboiled.common.StringUtils
-
Test whether a string starts with a given prefix, handling null values without exceptions.
- StringBuilderSink - Class in org.parboiled.common
- StringBuilderSink() - Constructor for class org.parboiled.common.StringBuilderSink
- StringBuilderVar - Class in org.parboiled.support
-
Simple specialization of a
Var
for StringBuilders. - StringBuilderVar() - Constructor for class org.parboiled.support.StringBuilderVar
-
Initializes a new StringVar with a null initial value.
- StringBuilderVar(StringBuilder) - Constructor for class org.parboiled.support.StringBuilderVar
-
Initializes a new StringBuilderVar with the given initial StringBuilder instance.
- StringMatcher - Class in org.parboiled.matchers
-
A
SequenceMatcher
specialization for sequences of CharMatchers. - StringMatcher(Rule[], char[]) - Constructor for class org.parboiled.matchers.StringMatcher
- strings - Variable in class org.parboiled.matchers.FirstOfStringsMatcher
- StringUtils - Class in org.parboiled.common
-
General utility methods for string manipulation.
- StringVar - Class in org.parboiled.support
-
Simple specialization of a
Var
for Strings. - StringVar() - Constructor for class org.parboiled.support.StringVar
-
Initializes a new StringVar with a null initial value.
- StringVar(String) - Constructor for class org.parboiled.support.StringVar
-
Initializes a new StringVar with the given initial value.
- subMatcher - Variable in class org.parboiled.matchers.OneOrMoreMatcher
- subMatcher - Variable in class org.parboiled.matchers.OptionalMatcher
- subMatcher - Variable in class org.parboiled.matchers.TestMatcher
- subMatcher - Variable in class org.parboiled.matchers.TestNotMatcher
- subMatcher - Variable in class org.parboiled.matchers.ZeroOrMoreMatcher
- substring(String, int) - Static method in class org.parboiled.common.StringUtils
-
Gets a substring from the specified String avoiding exceptions.
- substring(String, int, int) - Static method in class org.parboiled.common.StringUtils
-
Gets a substring from the specified String avoiding exceptions.
- suppressNode() - Method in class org.parboiled.matchers.AbstractMatcher
- suppressNode() - Method in class org.parboiled.matchers.ActionMatcher
- suppressNode() - Method in class org.parboiled.matchers.MemoMismatchesMatcher
- suppressNode() - Method in class org.parboiled.matchers.ProxyMatcher
- suppressNode() - Method in class org.parboiled.matchers.VarFramingMatcher
- suppressNode() - Method in interface org.parboiled.Rule
-
Instructs parboiled to not create a parse tree node for this rule and all subrules, which can significantly increase parsing performance.
- suppressSubnodes() - Method in class org.parboiled.matchers.AbstractMatcher
- suppressSubnodes() - Method in class org.parboiled.matchers.MemoMismatchesMatcher
- suppressSubnodes() - Method in class org.parboiled.matchers.ProxyMatcher
- suppressSubnodes() - Method in class org.parboiled.matchers.VarFramingMatcher
- suppressSubnodes() - Method in interface org.parboiled.Rule
-
Instructs parboiled to not create parse tree nodes for the subrules of this rule, which can significantly increase parsing performance.
- swap() - Method in class org.parboiled.support.DebuggingValueStack
- swap() - Method in class org.parboiled.support.DefaultValueStack
- swap() - Method in interface org.parboiled.support.ValueStack
-
Swaps the top two stack values.
- swap3() - Method in class org.parboiled.support.DebuggingValueStack
- swap3() - Method in class org.parboiled.support.DefaultValueStack
- swap3() - Method in interface org.parboiled.support.ValueStack
-
Reverses the order of the top 3 stack values.
- swap4() - Method in class org.parboiled.support.DebuggingValueStack
- swap4() - Method in class org.parboiled.support.DefaultValueStack
- swap4() - Method in interface org.parboiled.support.ValueStack
-
Reverses the order of the top 4 stack values.
- swap5() - Method in class org.parboiled.support.DebuggingValueStack
- swap5() - Method in class org.parboiled.support.DefaultValueStack
- swap5() - Method in interface org.parboiled.support.ValueStack
-
Reverses the order of the top 5 stack values.
- swap6() - Method in class org.parboiled.support.DebuggingValueStack
- swap6() - Method in class org.parboiled.support.DefaultValueStack
- swap6() - Method in interface org.parboiled.support.ValueStack
-
Reverses the order of the top 5 stack values.
T
- tail - Variable in class org.parboiled.support.DefaultValueStack.Element
- tail() - Method in class org.parboiled.common.ImmutableLinkedList
- takeSnapshot() - Method in class org.parboiled.support.DefaultValueStack
- takeSnapshot() - Method in interface org.parboiled.support.ValueStack
-
Returns an object representing the current state of the stack.
- tempValue - Variable in class org.parboiled.support.DefaultValueStack
- test(int, char[]) - Method in class org.parboiled.buffers.DefaultInputBuffer
- test(int, char[]) - Method in class org.parboiled.buffers.IndentDedentInputBuffer
- test(int, char[]) - Method in interface org.parboiled.buffers.InputBuffer
-
Determines whether the characters starting at the given index match the ones from the given array (in order).
- test(int, char[]) - Method in class org.parboiled.buffers.MutableInputBuffer
- TestMatcher - Class in org.parboiled.matchers
-
A special
Matcher
not actually matching any input but rather trying its submatcher against the current input position. - TestMatcher(Rule) - Constructor for class org.parboiled.matchers.TestMatcher
- TestNotMatcher - Class in org.parboiled.matchers
-
A special
Matcher
not actually matching any input but rather trying its submatcher against the current input position. - TestNotMatcher(Rule) - Constructor for class org.parboiled.matchers.TestNotMatcher
- TimeoutException(Rule, InputBuffer, ParsingResult<?>) - Constructor for exception org.parboiled.parserunners.RecoveringParseRunner.TimeoutException
- toArray() - Method in class org.parboiled.common.IntArrayStack
- toLeftAssociativity(N) - Static method in class org.parboiled.trees.TreeUtils
-
Performs the following transformation on the given MutableBinaryTreeNode:
- toObjectArray(boolean[]) - Static method in class org.parboiled.common.Utils
- toObjectArray(byte[]) - Static method in class org.parboiled.common.Utils
- toObjectArray(char[]) - Static method in class org.parboiled.common.Utils
- toObjectArray(double[]) - Static method in class org.parboiled.common.Utils
- toObjectArray(float[]) - Static method in class org.parboiled.common.Utils
- toObjectArray(int[]) - Static method in class org.parboiled.common.Utils
- toObjectArray(long[]) - Static method in class org.parboiled.common.Utils
- toObjectArray(short[]) - Static method in class org.parboiled.common.Utils
- toString() - Method in class org.parboiled.common.StringBuilderSink
- toString() - Method in class org.parboiled.common.Tuple2
- toString() - Method in class org.parboiled.common.Tuple3
- toString() - Method in class org.parboiled.MatcherContext
- toString() - Method in class org.parboiled.matchers.AbstractMatcher
- toString() - Method in class org.parboiled.matchers.MemoMismatchesMatcher
- toString() - Method in class org.parboiled.matchers.ProxyMatcher
- toString() - Method in class org.parboiled.matchers.VarFramingMatcher
- toString() - Method in class org.parboiled.ParserStatistics
- toString() - Method in class org.parboiled.support.Characters
- toString() - Method in class org.parboiled.support.IndexRange
- toString() - Method in class org.parboiled.support.MatcherPath
- toString() - Method in class org.parboiled.support.Position
- toString() - Method in class org.parboiled.support.Var
- toString(Object) - Static method in class org.parboiled.common.Utils
-
Null enabled toString().
- toString(MatcherPath) - Method in class org.parboiled.support.MatcherPath
- ToStringFormatter<T> - Class in org.parboiled.support
-
A simple Formatter falling back to the objects toString() method.
- ToStringFormatter() - Constructor for class org.parboiled.support.ToStringFormatter
- ToStringFormatter(String) - Constructor for class org.parboiled.support.ToStringFormatter
- totalInvocations - Variable in class org.parboiled.parserunners.ProfilingParseRunner.Report
- totalMatches - Variable in class org.parboiled.parserunners.ProfilingParseRunner.Report
- totalMismatches - Variable in class org.parboiled.parserunners.ProfilingParseRunner.Report
- totalNanoTime - Variable in class org.parboiled.parserunners.ProfilingParseRunner.Report
- totalRuns - Variable in class org.parboiled.parserunners.ProfilingParseRunner.Report
- touches(IndexRange) - Method in class org.parboiled.support.IndexRange
-
Determines whether this range immediated follows or precedes the given other one.
- TracingParseRunner<V> - Class in org.parboiled.parserunners
-
A
ParseRunner
implementation used for debugging purposes. - TracingParseRunner(Rule) - Constructor for class org.parboiled.parserunners.TracingParseRunner
-
Creates a new TracingParseRunner instance without filter and a console log for the given rule.
- TreeNode<T extends TreeNode<T>> - Interface in org.parboiled.trees
-
A specialization of a
GraphNode
that contains a reference to its parent, thereby making the graph a tree (since each node can now have only one parent node). - TreeUtils - Class in org.parboiled.trees
-
General utility methods for operating on tree, i.e.
- Tuple2<A,B> - Class in org.parboiled.common
- Tuple2(A, B) - Constructor for class org.parboiled.common.Tuple2
- Tuple3<A,B,C> - Class in org.parboiled.common
- Tuple3(A, B, C) - Constructor for class org.parboiled.common.Tuple3
U
- UnderflowException(String) - Constructor for exception org.parboiled.common.IntArrayStack.UnderflowException
- undoCharInsertion(int) - Method in class org.parboiled.buffers.MutableInputBuffer
- untilLine(int) - Static method in class org.parboiled.support.Filters
-
A predicate usable as a filter (element) of a
TracingParseRunner
. - unwrap(Matcher) - Static method in class org.parboiled.matchers.MatcherUtils
- unwrap(Matcher) - Static method in class org.parboiled.matchers.MemoMismatchesMatcher
-
Retrieves the innermost Matcher that is not a MemoMismatchesMatcher.
- unwrap(Matcher) - Static method in class org.parboiled.matchers.ProxyMatcher
-
Retrieves the innermost Matcher that is not a ProxyMatcher.
- unwrap(Matcher) - Static method in class org.parboiled.matchers.VarFramingMatcher
-
Retrieves the innermost Matcher that is not a VarFramingMatcher.
- update(int, int, int, int, int, int, int, int, long) - Method in class org.parboiled.parserunners.ProfilingParseRunner.RuleReport
- Utils - Class in org.parboiled.common
-
General utility methods.
V
- value - Variable in class org.parboiled.support.DefaultValueStack.Element
- valueStack - Variable in class org.parboiled.support.ParsingResult
-
The ValueStack used during the parsing run containing all values not popped of the stack by the parser.
- ValueStack<V> - Interface in org.parboiled.support
-
A ValueStack is a stack implementation for parser values.
- Var<T> - Class in org.parboiled.support
-
This class provides a "local variable"-like construct for action expressions in parser rule methods.
- Var() - Constructor for class org.parboiled.support.Var
-
Initializes a new Var with a null initial value.
- Var(Factory<T>) - Constructor for class org.parboiled.support.Var
-
Initializes a new Var.
- Var(T) - Constructor for class org.parboiled.support.Var
-
Initializes a new Var with the given initial value.
- VarFramingMatcher - Class in org.parboiled.matchers
-
Special wrapping matcher that manages the creation and destruction of execution frames for a number of action vars.
- VarFramingMatcher(Rule, Var[]) - Constructor for class org.parboiled.matchers.VarFramingMatcher
- visit(ActionMatcher) - Method in class org.parboiled.matchervisitors.CanMatchEmptyVisitor
- visit(ActionMatcher) - Method in class org.parboiled.matchervisitors.DefaultMatcherVisitor
- visit(ActionMatcher) - Method in class org.parboiled.matchervisitors.IsSingleCharMatcherVisitor
- visit(ActionMatcher) - Method in class org.parboiled.matchervisitors.IsStarterCharVisitor
- visit(ActionMatcher) - Method in interface org.parboiled.matchervisitors.MatcherVisitor
- visit(ActionMatcher) - Method in class org.parboiled.ParserStatistics
- visit(AnyMatcher) - Method in class org.parboiled.matchervisitors.CanMatchEmptyVisitor
- visit(AnyMatcher) - Method in class org.parboiled.matchervisitors.DefaultMatcherVisitor
- visit(AnyMatcher) - Method in class org.parboiled.matchervisitors.GetStarterCharVisitor
- visit(AnyMatcher) - Method in class org.parboiled.matchervisitors.IsSingleCharMatcherVisitor
- visit(AnyMatcher) - Method in class org.parboiled.matchervisitors.IsStarterCharVisitor
- visit(AnyMatcher) - Method in interface org.parboiled.matchervisitors.MatcherVisitor
- visit(AnyMatcher) - Method in class org.parboiled.ParserStatistics
- visit(AnyOfMatcher) - Method in class org.parboiled.matchervisitors.CanMatchEmptyVisitor
- visit(AnyOfMatcher) - Method in class org.parboiled.matchervisitors.DefaultMatcherVisitor
- visit(AnyOfMatcher) - Method in class org.parboiled.matchervisitors.GetStarterCharVisitor
- visit(AnyOfMatcher) - Method in class org.parboiled.matchervisitors.IsSingleCharMatcherVisitor
- visit(AnyOfMatcher) - Method in class org.parboiled.matchervisitors.IsStarterCharVisitor
- visit(AnyOfMatcher) - Method in interface org.parboiled.matchervisitors.MatcherVisitor
- visit(AnyOfMatcher) - Method in class org.parboiled.ParserStatistics
- visit(CharIgnoreCaseMatcher) - Method in class org.parboiled.matchervisitors.CanMatchEmptyVisitor
- visit(CharIgnoreCaseMatcher) - Method in class org.parboiled.matchervisitors.DefaultMatcherVisitor
- visit(CharIgnoreCaseMatcher) - Method in class org.parboiled.matchervisitors.GetStarterCharVisitor
- visit(CharIgnoreCaseMatcher) - Method in class org.parboiled.matchervisitors.IsSingleCharMatcherVisitor
- visit(CharIgnoreCaseMatcher) - Method in class org.parboiled.matchervisitors.IsStarterCharVisitor
- visit(CharIgnoreCaseMatcher) - Method in interface org.parboiled.matchervisitors.MatcherVisitor
- visit(CharIgnoreCaseMatcher) - Method in class org.parboiled.ParserStatistics
- visit(CharMatcher) - Method in class org.parboiled.matchervisitors.CanMatchEmptyVisitor
- visit(CharMatcher) - Method in class org.parboiled.matchervisitors.DefaultMatcherVisitor
- visit(CharMatcher) - Method in class org.parboiled.matchervisitors.GetStarterCharVisitor
- visit(CharMatcher) - Method in class org.parboiled.matchervisitors.IsSingleCharMatcherVisitor
- visit(CharMatcher) - Method in class org.parboiled.matchervisitors.IsStarterCharVisitor
- visit(CharMatcher) - Method in interface org.parboiled.matchervisitors.MatcherVisitor
- visit(CharMatcher) - Method in class org.parboiled.ParserStatistics
- visit(CharRangeMatcher) - Method in class org.parboiled.matchervisitors.CanMatchEmptyVisitor
- visit(CharRangeMatcher) - Method in class org.parboiled.matchervisitors.DefaultMatcherVisitor
- visit(CharRangeMatcher) - Method in class org.parboiled.matchervisitors.GetStarterCharVisitor
- visit(CharRangeMatcher) - Method in class org.parboiled.matchervisitors.IsSingleCharMatcherVisitor
- visit(CharRangeMatcher) - Method in class org.parboiled.matchervisitors.IsStarterCharVisitor
- visit(CharRangeMatcher) - Method in interface org.parboiled.matchervisitors.MatcherVisitor
- visit(CharRangeMatcher) - Method in class org.parboiled.ParserStatistics
- visit(CustomMatcher) - Method in class org.parboiled.matchervisitors.CanMatchEmptyVisitor
- visit(CustomMatcher) - Method in class org.parboiled.matchervisitors.DefaultMatcherVisitor
- visit(CustomMatcher) - Method in class org.parboiled.matchervisitors.GetStarterCharVisitor
- visit(CustomMatcher) - Method in class org.parboiled.matchervisitors.IsSingleCharMatcherVisitor
- visit(CustomMatcher) - Method in class org.parboiled.matchervisitors.IsStarterCharVisitor
- visit(CustomMatcher) - Method in interface org.parboiled.matchervisitors.MatcherVisitor
- visit(CustomMatcher) - Method in class org.parboiled.ParserStatistics
- visit(EmptyMatcher) - Method in class org.parboiled.matchervisitors.CanMatchEmptyVisitor
- visit(EmptyMatcher) - Method in class org.parboiled.matchervisitors.DefaultMatcherVisitor
- visit(EmptyMatcher) - Method in class org.parboiled.matchervisitors.IsSingleCharMatcherVisitor
- visit(EmptyMatcher) - Method in class org.parboiled.matchervisitors.IsStarterCharVisitor
- visit(EmptyMatcher) - Method in interface org.parboiled.matchervisitors.MatcherVisitor
- visit(EmptyMatcher) - Method in class org.parboiled.ParserStatistics
- visit(FirstOfMatcher) - Method in class org.parboiled.matchervisitors.CanMatchEmptyVisitor
- visit(FirstOfMatcher) - Method in class org.parboiled.matchervisitors.DefaultMatcherVisitor
- visit(FirstOfMatcher) - Method in class org.parboiled.matchervisitors.DoWithMatcherVisitor
- visit(FirstOfMatcher) - Method in class org.parboiled.matchervisitors.IsSingleCharMatcherVisitor
- visit(FirstOfMatcher) - Method in class org.parboiled.matchervisitors.IsStarterCharVisitor
- visit(FirstOfMatcher) - Method in interface org.parboiled.matchervisitors.MatcherVisitor
- visit(FirstOfMatcher) - Method in class org.parboiled.ParserStatistics
- visit(NothingMatcher) - Method in class org.parboiled.matchervisitors.CanMatchEmptyVisitor
- visit(NothingMatcher) - Method in class org.parboiled.matchervisitors.DefaultMatcherVisitor
- visit(NothingMatcher) - Method in class org.parboiled.matchervisitors.IsSingleCharMatcherVisitor
- visit(NothingMatcher) - Method in class org.parboiled.matchervisitors.IsStarterCharVisitor
- visit(NothingMatcher) - Method in interface org.parboiled.matchervisitors.MatcherVisitor
- visit(NothingMatcher) - Method in class org.parboiled.ParserStatistics
- visit(OneOrMoreMatcher) - Method in class org.parboiled.matchervisitors.CanMatchEmptyVisitor
- visit(OneOrMoreMatcher) - Method in class org.parboiled.matchervisitors.DefaultMatcherVisitor
- visit(OneOrMoreMatcher) - Method in class org.parboiled.matchervisitors.DoWithMatcherVisitor
- visit(OneOrMoreMatcher) - Method in class org.parboiled.matchervisitors.FollowMatchersVisitor
- visit(OneOrMoreMatcher) - Method in class org.parboiled.matchervisitors.IsSingleCharMatcherVisitor
- visit(OneOrMoreMatcher) - Method in class org.parboiled.matchervisitors.IsStarterCharVisitor
- visit(OneOrMoreMatcher) - Method in interface org.parboiled.matchervisitors.MatcherVisitor
- visit(OneOrMoreMatcher) - Method in class org.parboiled.ParserStatistics
- visit(OptionalMatcher) - Method in class org.parboiled.matchervisitors.CanMatchEmptyVisitor
- visit(OptionalMatcher) - Method in class org.parboiled.matchervisitors.DefaultMatcherVisitor
- visit(OptionalMatcher) - Method in class org.parboiled.matchervisitors.DoWithMatcherVisitor
- visit(OptionalMatcher) - Method in class org.parboiled.matchervisitors.IsSingleCharMatcherVisitor
- visit(OptionalMatcher) - Method in class org.parboiled.matchervisitors.IsStarterCharVisitor
- visit(OptionalMatcher) - Method in interface org.parboiled.matchervisitors.MatcherVisitor
- visit(OptionalMatcher) - Method in class org.parboiled.ParserStatistics
- visit(SequenceMatcher) - Method in class org.parboiled.matchervisitors.CanMatchEmptyVisitor
- visit(SequenceMatcher) - Method in class org.parboiled.matchervisitors.DefaultMatcherVisitor
- visit(SequenceMatcher) - Method in class org.parboiled.matchervisitors.DoWithMatcherVisitor
- visit(SequenceMatcher) - Method in class org.parboiled.matchervisitors.FollowMatchersVisitor
- visit(SequenceMatcher) - Method in class org.parboiled.matchervisitors.IsSingleCharMatcherVisitor
- visit(SequenceMatcher) - Method in class org.parboiled.matchervisitors.IsStarterCharVisitor
- visit(SequenceMatcher) - Method in interface org.parboiled.matchervisitors.MatcherVisitor
- visit(SequenceMatcher) - Method in class org.parboiled.ParserStatistics
- visit(TestMatcher) - Method in class org.parboiled.matchervisitors.CanMatchEmptyVisitor
- visit(TestMatcher) - Method in class org.parboiled.matchervisitors.DefaultMatcherVisitor
- visit(TestMatcher) - Method in class org.parboiled.matchervisitors.DoWithMatcherVisitor
- visit(TestMatcher) - Method in class org.parboiled.matchervisitors.IsSingleCharMatcherVisitor
- visit(TestMatcher) - Method in class org.parboiled.matchervisitors.IsStarterCharVisitor
- visit(TestMatcher) - Method in interface org.parboiled.matchervisitors.MatcherVisitor
- visit(TestMatcher) - Method in class org.parboiled.ParserStatistics
- visit(TestNotMatcher) - Method in class org.parboiled.matchervisitors.CanMatchEmptyVisitor
- visit(TestNotMatcher) - Method in class org.parboiled.matchervisitors.DefaultMatcherVisitor
- visit(TestNotMatcher) - Method in class org.parboiled.matchervisitors.DoWithMatcherVisitor
- visit(TestNotMatcher) - Method in class org.parboiled.matchervisitors.IsSingleCharMatcherVisitor
- visit(TestNotMatcher) - Method in class org.parboiled.matchervisitors.IsStarterCharVisitor
- visit(TestNotMatcher) - Method in interface org.parboiled.matchervisitors.MatcherVisitor
- visit(TestNotMatcher) - Method in class org.parboiled.ParserStatistics
- visit(ZeroOrMoreMatcher) - Method in class org.parboiled.matchervisitors.CanMatchEmptyVisitor
- visit(ZeroOrMoreMatcher) - Method in class org.parboiled.matchervisitors.DefaultMatcherVisitor
- visit(ZeroOrMoreMatcher) - Method in class org.parboiled.matchervisitors.DoWithMatcherVisitor
- visit(ZeroOrMoreMatcher) - Method in class org.parboiled.matchervisitors.FollowMatchersVisitor
- visit(ZeroOrMoreMatcher) - Method in class org.parboiled.matchervisitors.IsSingleCharMatcherVisitor
- visit(ZeroOrMoreMatcher) - Method in class org.parboiled.matchervisitors.IsStarterCharVisitor
- visit(ZeroOrMoreMatcher) - Method in interface org.parboiled.matchervisitors.MatcherVisitor
- visit(ZeroOrMoreMatcher) - Method in class org.parboiled.ParserStatistics
W
- withFilter(Predicate<?>) - Method in class org.parboiled.parserunners.TracingParseRunner
-
Attaches the given filter to this TracingParseRunner instance.
- withLog(Sink<String>) - Method in class org.parboiled.parserunners.TracingParseRunner
-
Attaches the given log to this TracingParseRunner instance.
- withParseErrors(List<ParseError>) - Method in class org.parboiled.parserunners.AbstractParseRunner
- withParseErrors(List<ParseError>) - Method in interface org.parboiled.parserunners.ParseRunner
-
Initializes the parse runner with the given error list.
- withValueStack(ValueStack<V>) - Method in class org.parboiled.parserunners.AbstractParseRunner
- withValueStack(ValueStack<V>) - Method in interface org.parboiled.parserunners.ParseRunner
-
Initializes the parse runner with the given ValueStack instance.
- writeAllBytes(byte[], File) - Static method in class org.parboiled.common.FileUtils
- writeAllBytes(byte[], OutputStream) - Static method in class org.parboiled.common.FileUtils
- writeAllBytes(byte[], String) - Static method in class org.parboiled.common.FileUtils
- writeAllChars(char[], File) - Static method in class org.parboiled.common.FileUtils
- writeAllChars(char[], File, Charset) - Static method in class org.parboiled.common.FileUtils
- writeAllChars(char[], OutputStream) - Static method in class org.parboiled.common.FileUtils
- writeAllChars(char[], OutputStream, Charset) - Static method in class org.parboiled.common.FileUtils
- writeAllChars(char[], String) - Static method in class org.parboiled.common.FileUtils
- writeAllChars(char[], String, Charset) - Static method in class org.parboiled.common.FileUtils
- writeAllText(String, File) - Static method in class org.parboiled.common.FileUtils
- writeAllText(String, File, Charset) - Static method in class org.parboiled.common.FileUtils
- writeAllText(String, OutputStream) - Static method in class org.parboiled.common.FileUtils
- writeAllText(String, OutputStream, Charset) - Static method in class org.parboiled.common.FileUtils
- writeAllText(String, String) - Static method in class org.parboiled.common.FileUtils
- writeAllText(String, String, Charset) - Static method in class org.parboiled.common.FileUtils
Z
- ZeroOrMoreMatcher - Class in org.parboiled.matchers
-
A
Matcher
that repeatedly tries its submatcher against the input. - ZeroOrMoreMatcher(Rule) - Constructor for class org.parboiled.matchers.ZeroOrMoreMatcher
All Classes All Packages