Java Doc for TestDFAConversion.java in  » Parser » antlr-3.0.1 » org » antlr » test » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Parser » antlr 3.0.1 » org.antlr.test 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.antlr.test.BaseTest
   org.antlr.test.TestDFAConversion

TestDFAConversion
public class TestDFAConversion extends BaseTest (Code)




Method Summary
public  void_template()
    
protected  voidcheckDecision(Grammar g, int decision, String expecting, int[] expectingUnreachableAlts, int[] expectingNonDetAlts, String expectingAmbigInput, int[] expectingDanglingAlts, int expectingNumWarnings)
    
protected  GrammarDanglingStateMessagegetDanglingStateMessage(List warnings)
    
protected  LeftRecursionCyclesMessagegetLeftRecursionCyclesMessage(List warnings)
    
protected  GrammarNonDeterminismMessagegetNonDeterminismMessage(List warnings)
    
protected  RecursionOverflowMessagegetRecursionOverflowMessage(List warnings)
    
protected  Stringstr(int[] elements)
    
public  voidtestA()
    
public  voidtestAB_or_AC()
    
public  voidtestAB_or_AC_k1()
    
public  voidtestAB_or_AC_k2()
    
public  voidtestAOptional()
    
public  voidtestAOrBPlusOrAPlus()
    
public  voidtestAPlus()
    
public  voidtestAPlusNonGreedyWhenDeterministic()
    
public  voidtestAStar()
    
public  voidtestAStarBOrAPlusC()
    
public  voidtestAStarBOrAStarC()
    
public  voidtestAStar_immediateTailRecursion()
    
public  voidtestAStar_immediateTailRecursion2()
    
public  voidtestAorBorCOptional()
    
public  voidtestAorBorCPlus()
    
public  voidtestAorBorCStar()
    
public  voidtestAutoBacktrackResolvesRecursion()
    
public  voidtestAutoBacktrackResolvesRecursionInLexer()
    
public  voidtestCannotSeePastRecursion()
    
public  voidtestComplement()
    
public  voidtestComplementChar()
    
public  voidtestComplementCharSet()
    
public  voidtestComplementToken()
    
public  voidtestCycleInsideRuleDoesNotForceInfiniteRecursion()
    
public  voidtestCyclicTableCreation()
    
public  voidtestDoubleInvokeRuleLeftEdge()
    
public  voidtestFollowReturnsToLoopReenteringSameRule()
    
public  voidtestIndirectIFThenElseStyleAmbig()
    
public  voidtestIndirectLeftRecursion()
    
public  voidtestIndirectRecursionAmbigAlts()
    
public  voidtestIndirectRecursionLoop()
    
public  voidtestIndirectRecursionLoop2()
    
public  voidtestIndirectRecursionLoop3()
    
public  voidtestInvokeRule()
    
public  voidtestLeftRecursionInMultipleCycles()
    
public  voidtestLoopbackAndExit()
    
public  voidtestMultipleAltsSameSequenceCollision()
    
public  voidtestMultipleSequenceCollision()
    
public  voidtestNoSetCollapseWithActions()
    
public  voidtestNoStartRule()
    
public  voidtestOptionalAltAndBypass()
    
public  voidtestResolveLL1ByChoosingFirst()
    
public  voidtestResolveLL2ByChoosingFirst()
    
public  voidtestResolveLL2MixAlt()
    
public  voidtestRuleAltsSetCollapse()
    
public  voidtestSelfRecursionAmbigAlts()
    
public  voidtestSynPredResolvesRecursion()
    
public  voidtestSynPredResolvesRecursionInLexer()
    
public  voidtestTailRecursionInvokedFromArbitraryLookaheadDecision()
    
public  voidtestTokenCallsAnotherOnLeftEdge()
    
public  voidtestTokensRuleAltsDoNotCollapse()
    
public  voidtestWildcardPlusK1AndNonGreedyByDefaultInParser()
    
public  voidtestWildcardStarK1AndNonGreedyByDefaultInParser()
    
public  voidtestifThenElse()
    
public  voidtestifThenElseChecksStackSuffixConflict()
    
public  voidtestimmediateLeftRecursion()
    
public  voidtestimmediateTailRecursion()
    
public  voidtestselfRecurseNonDet()
    
public  voidtestselfRecurseNonDet2()
    



Method Detail
_template
public void _template() throws Exception(Code)



checkDecision
protected void checkDecision(Grammar g, int decision, String expecting, int[] expectingUnreachableAlts, int[] expectingNonDetAlts, String expectingAmbigInput, int[] expectingDanglingAlts, int expectingNumWarnings) throws Exception(Code)



getDanglingStateMessage
protected GrammarDanglingStateMessage getDanglingStateMessage(List warnings)(Code)



getLeftRecursionCyclesMessage
protected LeftRecursionCyclesMessage getLeftRecursionCyclesMessage(List warnings)(Code)



getNonDeterminismMessage
protected GrammarNonDeterminismMessage getNonDeterminismMessage(List warnings)(Code)



getRecursionOverflowMessage
protected RecursionOverflowMessage getRecursionOverflowMessage(List warnings)(Code)



str
protected String str(int[] elements)(Code)



testA
public void testA() throws Exception(Code)



testAB_or_AC
public void testAB_or_AC() throws Exception(Code)



testAB_or_AC_k1
public void testAB_or_AC_k1() throws Exception(Code)



testAB_or_AC_k2
public void testAB_or_AC_k2() throws Exception(Code)



testAOptional
public void testAOptional() throws Exception(Code)



testAOrBPlusOrAPlus
public void testAOrBPlusOrAPlus() throws Exception(Code)



testAPlus
public void testAPlus() throws Exception(Code)



testAPlusNonGreedyWhenDeterministic
public void testAPlusNonGreedyWhenDeterministic() throws Exception(Code)



testAStar
public void testAStar() throws Exception(Code)



testAStarBOrAPlusC
public void testAStarBOrAPlusC() throws Exception(Code)



testAStarBOrAStarC
public void testAStarBOrAStarC() 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)



testAorBorCPlus
public void testAorBorCPlus() throws Exception(Code)



testAorBorCStar
public void testAorBorCStar() throws Exception(Code)



testAutoBacktrackResolvesRecursion
public void testAutoBacktrackResolvesRecursion() throws Exception(Code)



testAutoBacktrackResolvesRecursionInLexer
public void testAutoBacktrackResolvesRecursionInLexer() throws Exception(Code)



testCannotSeePastRecursion
public void testCannotSeePastRecursion() throws Exception(Code)



testComplement
public void testComplement() throws Exception(Code)



testComplementChar
public void testComplementChar() 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)



testInvokeRule
public void testInvokeRule() 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)



testNoStartRule
public void testNoStartRule() 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)



testifThenElse
public void testifThenElse() 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)



Fields inherited from org.antlr.test.BaseTest
final public static String CLASSPATH(Code)(Java Doc)
final public static String jikes(Code)(Java Doc)
final public static String pathSep(Code)(Java Doc)
protected String stderr(Code)(Java Doc)
final public static String tmpdir(Code)(Java Doc)

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)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.