| org.antlr.test.BaseTest org.antlr.test.TestSymbolDefinitions
TestSymbolDefinitions | public class TestSymbolDefinitions extends BaseTest (Code) | | |
TestSymbolDefinitions | public TestSymbolDefinitions()(Code) | | Public default constructor used by TestRig
|
testBadGrammarOption | public void testBadGrammarOption() throws Exception(Code) | | |
testBadSubRuleOption | public void testBadSubRuleOption() throws Exception(Code) | | |
testCharLiteralInLexerTokensSection | public void testCharLiteralInLexerTokensSection() throws Exception(Code) | | |
testCharLiteralInParserTokensSection | public void testCharLiteralInParserTokensSection() throws Exception(Code) | | |
testCombinedGrammarLiterals | public void testCombinedGrammarLiterals() throws Exception(Code) | | |
testCombinedGrammarWithRefToLiteralButNoTokenIDRef | public void testCombinedGrammarWithRefToLiteralButNoTokenIDRef() throws Exception(Code) | | |
testCombinedRuleRedefinition | public void testCombinedRuleRedefinition() throws Exception(Code) | | |
testLabelAndArgConflict | public void testLabelAndArgConflict() throws Exception(Code) | | |
testLabelAndParameterConflict | public void testLabelAndParameterConflict() throws Exception(Code) | | |
testLabelAndRuleNameConflict | public void testLabelAndRuleNameConflict() throws Exception(Code) | | |
testLabelAndTokenNameConflict | public void testLabelAndTokenNameConflict() throws Exception(Code) | | |
testLabelRuleScopeConflict | public void testLabelRuleScopeConflict() throws Exception(Code) | | |
testLexerRuleInParser | public void testLexerRuleInParser() throws Exception(Code) | | |
testLexerRuleRedefinition | public void testLexerRuleRedefinition() throws Exception(Code) | | |
testLexerTokensSection | public void testLexerTokensSection() throws Exception(Code) | | |
testLiteralInParserAndLexer | public void testLiteralInParserAndLexer() throws Exception(Code) | | |
testMixedPlusEqualLabel | public void testMixedPlusEqualLabel() throws Exception(Code) | | |
testParserCharLiteralWithEscape | public void testParserCharLiteralWithEscape() throws Exception(Code) | | |
testParserCharLiterals | public void testParserCharLiterals() throws Exception(Code) | | |
testParserRuleInLexer | public void testParserRuleInLexer() throws Exception(Code) | | |
testParserSimpleTokens | public void testParserSimpleTokens() throws Exception(Code) | | |
testParserStringLiterals | public void testParserStringLiterals() throws Exception(Code) | | |
testParserTokensSection | public void testParserTokensSection() throws Exception(Code) | | |
testRefToRuleWithNoReturnValue | public void testRefToRuleWithNoReturnValue() throws Exception(Code) | | |
testRuleLabelScopeConflict | public void testRuleLabelScopeConflict() throws Exception(Code) | | |
testRuleRedefinition | public void testRuleRedefinition() throws Exception(Code) | | |
testRuleScopeArgConflict | public void testRuleScopeArgConflict() throws Exception(Code) | | |
testRuleScopeConflict | public void testRuleScopeConflict() throws Exception(Code) | | |
testRuleScopeReturnValueConflict | public void testRuleScopeReturnValueConflict() throws Exception(Code) | | |
testRuleScopeRuleNameConflict | public void testRuleScopeRuleNameConflict() throws Exception(Code) | | |
testSetDoesNotMissTokenAliases | public void testSetDoesNotMissTokenAliases() throws Exception(Code) | | |
testSimplePlusEqualLabel | public void testSimplePlusEqualLabel() throws Exception(Code) | | |
testStringLiteralInParserTokensSection | public void testStringLiteralInParserTokensSection() throws Exception(Code) | | |
testTokenInTokensSectionAndTokenRuleDef | public void testTokenInTokensSectionAndTokenRuleDef() throws Exception(Code) | | |
testTokenInTokensSectionAndTokenRuleDef2 | public void testTokenInTokensSectionAndTokenRuleDef2() throws Exception(Code) | | |
testTokenLabelScopeConflict | public void testTokenLabelScopeConflict() throws Exception(Code) | | |
testTokenRuleScopeConflict | public void testTokenRuleScopeConflict() throws Exception(Code) | | |
testTokenRuleScopeConflictInLexerGrammar | public void testTokenRuleScopeConflictInLexerGrammar() throws Exception(Code) | | |
testTokenScopeConflict | public void testTokenScopeConflict() throws Exception(Code) | | |
testTokensSectionWithAssignmentSection | public void testTokensSectionWithAssignmentSection() throws Exception(Code) | | |
testUndefinedTokenOkInParser | public void testUndefinedTokenOkInParser() 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)
|
|
|