/external/antlr/tool/src/test/java/org/antlr/test/ |
D | TestSymbolDefinitions.java | 248 int expectedMsgID = ErrorManager.MSG_LITERAL_NOT_ASSOCIATED_WITH_LEXER_RULE; in testParserStringLiterals() local 250 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg); in testParserStringLiterals() 262 int expectedMsgID = ErrorManager.MSG_LITERAL_NOT_ASSOCIATED_WITH_LEXER_RULE; in testParserCharLiterals() local 264 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg); in testParserCharLiterals() 276 int expectedMsgID = ErrorManager.MSG_EMPTY_COMPLEMENT; in testEmptyNotChar() local 278 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg); in testEmptyNotChar() 290 int expectedMsgID = ErrorManager.MSG_EMPTY_COMPLEMENT; in testEmptyNotToken() local 292 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg); in testEmptyNotToken() 304 int expectedMsgID = ErrorManager.MSG_EMPTY_COMPLEMENT; in testEmptyNotSet() local 306 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg); in testEmptyNotSet() [all …]
|
D | TestAttributes.java | 438 int expectedMsgID = ErrorManager.MSG_UNKNOWN_SIMPLE_ATTRIBUTE; in testInvalidArguments() local 441 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg); in testInvalidArguments() 605 int expectedMsgID = ErrorManager.MSG_UNKNOWN_SIMPLE_ATTRIBUTE; in testInvalidReturnValues() local 608 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg); in testInvalidReturnValues() 753 int expectedMsgID = ErrorManager.MSG_INVALID_RULE_PARAMETER_REF; in testInvalidRuleLabelAccessesParameter() local 757 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg, expectedArg2); in testInvalidRuleLabelAccessesParameter() 782 int expectedMsgID = ErrorManager.MSG_INVALID_RULE_SCOPE_ATTRIBUTE_REF; in testInvalidRuleLabelAccessesScopeAttribute() local 786 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg, expectedArg2); in testInvalidRuleLabelAccessesScopeAttribute() 810 int expectedMsgID = ErrorManager.MSG_UNKNOWN_RULE_ATTRIBUTE; in testInvalidRuleAttribute() local 814 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg, expectedArg2); in testInvalidRuleAttribute() [all …]
|
D | TestRewriteAST.java | 1176 int expectedMsgID = ErrorManager.MSG_UNDEFINED_RULE_REF; in testUnknownRule() local 1180 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg, expectedArg2); in testUnknownRule() 1205 int expectedMsgID = ErrorManager.MSG_REWRITE_ELEMENT_NOT_PRESENT_ON_LHS; in testKnownRuleButNotInLHS() local 1209 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg, expectedArg2); in testKnownRuleButNotInLHS() 1233 int expectedMsgID = ErrorManager.MSG_UNDEFINED_TOKEN_REF_IN_REWRITE; in testUnknownToken() local 1237 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg, expectedArg2); in testUnknownToken() 1261 int expectedMsgID = ErrorManager.MSG_UNDEFINED_LABEL_REF_IN_REWRITE; in testUnknownLabel() local 1265 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg, expectedArg2); in testUnknownLabel() 1289 int expectedMsgID = ErrorManager.MSG_UNDEFINED_TOKEN_REF_IN_REWRITE; in testUnknownCharLiteralToken() local 1293 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg, expectedArg2); in testUnknownCharLiteralToken() [all …]
|
D | TestMessages.java | 71 int expectedMsgID = ErrorManager.MSG_WRITE_TO_READONLY_ATTR; in testMessageStringificationIsConsistent() local 75 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg, expectedArg2); in testMessageStringificationIsConsistent()
|
D | TestTemplates.java | 312 int expectedMsgID = ErrorManager.MSG_INVALID_TEMPLATE_ACTION; in testCannotHaveSpaceBeforeDot() local 315 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg); in testCannotHaveSpaceBeforeDot() 340 int expectedMsgID = ErrorManager.MSG_INVALID_TEMPLATE_ACTION; in testCannotHaveSpaceAfterDot() local 343 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg); in testCannotHaveSpaceAfterDot()
|
D | TestCompositeGrammars.java | 303 int expectedMsgID = ErrorManager.MSG_TOKEN_ALIAS_CONFLICT; in testSameStringTwoNames() local 305 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg, expectedArg2); in testSameStringTwoNames() 356 int expectedMsgID = ErrorManager.MSG_TOKEN_ALIAS_REASSIGNMENT; in testSameNameTwoStrings() local 358 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg, expectedArg2); in testSameNameTwoStrings() 393 int expectedMsgID = ErrorManager.MSG_TOKEN_VOCAB_IN_DELEGATE; in testImportedTokenVocabIgnoredWithWarning() local 395 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg); in testImportedTokenVocabIgnoredWithWarning()
|
D | TestTreeGrammarRewriteAST.java | 251 int expectedMsgID = ErrorManager.MSG_WILDCARD_AS_ROOT; in testNoWildcardAsRootError() local 255 new GrammarSyntaxMessage(expectedMsgID, g, null, expectedArg, expectedExc); in testNoWildcardAsRootError()
|