InterpolationParserInput

wjson.ParserInput.InterpolationParserInput
class InterpolationParserInput(sc: StringContext, args: Seq[JsValue]) extends DefaultParserInput

Attributes

Graph
Supertypes
trait ParserInput
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

in case of StringContext interpolator, return the current argument and advance the argument cursor

in case of StringContext interpolator, return the current argument and advance the argument cursor

Attributes

final def nextChar(): Char

Advance the cursor and get the next char. Since the char is required to be a 7-Bit ASCII char no decoding is required.

Advance the cursor and get the next char. Since the char is required to be a 7-Bit ASCII char no decoding is required.

Attributes

override def nextUtf8Char(): Char

Advance the cursor and get the next char, which could potentially be outside of the 7-Bit ASCII range. Therefore decoding might be required.

Advance the cursor and get the next char, which could potentially be outside of the 7-Bit ASCII range. Therefore decoding might be required.

Attributes

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

Attributes

Definition Classes

Inherited methods

def cursor: Int

Attributes

Inherited from:
DefaultParserInput
def getLine(index: Int): Line

Attributes

Inherited from:
DefaultParserInput
inline protected def incrCursor(): Unit

move cursor to next char

move cursor to next char

Attributes

Inherited from:
DefaultParserInput