org.antlr.test
Class TestHeteroAST
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.antlr.test.BaseTest
org.antlr.test.TestHeteroAST
- All Implemented Interfaces:
- junit.framework.Test
public class TestHeteroAST
- extends BaseTest
Test hetero trees in parsers and tree parsers
Field Summary |
protected boolean |
debug
|
Methods inherited from class org.antlr.test.BaseTest |
antlr, checkGrammarSemanticsError, checkGrammarSemanticsWarning, compile, eraseFiles, execLexer, execParser, execTreeParser, execTreeParser, getFirstLineOfException, mkdir, newTool, newTool, rawExecRecognizer, rawGenerateAndBuildRecognizer, realElements, realElements, setUp, writeFile, writeLexerTestFile, writeTemplateTestFile, writeTestFile, writeTreeAndTreeTestFile, writeTreeTestFile |
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString |
Methods inherited from class junit.framework.Assert |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
debug
protected boolean debug
TestHeteroAST
public TestHeteroAST()
testToken
public void testToken()
throws java.lang.Exception
- Throws:
java.lang.Exception
testTokenWithQualifiedType
public void testTokenWithQualifiedType()
throws java.lang.Exception
- Throws:
java.lang.Exception
testTokenWithLabel
public void testTokenWithLabel()
throws java.lang.Exception
- Throws:
java.lang.Exception
testTokenWithListLabel
public void testTokenWithListLabel()
throws java.lang.Exception
- Throws:
java.lang.Exception
testTokenRoot
public void testTokenRoot()
throws java.lang.Exception
- Throws:
java.lang.Exception
testTokenRootWithListLabel
public void testTokenRootWithListLabel()
throws java.lang.Exception
- Throws:
java.lang.Exception
testString
public void testString()
throws java.lang.Exception
- Throws:
java.lang.Exception
testStringRoot
public void testStringRoot()
throws java.lang.Exception
- Throws:
java.lang.Exception
testRewriteToken
public void testRewriteToken()
throws java.lang.Exception
- Throws:
java.lang.Exception
testRewriteTokenWithArgs
public void testRewriteTokenWithArgs()
throws java.lang.Exception
- Throws:
java.lang.Exception
testRewriteTokenRoot
public void testRewriteTokenRoot()
throws java.lang.Exception
- Throws:
java.lang.Exception
testRewriteString
public void testRewriteString()
throws java.lang.Exception
- Throws:
java.lang.Exception
testRewriteStringRoot
public void testRewriteStringRoot()
throws java.lang.Exception
- Throws:
java.lang.Exception
testRewriteRuleResults
public void testRewriteRuleResults()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCopySemanticsWithHetero
public void testCopySemanticsWithHetero()
throws java.lang.Exception
- Throws:
java.lang.Exception
testTreeParserRewriteFlatList
public void testTreeParserRewriteFlatList()
throws java.lang.Exception
- Throws:
java.lang.Exception
testTreeParserRewriteTree
public void testTreeParserRewriteTree()
throws java.lang.Exception
- Throws:
java.lang.Exception
testTreeParserRewriteImaginary
public void testTreeParserRewriteImaginary()
throws java.lang.Exception
- Throws:
java.lang.Exception
testTreeParserRewriteImaginaryWithArgs
public void testTreeParserRewriteImaginaryWithArgs()
throws java.lang.Exception
- Throws:
java.lang.Exception
testTreeParserRewriteImaginaryRoot
public void testTreeParserRewriteImaginaryRoot()
throws java.lang.Exception
- Throws:
java.lang.Exception
testTreeParserRewriteImaginaryFromReal
public void testTreeParserRewriteImaginaryFromReal()
throws java.lang.Exception
- Throws:
java.lang.Exception
testTreeParserAutoHeteroAST
public void testTreeParserAutoHeteroAST()
throws java.lang.Exception
- Throws:
java.lang.Exception