RuntimeRuleNonTerminalBuilder

class RuntimeRuleNonTerminalBuilder(rrsb: RuntimeRuleSetBuilder, name: String)

Functions

choice
Link copied to clipboard
common
fun choice(choiceKind: RuntimeRuleChoiceKind, vararg items: RuntimeRule): RuntimeRule
concatenation
Link copied to clipboard
common
fun concatenation(vararg items: RuntimeRule): RuntimeRule
empty
Link copied to clipboard
common
fun empty(): RuntimeRule
leftAssociativeList
Link copied to clipboard
common
fun leftAssociativeList(min: Int, max: Int, separator: RuntimeRule, item: RuntimeRule): RuntimeRuleItemBuilder
multi
Link copied to clipboard
common
fun multi(min: Int, max: Int, item: RuntimeRule): RuntimeRule
rightAssociativeList
Link copied to clipboard
common
fun rightAssociativeList(min: Int, max: Int, separator: RuntimeRule, item: RuntimeRule): RuntimeRuleItemBuilder
separatedList
Link copied to clipboard
common
fun separatedList(min: Int, max: Int, separator: RuntimeRule, item: RuntimeRule): RuntimeRule
skip
Link copied to clipboard
common
fun skip(value: Boolean): RuntimeRuleNonTerminalBuilder
unordered
Link copied to clipboard
common
fun unordered(vararg items: RuntimeRule): RuntimeRuleItemBuilder
withRhs
Link copied to clipboard
common
fun withRhs(rhs: RuntimeRuleItem): RuntimeRule

Properties

name
Link copied to clipboard
common
val name: String
rrsb
Link copied to clipboard
common
val rrsb: RuntimeRuleSetBuilder