ParserInput

org.parboiled2.ParserInput
See theParserInput companion object
trait ParserInput

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def charAt(ix: Int): Char

Returns the character at the given (zero-based) index. Note: this method is hot and should be small and efficient. A range-check is not required for the parser to work correctly.

Returns the character at the given (zero-based) index. Note: this method is hot and should be small and efficient. A range-check is not required for the parser to work correctly.

Attributes

def getLine(line: Int): String

Gets the input line with the given number as a String. Note: the first line is line number one!

Gets the input line with the given number as a String. Note: the first line is line number one!

Attributes

def length: Int

The number of characters in this input. Note: this method is hot and should be small and efficient.

The number of characters in this input. Note: this method is hot and should be small and efficient.

Attributes

def sliceCharArray(start: Int, end: Int): Array[Char]

Returns the characters between index start (inclusively) and end (exclusively) as an Array[Char].

Returns the characters between index start (inclusively) and end (exclusively) as an Array[Char].

Attributes

def sliceString(start: Int, end: Int): String

Returns the characters between index start (inclusively) and end (exclusively) as a String.

Returns the characters between index start (inclusively) and end (exclusively) as a String.

Attributes