/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/ |
D | TestSymbolDefinitions.java | 245 Object expectedArg = "'begin'"; in testParserStringLiterals() local 248 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg); in testParserStringLiterals() 259 Object expectedArg = "'('"; in testParserCharLiterals() local 262 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg); in testParserCharLiterals() 273 Object expectedArg = "'x'"; in testEmptyNotChar() local 276 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg); in testEmptyNotChar() 287 Object expectedArg = "A"; in testEmptyNotToken() local 290 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg); in testEmptyNotToken() 301 Object expectedArg = null; in testEmptyNotSet() local 304 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg); in testEmptyNotSet() [all …]
|
D | TestAttributes.java | 437 Object expectedArg = "x"; in testInvalidArguments() local 439 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg); in testInvalidArguments() 604 Object expectedArg = "x"; in testInvalidReturnValues() local 606 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg); in testInvalidReturnValues() 752 Object expectedArg = "a"; in testInvalidRuleLabelAccessesParameter() local 755 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg, expectedArg2); in testInvalidRuleLabelAccessesParameter() 781 Object expectedArg = "a"; in testInvalidRuleLabelAccessesScopeAttribute() local 784 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg, expectedArg2); in testInvalidRuleLabelAccessesScopeAttribute() 809 Object expectedArg = "a"; in testInvalidRuleAttribute() local 812 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg, expectedArg2); in testInvalidRuleAttribute() [all …]
|
D | TestRewriteAST.java | 1178 Object expectedArg = "ugh"; in testUnknownRule() local 1181 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg, expectedArg2); in testUnknownRule() 1207 Object expectedArg = "b"; in testKnownRuleButNotInLHS() local 1210 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg, expectedArg2); in testKnownRuleButNotInLHS() 1235 Object expectedArg = "ICK"; in testUnknownToken() local 1238 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg, expectedArg2); in testUnknownToken() 1263 Object expectedArg = "foo"; in testUnknownLabel() local 1266 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg, expectedArg2); in testUnknownLabel() 1291 Object expectedArg = "'a'"; in testUnknownCharLiteralToken() local 1294 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg, expectedArg2); in testUnknownCharLiteralToken() [all …]
|
D | TestMessages.java | 70 Object expectedArg = "other"; in testMessageStringificationIsConsistent() local 73 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg, expectedArg2); in testMessageStringificationIsConsistent()
|
D | TestTemplates.java | 311 Object expectedArg = "%x"; in testCannotHaveSpaceBeforeDot() local 313 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg); in testCannotHaveSpaceBeforeDot() 339 Object expectedArg = "%x."; in testCannotHaveSpaceAfterDot() local 341 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg); in testCannotHaveSpaceAfterDot()
|
D | TestCompositeGrammars.java | 299 Object expectedArg = "X='a'"; in testSameStringTwoNames() local 303 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg, expectedArg2); in testSameStringTwoNames() 352 Object expectedArg = "A='x'"; in testSameNameTwoStrings() local 356 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg, expectedArg2); in testSameNameTwoStrings() 390 Object expectedArg = "S"; in testImportedTokenVocabIgnoredWithWarning() local 393 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg); in testImportedTokenVocabIgnoredWithWarning()
|
D | TestTreeGrammarRewriteAST.java | 251 Object expectedArg = null; in testNoWildcardAsRootError() local 254 new GrammarSyntaxMessage(expectedMsgID, g, null, expectedArg, expectedExc); in testNoWildcardAsRootError()
|