Package-level declarations
Types
Link copied to clipboard
A PatternElement that matches any one of several alternative elements.
Link copied to clipboard
Link copied to clipboard
class ParserException(val line: Int? = null, val column: Int? = null, val tokensConsumed: Int = 0, val rule: Rule<*>? = null, val element: PatternElement? = null, message: String, cause: Throwable? = null) : Exception
Exception thrown when parsing fails.
Link copied to clipboard
interface PatternElement
Represents a syntactic element in a production pattern.
Link copied to clipboard
A PatternElement that matches a nonterminal Rule reference.
Link copied to clipboard
class RepeatableElement(val element: PatternElement, val min: Int = 0, val max: Int = Int.MAX_VALUE) : PatternElement
A PatternElement that matches an element repeatedly, within a specified range of repetitions.
Link copied to clipboard
Represents a nonterminal symbol in a Grammar with one or more potential productions.
Link copied to clipboard
A DSL builder for defining production rules within a Grammar.
Link copied to clipboard
A PatternElement that matches a sequence of elements in order.
Link copied to clipboard