/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/ |
D | TestSymbolDefinitions.java | 246 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 …]
|
D | TestAttributes.java | 436 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 …]
|
D | TestRewriteAST.java | 1177 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 …]
|
D | TestMessages.java | 69 int expectedMsgID = ErrorManager.MSG_WRITE_TO_READONLY_ATTR; in testMessageStringificationIsConsistent() local 73 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg, expectedArg2); in testMessageStringificationIsConsistent()
|
D | TestTemplates.java | 310 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()
|
D | TestCompositeGrammars.java | 301 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()
|
D | TestTreeGrammarRewriteAST.java | 250 int expectedMsgID = ErrorManager.MSG_WILDCARD_AS_ROOT; in testNoWildcardAsRootError() local 254 new GrammarSyntaxMessage(expectedMsgID, g, null, expectedArg, expectedExc); in testNoWildcardAsRootError()
|