In package com.copperleaf.kudzu

class com.copperleaf.kudzu.Parser

Fields

name: String

Constructors

constructor(name: String)

Parameters:
  • name: String

Methods

abstract fun predict(input: ParserContext): Boolean

Parameters:
abstract fun parse(input: ParserContext): <Node, ParserContext>

Parameters:
fun test(input: ParserContext, logErrors: Boolean = false): <Node, ParserContext>?

Parameters:
fun test(input: String, skipWhitespace: Boolean = false, logErrors: Boolean = false): <Node, ParserContext>?

Parameters:
  • input: String
  • skipWhitespace: Boolean = false
  • logErrors: Boolean = false

Extensions

fun checkNotEmpty(input: ParserContext)

Parameters: