In package com.copperleaf.kudzu

class com.copperleaf.kudzu.ParserContext

Fields

position: String

Constructors

constructor(input: String, sourcePosition: Int, skipWhitespace: Boolean, lineNumber: Int = 1, lineColumn: Int = 1)

Parameters:
  • input: String
  • sourcePosition: Int
  • skipWhitespace: Boolean
  • lineNumber: Int = 1
  • lineColumn: Int = 1

Methods

fun isEmpty(): Boolean

Parameters:
  • No parameters
fun isNotEmpty(): Boolean

Parameters:
  • No parameters
fun next(): Char

Parameters:
  • No parameters
fun remaining(): ParserContext

Parameters:
  • No parameters
fun toString(): String

Parameters:
  • No parameters
infix fun isAfter(other: ParserContext): Boolean

Parameters: