Searched refs:newTool (Results 1 – 12 of 12) sorted by relevance
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/ |
D | TestAttributes.java | 56 Tool antlr = newTool(); in testEscapedLessThanInAction() 81 Tool antlr = newTool(); in testEscaped$InAction() 103 Tool antlr = newTool(); in testArguments() 128 Tool antlr = newTool(); in testComplicatedArgParsing() 150 Tool antlr = newTool(); in testBracketArgParsing() 181 Tool antlr = newTool(); in testStringArgParsing() 217 Tool antlr = newTool(); in testComplicatedSingleArgParsing() 242 Tool antlr = newTool(); in testArgWithLT() 273 Tool antlr = newTool(); in testGenericsAsArgumentDefinition() 311 Tool antlr = newTool(); in testGenericsAsArgumentDefinition2() [all …]
|
D | TestTemplates.java | 65 Tool antlr = newTool(); in testTemplateConstructor() 102 Tool antlr = newTool(); in testTemplateConstructorNoArgs() 140 Tool antlr = newTool(); in testIndirectTemplateConstructor() 176 Tool antlr = newTool(); in testStringConstructor() 211 Tool antlr = newTool(); in testSetAttr() 247 Tool antlr = newTool(); in testSetAttrOfExpr() 281 Tool antlr = newTool(); in testSetAttrOfExprInMembers() 305 Tool antlr = newTool(); in testCannotHaveSpaceBeforeDot() 333 Tool antlr = newTool(); in testCannotHaveSpaceAfterDot()
|
D | TestCompositeGrammars.java | 210 Tool antlr = newTool(new String[] {"-lib", tmpdir}); in testDelegatesSeeSameTokenType2() 248 Tool antlr = newTool(new String[] {"-lib", tmpdir}); in testCombinedImportsCombined() 282 Tool antlr = newTool(new String[] {"-lib", tmpdir}); in testSameStringTwoNames() 335 Tool antlr = newTool(new String[] {"-lib", tmpdir}); in testSameNameTwoStrings() 383 Tool antlr = newTool(new String[] {"-lib", tmpdir}); in testImportedTokenVocabIgnoredWithWarning() 425 Tool antlr = newTool(new String[] {"-lib", tmpdir}); in testImportedTokenVocabWorksInRoot() 460 Tool antlr = newTool(new String[] {"-lib", tmpdir}); in testSyntaxErrorsInImportsNotThrownOut() 486 Tool antlr = newTool(new String[] {"-lib", tmpdir}); in testSyntaxErrorsInImportsNotThrownOut2() 617 Tool antlr = newTool(new String[] {"-lib", tmpdir}); in testLexerDelegatorRuleOverridesDelegateLeavingNoRules() 657 Tool antlr = newTool(new String[] {"-lib", tmpdir}); in testInvalidImportMechanism() [all …]
|
D | TestRewriteTemplates.java | 248 Tool antlr = newTool(); in testRewriteRuleAndRewriteModeOnSimpleElements() 270 Tool antlr = newTool(); in testRewriteRuleAndRewriteModeIgnoreActionsPredicates() 289 Tool antlr = newTool(); in testRewriteRuleAndRewriteModeNotSimple() 309 Tool antlr = newTool(); in testRewriteRuleAndRewriteModeRefRule()
|
D | TestRewriteAST.java | 873 Tool antlr = newTool(); in testWeirdRuleRef() 1171 Tool antlr = newTool(); in testUnknownRule() 1200 Tool antlr = newTool(); in testKnownRuleButNotInLHS() 1228 Tool antlr = newTool(); in testUnknownToken() 1256 Tool antlr = newTool(); in testUnknownLabel() 1284 Tool antlr = newTool(); in testUnknownCharLiteralToken() 1312 Tool antlr = newTool(); in testUnknownStringLiteralToken()
|
D | TestSemanticPredicates.java | 255 CodeGenerator generator = new CodeGenerator(newTool(), g, "Java"); in testLeftRecursivePred() 364 CodeGenerator generator = new CodeGenerator(newTool(), g, "Java"); in testPredsUsedAfterRecursionOverflow() 398 CodeGenerator generator = new CodeGenerator(newTool(), g, "Java"); in testPredsUsedAfterK2FailsNoRecursionOverflow() 800 CodeGenerator generator = new CodeGenerator(newTool(), g, "Java"); in checkDecision()
|
D | TestMessages.java | 59 Tool antlr = newTool(); in testMessageStringificationIsConsistent()
|
D | TestSymbolDefinitions.java | 226 Tool antlr = newTool(); in testRefToRuleWithNoReturnValue() 726 Tool antlr = newTool(); in testBadGrammarOption() 785 Tool antlr = newTool(new String[] {"-lib", tmpdir}); in testTokenVocabStringUsedInLexer() 817 Tool antlr = newTool(new String[] {"-lib", tmpdir}); in testTokenVocabStringUsedInCombined()
|
D | TestLexer.java | 242 Tool antlr = newTool(); in testNewlineLiterals()
|
D | BaseTest.java | 97 protected Tool newTool(String[] args) { in newTool() method in BaseTest 103 protected Tool newTool() { in newTool() method in BaseTest 168 Tool antlr = newTool(optionsA); in antlr()
|
D | TestTreeGrammarRewriteAST.java | 242 Tool antlr = newTool(); in testNoWildcardAsRootError()
|
D | TestDFAConversion.java | 755 Tool antlr = newTool(); in testNoStartRule() 1630 CodeGenerator generator = new CodeGenerator(newTool(), g, "Java"); in checkDecision()
|