Package-level declarations

Types

Link copied to clipboard
open class CoverageListener(var parser: Parser? = null, val expandUncoveredPaths: Boolean = true) : ParseTreeListener

EXPERIMENTAL. Listener to compute an estimate of the coverage of a grammar by the code examples at your disposal. The idea is to exercise the parser with a series of code examples and the listener attached. After processing all the examples, we can ask the listener to compute an estimate of the percentage of the grammar that's covered by those examples.

Link copied to clipboard
data class Path(val elements: List<PathElement> = listOf(), val states: MutableSet<Int> = mutableSetOf())
Link copied to clipboard
data class PathElement(val symbol: Int, val rule: Boolean)