From e7b84c13dd1e139940656715ce51a24b8bf1d73b Mon Sep 17 00:00:00 2001 From: Sam Harwell Date: Mon, 22 Apr 2013 16:49:36 -0500 Subject: [PATCH] Add comment to TestPerformance.PREDICTION_MODE configuration field --- tool/test/org/antlr/v4/test/TestPerformance.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tool/test/org/antlr/v4/test/TestPerformance.java b/tool/test/org/antlr/v4/test/TestPerformance.java index edcdfe227..5ba789f17 100644 --- a/tool/test/org/antlr/v4/test/TestPerformance.java +++ b/tool/test/org/antlr/v4/test/TestPerformance.java @@ -211,6 +211,12 @@ public class TestPerformance extends BaseTest { */ private static final boolean SHOW_DFA_STATE_STATS = true; + /** + * Specify the {@link PredictionMode} used by the + * {@link ParserATNSimulator}. If {@link #TWO_STAGE_PARSING} is + * {@code true}, this value only applies to the second stage, as the first + * stage will always use {@link PredictionMode#SLL}. + */ private static final PredictionMode PREDICTION_MODE = PredictionMode.LL; private static final boolean TWO_STAGE_PARSING = true;