Home
last modified time | relevance | path

Searched refs:expectedMsgID (Results 1 – 7 of 7) sorted by relevance

/external/antlr/tool/src/test/java/org/antlr/test/
DTestSymbolDefinitions.java248 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 …]
DTestAttributes.java438 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 …]
DTestRewriteAST.java1176 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 …]
DTestMessages.java71 int expectedMsgID = ErrorManager.MSG_WRITE_TO_READONLY_ATTR; in testMessageStringificationIsConsistent() local
75 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg, expectedArg2); in testMessageStringificationIsConsistent()
DTestTemplates.java312 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()
DTestCompositeGrammars.java303 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()
DTestTreeGrammarRewriteAST.java251 int expectedMsgID = ErrorManager.MSG_WILDCARD_AS_ROOT; in testNoWildcardAsRootError() local
255 new GrammarSyntaxMessage(expectedMsgID, g, null, expectedArg, expectedExc); in testNoWildcardAsRootError()