DefaultParserInput

org.parboiled2.ParserInput.DefaultParserInput
abstract class DefaultParserInput extends ParserInput

Attributes

Graph
Supertypes
trait ParserInput
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Concrete methods

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

Inherited 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

Inherited from:
ParserInput
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

Inherited from:
ParserInput
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

Inherited from:
ParserInput
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

Inherited from:
ParserInput