Home
last modified time | relevance | path

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

/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
DTestSymbolDefinitions.java246 int expectedMsgID = ErrorManager.MSG_LITERAL_NOT_ASSOCIATED_WITH_LEXER_RULE; in testParserStringLiterals() local
248 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg); in testParserStringLiterals()
260 int expectedMsgID = ErrorManager.MSG_LITERAL_NOT_ASSOCIATED_WITH_LEXER_RULE; in testParserCharLiterals() local
262 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg); in testParserCharLiterals()
274 int expectedMsgID = ErrorManager.MSG_EMPTY_COMPLEMENT; in testEmptyNotChar() local
276 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg); in testEmptyNotChar()
288 int expectedMsgID = ErrorManager.MSG_EMPTY_COMPLEMENT; in testEmptyNotToken() local
290 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg); in testEmptyNotToken()
302 int expectedMsgID = ErrorManager.MSG_EMPTY_COMPLEMENT; in testEmptyNotSet() local
304 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg); in testEmptyNotSet()
[all …]
DTestAttributes.java436 int expectedMsgID = ErrorManager.MSG_UNKNOWN_SIMPLE_ATTRIBUTE; in testInvalidArguments() local
439 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg); in testInvalidArguments()
603 int expectedMsgID = ErrorManager.MSG_UNKNOWN_SIMPLE_ATTRIBUTE; in testInvalidReturnValues() local
606 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg); in testInvalidReturnValues()
751 int expectedMsgID = ErrorManager.MSG_INVALID_RULE_PARAMETER_REF; in testInvalidRuleLabelAccessesParameter() local
755 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg, expectedArg2); in testInvalidRuleLabelAccessesParameter()
780 int expectedMsgID = ErrorManager.MSG_INVALID_RULE_SCOPE_ATTRIBUTE_REF; in testInvalidRuleLabelAccessesScopeAttribute() local
784 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg, expectedArg2); in testInvalidRuleLabelAccessesScopeAttribute()
808 int expectedMsgID = ErrorManager.MSG_UNKNOWN_RULE_ATTRIBUTE; in testInvalidRuleAttribute() local
812 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg, expectedArg2); in testInvalidRuleAttribute()
[all …]
DTestRewriteAST.java1177 int expectedMsgID = ErrorManager.MSG_UNDEFINED_RULE_REF; in testUnknownRule() local
1181 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg, expectedArg2); in testUnknownRule()
1206 int expectedMsgID = ErrorManager.MSG_REWRITE_ELEMENT_NOT_PRESENT_ON_LHS; in testKnownRuleButNotInLHS() local
1210 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg, expectedArg2); in testKnownRuleButNotInLHS()
1234 int expectedMsgID = ErrorManager.MSG_UNDEFINED_TOKEN_REF_IN_REWRITE; in testUnknownToken() local
1238 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg, expectedArg2); in testUnknownToken()
1262 int expectedMsgID = ErrorManager.MSG_UNDEFINED_LABEL_REF_IN_REWRITE; in testUnknownLabel() local
1266 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg, expectedArg2); in testUnknownLabel()
1290 int expectedMsgID = ErrorManager.MSG_UNDEFINED_TOKEN_REF_IN_REWRITE; in testUnknownCharLiteralToken() local
1294 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg, expectedArg2); in testUnknownCharLiteralToken()
[all …]
DTestMessages.java69 int expectedMsgID = ErrorManager.MSG_WRITE_TO_READONLY_ATTR; in testMessageStringificationIsConsistent() local
73 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg, expectedArg2); in testMessageStringificationIsConsistent()
DTestTemplates.java310 int expectedMsgID = ErrorManager.MSG_INVALID_TEMPLATE_ACTION; in testCannotHaveSpaceBeforeDot() local
313 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg); in testCannotHaveSpaceBeforeDot()
338 int expectedMsgID = ErrorManager.MSG_INVALID_TEMPLATE_ACTION; in testCannotHaveSpaceAfterDot() local
341 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg); in testCannotHaveSpaceAfterDot()
DTestCompositeGrammars.java301 int expectedMsgID = ErrorManager.MSG_TOKEN_ALIAS_CONFLICT; in testSameStringTwoNames() local
303 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg, expectedArg2); in testSameStringTwoNames()
354 int expectedMsgID = ErrorManager.MSG_TOKEN_ALIAS_REASSIGNMENT; in testSameNameTwoStrings() local
356 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg, expectedArg2); in testSameNameTwoStrings()
391 int expectedMsgID = ErrorManager.MSG_TOKEN_VOCAB_IN_DELEGATE; in testImportedTokenVocabIgnoredWithWarning() local
393 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg); in testImportedTokenVocabIgnoredWithWarning()
DTestTreeGrammarRewriteAST.java250 int expectedMsgID = ErrorManager.MSG_WILDCARD_AS_ROOT; in testNoWildcardAsRootError() local
254 new GrammarSyntaxMessage(expectedMsgID, g, null, expectedArg, expectedExc); in testNoWildcardAsRootError()