| org.antlr.test.BaseTest org.antlr.test.TestDFAConversion
TestDFAConversion | public class TestDFAConversion extends BaseTest (Code) | | |
checkDecision | protected void checkDecision(Grammar g, int decision, String expecting, int[] expectingUnreachableAlts, int[] expectingNonDetAlts, String expectingAmbigInput, int[] expectingDanglingAlts, int expectingNumWarnings) throws Exception(Code) | | |
testAOrBPlusOrAPlus | public void testAOrBPlusOrAPlus() throws Exception(Code) | | |
testAPlusNonGreedyWhenDeterministic | public void testAPlusNonGreedyWhenDeterministic() throws Exception(Code) | | |
testAStar_immediateTailRecursion | public void testAStar_immediateTailRecursion() throws Exception(Code) | | |
testAStar_immediateTailRecursion2 | public void testAStar_immediateTailRecursion2() throws Exception(Code) | | |
testAorBorCOptional | public void testAorBorCOptional() throws Exception(Code) | | |
testAutoBacktrackResolvesRecursion | public void testAutoBacktrackResolvesRecursion() throws Exception(Code) | | |
testAutoBacktrackResolvesRecursionInLexer | public void testAutoBacktrackResolvesRecursionInLexer() throws Exception(Code) | | |
testCannotSeePastRecursion | public void testCannotSeePastRecursion() throws Exception(Code) | | |
testComplementCharSet | public void testComplementCharSet() throws Exception(Code) | | |
testComplementToken | public void testComplementToken() throws Exception(Code) | | |
testCycleInsideRuleDoesNotForceInfiniteRecursion | public void testCycleInsideRuleDoesNotForceInfiniteRecursion() throws Exception(Code) | | |
testCyclicTableCreation | public void testCyclicTableCreation() throws Exception(Code) | | |
testDoubleInvokeRuleLeftEdge | public void testDoubleInvokeRuleLeftEdge() throws Exception(Code) | | |
testFollowReturnsToLoopReenteringSameRule | public void testFollowReturnsToLoopReenteringSameRule() throws Exception(Code) | | |
testIndirectIFThenElseStyleAmbig | public void testIndirectIFThenElseStyleAmbig() throws Exception(Code) | | |
testIndirectLeftRecursion | public void testIndirectLeftRecursion() throws Exception(Code) | | |
testIndirectRecursionAmbigAlts | public void testIndirectRecursionAmbigAlts() throws Exception(Code) | | |
testIndirectRecursionLoop | public void testIndirectRecursionLoop() throws Exception(Code) | | |
testIndirectRecursionLoop2 | public void testIndirectRecursionLoop2() throws Exception(Code) | | |
testIndirectRecursionLoop3 | public void testIndirectRecursionLoop3() throws Exception(Code) | | |
testLeftRecursionInMultipleCycles | public void testLeftRecursionInMultipleCycles() throws Exception(Code) | | |
testLoopbackAndExit | public void testLoopbackAndExit() throws Exception(Code) | | |
testMultipleAltsSameSequenceCollision | public void testMultipleAltsSameSequenceCollision() throws Exception(Code) | | |
testMultipleSequenceCollision | public void testMultipleSequenceCollision() throws Exception(Code) | | |
testNoSetCollapseWithActions | public void testNoSetCollapseWithActions() throws Exception(Code) | | |
testOptionalAltAndBypass | public void testOptionalAltAndBypass() throws Exception(Code) | | |
testResolveLL1ByChoosingFirst | public void testResolveLL1ByChoosingFirst() throws Exception(Code) | | |
testResolveLL2ByChoosingFirst | public void testResolveLL2ByChoosingFirst() throws Exception(Code) | | |
testResolveLL2MixAlt | public void testResolveLL2MixAlt() throws Exception(Code) | | |
testRuleAltsSetCollapse | public void testRuleAltsSetCollapse() throws Exception(Code) | | |
testSelfRecursionAmbigAlts | public void testSelfRecursionAmbigAlts() throws Exception(Code) | | |
testSynPredResolvesRecursion | public void testSynPredResolvesRecursion() throws Exception(Code) | | |
testSynPredResolvesRecursionInLexer | public void testSynPredResolvesRecursionInLexer() throws Exception(Code) | | |
testTailRecursionInvokedFromArbitraryLookaheadDecision | public void testTailRecursionInvokedFromArbitraryLookaheadDecision() throws Exception(Code) | | |
testTokenCallsAnotherOnLeftEdge | public void testTokenCallsAnotherOnLeftEdge() throws Exception(Code) | | |
testTokensRuleAltsDoNotCollapse | public void testTokensRuleAltsDoNotCollapse() throws Exception(Code) | | |
testWildcardPlusK1AndNonGreedyByDefaultInParser | public void testWildcardPlusK1AndNonGreedyByDefaultInParser() throws Exception(Code) | | |
testWildcardStarK1AndNonGreedyByDefaultInParser | public void testWildcardStarK1AndNonGreedyByDefaultInParser() throws Exception(Code) | | |
testifThenElseChecksStackSuffixConflict | public void testifThenElseChecksStackSuffixConflict() throws Exception(Code) | | |
testimmediateLeftRecursion | public void testimmediateLeftRecursion() throws Exception(Code) | | |
testimmediateTailRecursion | public void testimmediateTailRecursion() throws Exception(Code) | | |
testselfRecurseNonDet | public void testselfRecurseNonDet() throws Exception(Code) | | |
testselfRecurseNonDet2 | public void testselfRecurseNonDet2() 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)
|
|
|