Skip to content

PegLabel

[Source]

A label created at runtime from a rule name in a compiled PEG grammar. Unlike the primitive labels used in combinator-built parsers, these are class instances with string-based identity.

class val PegLabel is
  Label val

Implements


Constructors

create

[Source]

new val create(
  text': String val)
: PegLabel val^

Parameters

Returns


Public Functions

text

[Source]

fun box text()
: String val

Returns