Package dev.gecode.iris.kotlin.build
Dokka 2.2.0 generates this reference of the Kotlin spec builder during each site build from the Kotlin sources, and its summary lists every class and function. The guide shows the builder in use, the Java builder's reference covers the handles, types and expressions it shares, and the extensions read the data.
Types
A capture for a line pattern, made by capture and optionalCapture of a scope. As a property delegate it names the entry after the property, or after the name given to capture, and declares that name, which must be new in the builder, as Iris.declare.
A builder's text, before it is parsed, and the handles that will read its data.
Marks the receivers of the builder, so that a block's lambda cannot reach an outer block's statements without naming that receiver.
A block at depth 4 or more whose statements may not run.
A block at depth 0 whose statements may not run, such as the body of if.
A block at depth 1 whose statements may not run.
A block at depth 2 whose statements may not run.
A block at depth 3 whose statements may not run.
The top level of a spec: a block at depth 0 that also takes the settings and instances.
Functions
alphabet "symbols", as Iris.alphabet.
this && other.
defined(name).
defined(record).
defined(records).
this == other, of values whose type the data decide.
this == other.
this == other, of strings.
A float handle at depth 0, as Iris.float0.
A float handle at depth 1, as Iris.float1.
A float handle at depth 2, as Iris.float2.
A float handle at depth 3, as Iris.float3.
A float handle at any depth, which reads a Value, as Iris.floatN.
this >= other.
this > other.
Builds and checks a reader spec, as irisBuilder followed by IrisBuilder.build.
this <= other.
this < other.
this != other, of values whose type the data decide.
this != other.
this != other, of strings.
this || other.
The range lo.., whose upper bound Range.to or Range.below adds.
The range this..hi, which Kotlin and Iris spell alike.
The range this..hi.
The range this..<hi, which Kotlin and Iris spell alike.
The range this..<hi.
A record name, printed with names the builder chooses.
this % other, which truncates toward zero in Kotlin and Iris alike.
this % other.
rest.
..., the rest of the line.
skip other.
A string handle at depth 0, as Iris.string0.
A string handle at depth 1, as Iris.string1.
A string handle at depth 2, as Iris.string2.
A string handle at depth 3, as Iris.string3.
A string handle at any depth, which reads a Value, as Iris.stringN.
-this.
word.