ParserSpec
data class ParserSpec(val version: Int, val states: String, val stateData: String, val goto: String, val nodeNames: String, val maxTerm: Int, val repeatNodeCount: Int, val nodeProps: List<List<Any>>? = null, val propSources: List<NodePropSource<*>>? = null, val skippedNodes: List<Int>? = null, val tokenData: String, val tokenizers: List<Any>, val topRules: Map<String, List<Int>>, val context: ContextTracker<Any?>? = null, val dialects: Map<String, Int>? = null, val dynamicPrecedences: Map<Int, Int>? = null, val specialized: List<SpecializerSpec>? = null, val tokenPrec: Int, val termNames: Map<Int, String>? = null)
Serialized parser specification.
Constructors
Link copied to clipboard
constructor(version: Int, states: String, stateData: String, goto: String, nodeNames: String, maxTerm: Int, repeatNodeCount: Int, nodeProps: List<List<Any>>? = null, propSources: List<NodePropSource<*>>? = null, skippedNodes: List<Int>? = null, tokenData: String, tokenizers: List<Any>, topRules: Map<String, List<Int>>, context: ContextTracker<Any?>? = null, dialects: Map<String, Int>? = null, dynamicPrecedences: Map<Int, Int>? = null, specialized: List<SpecializerSpec>? = null, tokenPrec: Int, termNames: Map<Int, String>? = null)