Uses of Interface
org.parboiled.buffers.InputBuffer
-
Packages that use InputBuffer Package Description org.parboiled org.parboiled.buffers org.parboiled.errors org.parboiled.parserunners org.parboiled.support -
-
Uses of InputBuffer in org.parboiled
Methods in org.parboiled that return InputBuffer Modifier and Type Method Description InputBuffer
Context. getInputBuffer()
Returns the InputBuffer the parser is currently running againstInputBuffer
MatcherContext. getInputBuffer()
Constructors in org.parboiled with parameters of type InputBuffer Constructor Description MatcherContext(InputBuffer inputBuffer, ValueStack<V> valueStack, List<ParseError> parseErrors, MatchHandler matchHandler, Matcher matcher, boolean fastStringMatching)
Initializes a new root MatcherContext. -
Uses of InputBuffer in org.parboiled.buffers
Classes in org.parboiled.buffers that implement InputBuffer Modifier and Type Class Description class
DefaultInputBuffer
Immutable default implementation of an InputBuffer.class
IndentDedentInputBuffer
Special, immutable InputBuffer implementation for indentation based grammars.class
MutableInputBuffer
An InputBuffer wrapping another InputBuffer and providing for the ability to insert (and undo) characters at certain index positions.Methods in org.parboiled.buffers with parameters of type InputBuffer Modifier and Type Method Description static String
InputBufferUtils. collectContent(InputBuffer buf)
Collects the actual input text the input buffer provides into a String.Constructors in org.parboiled.buffers with parameters of type InputBuffer Constructor Description MutableInputBuffer(InputBuffer buffer)
-
Uses of InputBuffer in org.parboiled.errors
Fields in org.parboiled.errors declared as InputBuffer Modifier and Type Field Description InputBuffer
IllegalIndentationException. buffer
Methods in org.parboiled.errors that return InputBuffer Modifier and Type Method Description InputBuffer
BasicParseError. getInputBuffer()
InputBuffer
ParseError. getInputBuffer()
Gets the inputbuffer this error occurred in.Methods in org.parboiled.errors with parameters of type InputBuffer Modifier and Type Method Description static String
ErrorUtils. printErrorMessage(String format, String errorMessage, int startIndex, int endIndex, InputBuffer inputBuffer)
Prints an error message showing a location in the given InputBuffer.static String
ErrorUtils. printErrorMessage(String format, String errorMessage, int errorIndex, InputBuffer inputBuffer)
Prints an error message showing a location in the given InputBuffer.Constructors in org.parboiled.errors with parameters of type InputBuffer Constructor Description ActionError(InputBuffer inputBuffer, int errorIndex, String errorMessage, MatcherPath errorPath, ActionException actionException)
BasicParseError(InputBuffer inputBuffer, int errorIndex, String errorMessage)
IllegalIndentationException(InputBuffer buffer, Position position)
InvalidInputError(InputBuffer inputBuffer, int startIndex, List<MatcherPath> failedMatchers, String errorMessage)
-
Uses of InputBuffer in org.parboiled.parserunners
Fields in org.parboiled.parserunners declared as InputBuffer Modifier and Type Field Description InputBuffer
RecoveringParseRunner.TimeoutException. inputBuffer
Methods in org.parboiled.parserunners with parameters of type InputBuffer Modifier and Type Method Description protected MatcherContext<V>
AbstractParseRunner. createRootContext(InputBuffer inputBuffer, MatchHandler matchHandler, boolean fastStringMatching)
ParsingResult<V>
BasicParseRunner. run(InputBuffer inputBuffer)
ParsingResult<V>
ErrorLocatingParseRunner. run(InputBuffer inputBuffer)
ParsingResult<V>
ErrorReportingParseRunner. run(InputBuffer inputBuffer)
ParsingResult<V>
ParseRunner. run(InputBuffer inputBuffer)
Performs the actual parse and creates a corresponding ParsingResult instance.ParsingResult<V>
ProfilingParseRunner. run(InputBuffer inputBuffer)
ParsingResult<V>
RecoveringParseRunner. run(InputBuffer inputBuffer)
ParsingResult<V>
ReportingParseRunner. run(InputBuffer inputBuffer)
protected ParsingResult<V>
ReportingParseRunner. runBasicMatch(InputBuffer inputBuffer)
protected ParsingResult<V>
TracingParseRunner. runBasicMatch(InputBuffer inputBuffer)
protected ParsingResult<V>
ReportingParseRunner. runLocatingMatch(InputBuffer inputBuffer)
protected ParsingResult<V>
ReportingParseRunner. runReportingMatch(InputBuffer inputBuffer, int errorIndex)
Constructors in org.parboiled.parserunners with parameters of type InputBuffer Constructor Description TimeoutException(Rule rule, InputBuffer inputBuffer, ParsingResult<?> lastParsingResult)
-
Uses of InputBuffer in org.parboiled.support
Fields in org.parboiled.support declared as InputBuffer Modifier and Type Field Description InputBuffer
ParsingResult. inputBuffer
The underlying input buffer.Methods in org.parboiled.support with parameters of type InputBuffer Modifier and Type Method Description static String
ParseTreeUtils. getNodeText(Node<?> node, InputBuffer inputBuffer)
Returns the input text matched by the given node, with error correction.Constructors in org.parboiled.support with parameters of type InputBuffer Constructor Description NodeFormatter(InputBuffer inputBuffer)
Creates a new NodeFormatter.ParsingResult(boolean matched, Node<V> parseTreeRoot, ValueStack<V> valueStack, List<ParseError> parseErrors, InputBuffer inputBuffer)
Creates a new ParsingResult.
-