| org.antlr.test.BaseTest org.antlr.test.TestJavaCodeGeneration
TestJavaCodeGeneration | public class TestJavaCodeGeneration extends BaseTest (Code) | | General code generation testing; compilation and/or execution.
These tests are more about avoiding duplicate var definitions
etc... than testing a particular ANTLR feature.
|
testDoubleQuoteEscape | public void testDoubleQuoteEscape()(Code) | | |
testDupVarDefForPinchedState | public void testDupVarDefForPinchedState()(Code) | | |
testLabeledNotSetsInLexer | public void testLabeledNotSetsInLexer()(Code) | | |
testLabeledRangeInLexer | public void testLabeledRangeInLexer()(Code) | | |
testLabeledSetsInLexer | public void testLabeledSetsInLexer()(Code) | | |
testLabeledWildcardInLexer | public void testLabeledWildcardInLexer()(Code) | | |
testSynpredWithPlusLoop | public void testSynpredWithPlusLoop()(Code) | | |
Methods inherited from org.antlr.test.BaseTest | protected boolean antlr(String fileName, String grammarFileName, String grammarStr, boolean debug)(Code)(Java Doc) protected boolean compile(String fileName)(Code)(Java Doc) protected void eraseFiles(String filesEndingWith)(Code)(Java Doc) protected String execParser(String grammarFileName, String grammarStr, String parserName, String lexerName, String startRuleName, String input, boolean debug)(Code)(Java Doc) protected String execTreeParser(String parserGrammarFileName, String parserGrammarStr, String parserName, String treeParserGrammarFileName, String treeParserGrammarStr, String treeParserName, String lexerName, String parserStartRuleName, String treeParserStartRuleName, String input)(Code)(Java Doc) 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)(Code)(Java Doc) public String getFirstLineOfException()(Code)(Java Doc) protected void mkdir(String dir)(Code)(Java Doc) protected Tool newTool()(Code)(Java Doc) protected String rawExecRecognizer(String parserName, String treeParserName, String lexerName, String parserStartRuleName, String treeParserStartRuleName, boolean parserBuildsTrees, boolean parserBuildsTemplate, boolean debug)(Code)(Java Doc) protected boolean rawGenerateAndBuildRecognizer(String grammarFileName, String grammarStr, String parserName, String lexerName, boolean debug)(Code)(Java Doc) protected void writeFile(String dir, String fileName, String content)(Code)(Java Doc) protected void writeTemplateTestFile(String parserName, String lexerName, String parserStartRuleName, boolean debug)(Code)(Java Doc) protected void writeTestFile(String parserName, String lexerName, String parserStartRuleName, boolean debug)(Code)(Java Doc) protected void writeTreeTestFile(String parserName, String treeParserName, String lexerName, String parserStartRuleName, String treeParserStartRuleName, boolean debug)(Code)(Java Doc)
|
|
|