AsciiByteBufferParserInput

eu.geekplace.tex.tlpdb.AsciiByteBufferParserInput
class AsciiByteBufferParserInput(buffer: ByteBuffer) extends DefaultParserInput

Attributes

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

Members list

Value members

Concrete methods

override 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

Definition Classes
ParserInput
override 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

Definition Classes
ParserInput
override 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

Definition Classes
ParserInput

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

Concrete fields

override val 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