| org.antlr.test.BaseTest org.antlr.test.TestRewriteAST
All known Subclasses: org.antlr.test.DebugTestRewriteAST,
Field Summary | |
protected boolean | debug |
debug | protected boolean debug(Code) | | |
testArbitraryExprType | public void testArbitraryExprType() throws Exception(Code) | | |
testClosureSingleRule | public void testClosureSingleRule() throws Exception(Code) | | |
testClosureSingleToken | public void testClosureSingleToken() throws Exception(Code) | | |
testComplicatedMelange | public void testComplicatedMelange() throws Exception(Code) | | |
testCopySemanticsForRules | public void testCopySemanticsForRules() throws Exception(Code) | | |
testCopySemanticsForRules2 | public void testCopySemanticsForRules2() throws Exception(Code) | | |
testCopySemanticsForRules3 | public void testCopySemanticsForRules3() throws Exception(Code) | | |
testCopySemanticsForRules3Double | public void testCopySemanticsForRules3Double() throws Exception(Code) | | |
testCopySemanticsForRules4 | public void testCopySemanticsForRules4() throws Exception(Code) | | |
testCopySemanticsLists | public void testCopySemanticsLists() throws Exception(Code) | | |
testImaginaryTokenCopy | public void testImaginaryTokenCopy() throws Exception(Code) | | |
testImaginaryTokenCopySetText | public void testImaginaryTokenCopySetText() throws Exception(Code) | | |
testImaginaryTokenNoCopyFromToken | public void testImaginaryTokenNoCopyFromToken() throws Exception(Code) | | |
testImaginaryTokenNoCopyFromTokenSetText | public void testImaginaryTokenNoCopyFromTokenSetText() throws Exception(Code) | | |
testKnownRuleButNotInLHS | public void testKnownRuleButNotInLHS() throws Exception(Code) | | |
testListRefdOneAtATime | public void testListRefdOneAtATime() throws Exception(Code) | | |
testLoopCardinality | public void testLoopCardinality() throws Exception(Code) | | |
testMixedRewriteAndAutoAST | public void testMixedRewriteAndAutoAST() throws Exception(Code) | | |
testMultiplePredicate | public void testMultiplePredicate() throws Exception(Code) | | |
testMultiplePredicateTrees | public void testMultiplePredicateTrees() throws Exception(Code) | | |
testNestedRewriteShutsOffAutoAST | public void testNestedRewriteShutsOffAutoAST() throws Exception(Code) | | |
testNestedTokenTreeWithOuterLoop | public void testNestedTokenTreeWithOuterLoop() throws Exception(Code) | | |
testOptionalLabelNoListLabel | public void testOptionalLabelNoListLabel() throws Exception(Code) | | |
testOptionalSingleRule | public void testOptionalSingleRule() throws Exception(Code) | | |
testOptionalSingleToken | public void testOptionalSingleToken() throws Exception(Code) | | |
testOptionalSubruleWithoutRealElements | public void testOptionalSubruleWithoutRealElements() throws Exception(Code) | | |
testPositiveClosureSingleRule | public void testPositiveClosureSingleRule() throws Exception(Code) | | |
testPositiveClosureSingleToken | public void testPositiveClosureSingleToken() throws Exception(Code) | | |
testQueueingOfTokens | public void testQueueingOfTokens() throws Exception(Code) | | |
testReorderTokenAndRule | public void testReorderTokenAndRule() throws Exception(Code) | | |
testRewriteActions2 | public void testRewriteActions2() throws Exception(Code) | | |
testSingleCharLiteral | public void testSingleCharLiteral() throws Exception(Code) | | |
testSinglePredicateF | public void testSinglePredicateF() throws Exception(Code) | | |
testSinglePredicateT | public void testSinglePredicateT() throws Exception(Code) | | |
testSingleStringLiteral | public void testSingleStringLiteral() throws Exception(Code) | | |
testSingleTokenToNewNode | public void testSingleTokenToNewNode() throws Exception(Code) | | |
testSingleTokenToNewNode2 | public void testSingleTokenToNewNode2() throws Exception(Code) | | |
testSingleTokenToNewNodeRoot | public void testSingleTokenToNewNodeRoot() throws Exception(Code) | | |
testSplitListWithLabels | public void testSplitListWithLabels() throws Exception(Code) | | |
testSubruleWithRewrite | public void testSubruleWithRewrite() throws Exception(Code) | | |
testSubruleWithRewrite2 | public void testSubruleWithRewrite2() throws Exception(Code) | | |
testTokenCopyInLoop | public void testTokenCopyInLoop() throws Exception(Code) | | |
testTokenCopyInLoopAgainstTwoOthers | public void testTokenCopyInLoopAgainstTwoOthers() throws Exception(Code) | | |
testTokenTreeAfterOtherStuff | public void testTokenTreeAfterOtherStuff() throws Exception(Code) | | |
testTokenUnreferencedOnLeftButDefined | public void testTokenUnreferencedOnLeftButDefined() throws Exception(Code) | | |
testUnknownCharLiteralToken | public void testUnknownCharLiteralToken() throws Exception(Code) | | |
testUnknownStringLiteralToken | public void testUnknownStringLiteralToken() throws Exception(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)
|
|
|