Searched refs:newTool (Results 1 – 12 of 12) sorted by relevance
/external/antlr/tool/src/test/java/org/antlr/test/ |
D | TestAttributes.java | 58 Tool antlr = newTool(); in testEscapedLessThanInAction() 83 Tool antlr = newTool(); in testEscaped$InAction() 105 Tool antlr = newTool(); in testArguments() 130 Tool antlr = newTool(); in testComplicatedArgParsing() 152 Tool antlr = newTool(); in testBracketArgParsing() 183 Tool antlr = newTool(); in testStringArgParsing() 219 Tool antlr = newTool(); in testComplicatedSingleArgParsing() 244 Tool antlr = newTool(); in testArgWithLT() 275 Tool antlr = newTool(); in testGenericsAsArgumentDefinition() 313 Tool antlr = newTool(); in testGenericsAsArgumentDefinition2() [all …]
|
D | TestTemplates.java | 67 Tool antlr = newTool(); in testTemplateConstructor() 104 Tool antlr = newTool(); in testTemplateConstructorNoArgs() 142 Tool antlr = newTool(); in testIndirectTemplateConstructor() 178 Tool antlr = newTool(); in testStringConstructor() 213 Tool antlr = newTool(); in testSetAttr() 249 Tool antlr = newTool(); in testSetAttrOfExpr() 283 Tool antlr = newTool(); in testSetAttrOfExprInMembers() 307 Tool antlr = newTool(); in testCannotHaveSpaceBeforeDot() 335 Tool antlr = newTool(); in testCannotHaveSpaceAfterDot()
|
D | TestCompositeGrammars.java | 212 Tool antlr = newTool(new String[] {"-lib", tmpdir}); in testDelegatesSeeSameTokenType2() 250 Tool antlr = newTool(new String[] {"-lib", tmpdir}); in testCombinedImportsCombined() 284 Tool antlr = newTool(new String[] {"-lib", tmpdir}); in testSameStringTwoNames() 337 Tool antlr = newTool(new String[] {"-lib", tmpdir}); in testSameNameTwoStrings() 385 Tool antlr = newTool(new String[] {"-lib", tmpdir}); in testImportedTokenVocabIgnoredWithWarning() 427 Tool antlr = newTool(new String[] {"-lib", tmpdir}); in testImportedTokenVocabWorksInRoot() 462 Tool antlr = newTool(new String[] {"-lib", tmpdir}); in testSyntaxErrorsInImportsNotThrownOut() 488 Tool antlr = newTool(new String[] {"-lib", tmpdir}); in testSyntaxErrorsInImportsNotThrownOut2() 619 Tool antlr = newTool(new String[] {"-lib", tmpdir}); in testLexerDelegatorRuleOverridesDelegateLeavingNoRules() 659 Tool antlr = newTool(new String[] {"-lib", tmpdir}); in testInvalidImportMechanism() [all …]
|
D | TestRewriteTemplates.java | 250 Tool antlr = newTool(); in testRewriteRuleAndRewriteModeOnSimpleElements() 272 Tool antlr = newTool(); in testRewriteRuleAndRewriteModeIgnoreActionsPredicates() 291 Tool antlr = newTool(); in testRewriteRuleAndRewriteModeNotSimple() 311 Tool antlr = newTool(); in testRewriteRuleAndRewriteModeRefRule()
|
D | TestRewriteAST.java | 875 Tool antlr = newTool(); in testWeirdRuleRef() 1170 Tool antlr = newTool(); in testUnknownRule() 1199 Tool antlr = newTool(); in testKnownRuleButNotInLHS() 1227 Tool antlr = newTool(); in testUnknownToken() 1255 Tool antlr = newTool(); in testUnknownLabel() 1283 Tool antlr = newTool(); in testUnknownCharLiteralToken() 1311 Tool antlr = newTool(); in testUnknownStringLiteralToken()
|
D | TestMessages.java | 61 Tool antlr = newTool(); in testMessageStringificationIsConsistent()
|
D | TestSemanticPredicates.java | 258 CodeGenerator generator = new CodeGenerator(newTool(), g, "Java"); in testLeftRecursivePred() 367 CodeGenerator generator = new CodeGenerator(newTool(), g, "Java"); in testPredsUsedAfterRecursionOverflow() 401 CodeGenerator generator = new CodeGenerator(newTool(), g, "Java"); in testPredsUsedAfterK2FailsNoRecursionOverflow() 803 CodeGenerator generator = new CodeGenerator(newTool(), g, "Java"); in checkDecision()
|
D | TestSymbolDefinitions.java | 228 Tool antlr = newTool(); in testRefToRuleWithNoReturnValue() 728 Tool antlr = newTool(); in testBadGrammarOption() 787 Tool antlr = newTool(new String[] {"-lib", tmpdir}); in testTokenVocabStringUsedInLexer() 819 Tool antlr = newTool(new String[] {"-lib", tmpdir}); in testTokenVocabStringUsedInCombined()
|
D | TestLexer.java | 244 Tool antlr = newTool(); in testNewlineLiterals()
|
D | BaseTest.java | 113 protected Tool newTool(String[] args) { in newTool() method in BaseTest 119 protected Tool newTool() { in newTool() method in BaseTest 184 Tool antlr = newTool(optionsA); in antlr()
|
D | TestTreeGrammarRewriteAST.java | 243 Tool antlr = newTool(); in testNoWildcardAsRootError()
|
D | TestDFAConversion.java | 758 Tool antlr = newTool(); in testNoStartRule() 1632 CodeGenerator generator = new CodeGenerator(newTool(), g, "Java"); in checkDecision()
|