commonMain.org.antlr.v4.kotlinruntime.atn.WildcardTransition.kt Maven / Gradle / Ivy
// Copyright 2017-present Strumenta and contributors, licensed under Apache 2.0.
// Copyright 2024-present Strumenta and contributors, licensed under BSD 3-Clause.
package org.antlr.v4.kotlinruntime.atn
public class WildcardTransition(target: ATNState) : Transition(target) {
override val serializationType: Int =
WILDCARD
override fun matches(symbol: Int, minVocabSymbol: Int, maxVocabSymbol: Int): Boolean =
symbol in minVocabSymbol..maxVocabSymbol
override fun toString(): String =
"."
}