Java Doc for TestRewriteAST.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.TestRewriteAST

All known Subclasses:   org.antlr.test.DebugTestRewriteAST,
TestRewriteAST
public class TestRewriteAST extends BaseTest (Code)


Field Summary
protected  booleandebug
    


Method Summary
protected  voidcheckError(ErrorQueue equeue, GrammarSemanticsMessage expectedMessage)
    
public  voidtestArbitraryExprType()
    
public  voidtestCardinality()
    
public  voidtestCardinality2()
    
public  voidtestCardinality3()
    
public  voidtestClosureOfLabel()
    
public  voidtestClosureSingleRule()
    
public  voidtestClosureSingleToken()
    
public  voidtestComplicatedMelange()
    
public  voidtestCopyOfTokens()
    
public  voidtestCopyRuleLabel()
    
public  voidtestCopyRuleLabel2()
    
public  voidtestCopySemanticsForRules()
    
public  voidtestCopySemanticsForRules2()
    
public  voidtestCopySemanticsForRules3()
    
public  voidtestCopySemanticsForRules3Double()
    
public  voidtestCopySemanticsForRules4()
    
public  voidtestCopySemanticsLists()
    
public  voidtestDelete()
    
public  voidtestImaginaryTokenCopy()
    
public  voidtestImaginaryTokenCopySetText()
    
public  voidtestImaginaryTokenNoCopyFromToken()
    
public  voidtestImaginaryTokenNoCopyFromTokenSetText()
    
public  voidtestKnownRuleButNotInLHS()
    
public  voidtestListRefdOneAtATime()
    
public  voidtestLoopCardinality()
    
public  voidtestMixedRewriteAndAutoAST()
    
public  voidtestMultiplePredicate()
    
public  voidtestMultiplePredicateTrees()
    
public  voidtestNestedRewriteShutsOffAutoAST()
    
public  voidtestNestedTokenTreeWithOuterLoop()
    
public  voidtestNestedTrees()
    
public  voidtestOptional()
    
public  voidtestOptional2()
    
public  voidtestOptional3()
    
public  voidtestOptional4()
    
public  voidtestOptional5()
    
public  voidtestOptionalLabelNoListLabel()
    
public  voidtestOptionalSingleRule()
    
public  voidtestOptionalSingleToken()
    
public  voidtestOptionalSubruleWithoutRealElements()
    
public  voidtestPositiveClosureSingleRule()
    
public  voidtestPositiveClosureSingleToken()
    
public  voidtestQueueingOfTokens()
    
public  voidtestRefToOldValue()
    
public  voidtestReorderTokenAndRule()
    
public  voidtestReorderTokens()
    
public  voidtestRewriteAction()
    
public  voidtestRewriteActions()
    
public  voidtestRewriteActions2()
    
public  voidtestRuleLabel()
    
public  voidtestRuleListLabel()
    
public  voidtestRuleListLabel2()
    
public  voidtestSet()
    
public  voidtestSimpleTree()
    
public  voidtestSimpleTree2()
    
public  voidtestSingleCharLiteral()
    
public  voidtestSinglePredicateF()
    
public  voidtestSinglePredicateT()
    
public  voidtestSingleRule()
    
public  voidtestSingleStringLiteral()
    
public  voidtestSingleToken()
    
public  voidtestSingleTokenToNewNode()
    
public  voidtestSingleTokenToNewNode2()
    
public  voidtestSingleTokenToNewNodeRoot()
    
public  voidtestSplitListWithLabels()
    
public  voidtestSubruleWithRewrite()
    
public  voidtestSubruleWithRewrite2()
    
public  voidtestTokenCopyInLoop()
    
public  voidtestTokenCopyInLoopAgainstTwoOthers()
    
public  voidtestTokenTree()
    
public  voidtestTokenTreeAfterOtherStuff()
    
public  voidtestTokenUnreferencedOnLeftButDefined()
    
public  voidtestUnknownCharLiteralToken()
    
public  voidtestUnknownLabel()
    
public  voidtestUnknownRule()
    
public  voidtestUnknownStringLiteralToken()
    
public  voidtestUnknownToken()
    

Field Detail
debug
protected boolean debug(Code)





Method Detail
checkError
protected void checkError(ErrorQueue equeue, GrammarSemanticsMessage expectedMessage) throws Exception(Code)



testArbitraryExprType
public void testArbitraryExprType() throws Exception(Code)



testCardinality
public void testCardinality() throws Exception(Code)



testCardinality2
public void testCardinality2() throws Exception(Code)



testCardinality3
public void testCardinality3() throws Exception(Code)



testClosureOfLabel
public void testClosureOfLabel() throws Exception(Code)



testClosureSingleRule
public void testClosureSingleRule() throws Exception(Code)



testClosureSingleToken
public void testClosureSingleToken() throws Exception(Code)



testComplicatedMelange
public void testComplicatedMelange() throws Exception(Code)



testCopyOfTokens
public void testCopyOfTokens() throws Exception(Code)



testCopyRuleLabel
public void testCopyRuleLabel() throws Exception(Code)



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



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



testNestedTrees
public void testNestedTrees() throws Exception(Code)



testOptional
public void testOptional() throws Exception(Code)



testOptional2
public void testOptional2() throws Exception(Code)



testOptional3
public void testOptional3() throws Exception(Code)



testOptional4
public void testOptional4() throws Exception(Code)



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



testRefToOldValue
public void testRefToOldValue() throws Exception(Code)



testReorderTokenAndRule
public void testReorderTokenAndRule() throws Exception(Code)



testReorderTokens
public void testReorderTokens() throws Exception(Code)



testRewriteAction
public void testRewriteAction() throws Exception(Code)



testRewriteActions
public void testRewriteActions() throws Exception(Code)



testRewriteActions2
public void testRewriteActions2() throws Exception(Code)



testRuleLabel
public void testRuleLabel() throws Exception(Code)



testRuleListLabel
public void testRuleListLabel() throws Exception(Code)



testRuleListLabel2
public void testRuleListLabel2() throws Exception(Code)



testSet
public void testSet() throws Exception(Code)



testSimpleTree
public void testSimpleTree() throws Exception(Code)



testSimpleTree2
public void testSimpleTree2() throws Exception(Code)



testSingleCharLiteral
public void testSingleCharLiteral() throws Exception(Code)



testSinglePredicateF
public void testSinglePredicateF() throws Exception(Code)



testSinglePredicateT
public void testSinglePredicateT() throws Exception(Code)



testSingleRule
public void testSingleRule() throws Exception(Code)



testSingleStringLiteral
public void testSingleStringLiteral() throws Exception(Code)



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



testTokenTree
public void testTokenTree() throws Exception(Code)



testTokenTreeAfterOtherStuff
public void testTokenTreeAfterOtherStuff() throws Exception(Code)



testTokenUnreferencedOnLeftButDefined
public void testTokenUnreferencedOnLeftButDefined() throws Exception(Code)



testUnknownCharLiteralToken
public void testUnknownCharLiteralToken() throws Exception(Code)



testUnknownLabel
public void testUnknownLabel() throws Exception(Code)



testUnknownRule
public void testUnknownRule() throws Exception(Code)



testUnknownStringLiteralToken
public void testUnknownStringLiteralToken() throws Exception(Code)



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