From 2b2114c3ae6490c6bd96fa566bc2a1c2c4c0132a Mon Sep 17 00:00:00 2001 From: Sam Harwell Date: Thu, 3 Jan 2013 02:45:09 -0600 Subject: [PATCH] Javadoc formatting, clarification, and links --- .../Java/src/org/antlr/v4/runtime/atn/ATNConfigSet.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/runtime/Java/src/org/antlr/v4/runtime/atn/ATNConfigSet.java b/runtime/Java/src/org/antlr/v4/runtime/atn/ATNConfigSet.java index 344c6ecac..0e57bae5e 100755 --- a/runtime/Java/src/org/antlr/v4/runtime/atn/ATNConfigSet.java +++ b/runtime/Java/src/org/antlr/v4/runtime/atn/ATNConfigSet.java @@ -323,9 +323,12 @@ public class ATNConfigSet implements Set { return add(config, null); } - /** Adding a new config means merging contexts with existing configs for - * (s, i, pi, _) - * We use (s,i,pi) as key + /** + * Adding a new config means merging contexts with existing configs for + * {@code (s, i, pi, _)}, where {@code s} is the + * {@link ATNConfig#state}, {@code i} is the {@link ATNConfig#alt}, and + * {@code pi} is the {@link ATNConfig#semanticContext}. We use + * {@code (s,i,pi)} as key. *

* This method updates {@link #dipsIntoOuterContext} and * {@link #hasSemanticContext} when necessary.