From 44df49f24fd85b697d22d8317f268d98639cd4f6 Mon Sep 17 00:00:00 2001 From: Sam Harwell Date: Thu, 23 Feb 2012 09:45:28 -0600 Subject: [PATCH] Remove tree parser methods from BaseTest --- tool/test/org/antlr/v4/test/BaseTest.java | 56 ----------------------- 1 file changed, 56 deletions(-) diff --git a/tool/test/org/antlr/v4/test/BaseTest.java b/tool/test/org/antlr/v4/test/BaseTest.java index eec6343a1..2e7c6e5b3 100644 --- a/tool/test/org/antlr/v4/test/BaseTest.java +++ b/tool/test/org/antlr/v4/test/BaseTest.java @@ -438,62 +438,6 @@ public abstract class BaseTest { debug); } - protected String execTreeParser(String parserGrammarFileName, - String parserGrammarStr, - String parserName, - String treeParserGrammarFileName, - String treeParserGrammarStr, - String treeParserName, - String lexerName, - String parserStartRuleName, - String treeParserStartRuleName, - String input) - { - return execTreeParser(parserGrammarFileName, - parserGrammarStr, - parserName, - treeParserGrammarFileName, - treeParserGrammarStr, - treeParserName, - lexerName, - parserStartRuleName, - treeParserStartRuleName, - input, - false); - } - - protected String execTreeParser(String parserGrammarFileName, - String parserGrammarStr, - String parserName, - String treeParserGrammarFileName, - String treeParserGrammarStr, - String treeParserName, - String lexerName, - String parserStartRuleName, - String treeParserStartRuleName, - String input, - boolean debug) - { - // build the parser - rawGenerateAndBuildRecognizer(parserGrammarFileName, - parserGrammarStr, - parserName, - lexerName); - - // build the tree parser - rawGenerateAndBuildRecognizer(treeParserGrammarFileName, - treeParserGrammarStr, - treeParserName, - lexerName); - - writeFile(tmpdir, "input", input); - - return rawExecRecognizer(parserName, - lexerName, - parserStartRuleName, - debug); - } - /** Return true if all is well */ protected boolean rawGenerateAndBuildRecognizer(String grammarFileName, String grammarStr,