Skip to content

PegParser

[Source]

The built-in parser for .peg grammar files. Used internally by PegCompiler to parse grammar source before compilation. Supports //, #, and /* ... */ comments (nested).

primitive val PegParser

Constructors

create

[Source]

new val create()
: PegParser val^

Returns


Public Functions

apply

[Source]

fun box apply()
: Parser val

Returns


eq

[Source]

fun box eq(
  that: PegParser val)
: Bool val

Parameters

Returns


ne

[Source]

fun box ne(
  that: PegParser val)
: Bool val

Parameters

Returns