diff --git a/runtime/Core/src/main/kotlin/org/antlr/v5/runtime/core/atn/ATN.kt b/runtime/Core/src/main/kotlin/org/antlr/v5/runtime/core/atn/ATN.kt index a791d37d9..79d051362 100644 --- a/runtime/Core/src/main/kotlin/org/antlr/v5/runtime/core/atn/ATN.kt +++ b/runtime/Core/src/main/kotlin/org/antlr/v5/runtime/core/atn/ATN.kt @@ -8,7 +8,8 @@ import org.antlr.v5.runtime.core.state.* import org.antlr.v5.runtime.core.transition.RuleTransition /** - * Used for runtime deserialization of ATNs from strings. + * ATN stands for Augmented Transition Network, see https://en.wikipedia.org/wiki/Augmented_transition_network + * Used for runtime deserialization of ATNs from literals. * * @param grammarType The type of the ATN * @param maxTokenType The maximum value for any symbol recognized diff --git a/runtime/Core/src/main/kotlin/org/antlr/v5/runtime/core/dfa/DFA.kt b/runtime/Core/src/main/kotlin/org/antlr/v5/runtime/core/dfa/DFA.kt index 6c3de535c..8e7d184d7 100644 --- a/runtime/Core/src/main/kotlin/org/antlr/v5/runtime/core/dfa/DFA.kt +++ b/runtime/Core/src/main/kotlin/org/antlr/v5/runtime/core/dfa/DFA.kt @@ -12,6 +12,9 @@ import org.antlr.v5.runtime.core.state.DecisionState import org.antlr.v5.runtime.core.state.StarLoopEntryState import kotlin.concurrent.Volatile +/** DFA stands for Deterministic Finite Automaton, see https://en.wikipedia.org/wiki/Deterministic_finite_automaton + */ + public open class DFA( /** * From which ATN state did we create this DFA?