// Generated by tools/grammar-frontend/generate-tool-syntax-errors-fixtures.mjs.
// Inputs and diagnostics come only from Java ANTLR 4.13.2.

meta_case!(
    testtoolsyntaxerrors_allerrorcodesdistinct_406ce4161c,
    "testtoolsyntaxerrors-allerrorcodesdistinct-406ce4161c",
    [
        java_error(94, "ACTION_REDEFINITION"),
        java_error(118, "ALL_OPS_NEED_SAME_ASSOC"),
        java_error(124, "ALT_LABEL_CONFLICTS_WITH_RULE"),
        java_error(123, "ALT_LABEL_REDEF"),
        java_error(138, "ARG_CONFLICTS_WITH_RULE"),
        java_error(139, "ARG_CONFLICTS_WITH_TOKEN"),
        java_error(135, "ASSIGNMENT_TO_LIST_LABEL"),
        java_error(128, "ATTRIBUTE_IN_LEXER_ACTION"),
        java_error(9, "BAD_OPTION_SET_SYNTAX"),
        java_error(31, "CANNOT_CREATE_TARGET_GENERATOR"),
        java_error(121, "CANNOT_FIND_ATTRIBUTE_NAME_IN_DECL"),
        java_error(110, "CANNOT_FIND_IMPORTED_GRAMMAR"),
        java_error(3, "CANNOT_FIND_TOKENS_FILE_GIVEN_ON_CMDLINE"),
        java_error(114, "CANNOT_FIND_TOKENS_FILE_REFD_IN_GRAMMAR"),
        java_error(7, "CANNOT_OPEN_FILE"),
        java_error(1, "CANNOT_WRITE_FILE"),
        java_error(172, "CHANNEL_CONFLICTS_WITH_COMMON_CONSTANTS"),
        java_error(162, "CHANNEL_CONFLICTS_WITH_MODE"),
        java_error(161, "CHANNEL_CONFLICTS_WITH_TOKEN"),
        java_error(164, "CHANNELS_BLOCK_IN_COMBINED_GRAMMAR"),
        java_error(163, "CHANNELS_BLOCK_IN_PARSER_GRAMMAR"),
        java_error(180, "CHARACTERS_COLLISION_IN_SET"),
        java_error(33, "CODE_GEN_TEMPLATES_INCOMPLETE"),
        java_error(32, "CODE_TEMPLATE_ARG_ISSUE"),
        java_error(177, "CONSTANT_VALUE_IS_NOT_A_RECOGNIZED_CHANNEL_NAME"),
        java_error(176, "CONSTANT_VALUE_IS_NOT_A_RECOGNIZED_MODE_NAME"),
        java_error(175, "CONSTANT_VALUE_IS_NOT_A_RECOGNIZED_TOKEN_NAME"),
        java_error(5, "DIR_NOT_FOUND"),
        java_error(178, "DUPLICATED_COMMAND"),
        java_error(174, "EMPTY_STRINGS_AND_SETS_NOT_ALLOWED"),
        java_error(186, "EOF_CLOSURE"),
        java_error(153, "EPSILON_CLOSURE"),
        java_error(148, "EPSILON_LR_FOLLOW"),
        java_error(154, "EPSILON_OPTIONAL"),
        java_error(146, "EPSILON_TOKEN"),
        java_error(11, "ERROR_READING_IMPORTED_GRAMMAR"),
        java_error(4, "ERROR_READING_TOKENS_FILE"),
        java_error(131, "EXPECTED_NON_GREEDY_WILDCARD_BLOCK"),
        java_error(8, "FILE_AND_GRAMMAR_NAME_DIFFER"),
        java_error(158, "FRAGMENT_ACTION_IGNORED"),
        java_error(83, "ILLEGAL_OPTION"),
        java_error(84, "ILLEGAL_OPTION_VALUE"),
        java_error(126, "IMPLICIT_STRING_DEFINITION"),
        java_error(125, "IMPLICIT_TOKEN_DEFINITION"),
        java_error(113, "IMPORT_NAME_CLASH"),
        java_error(179, "INCOMPATIBLE_COMMANDS"),
        java_error(35, "INCOMPATIBLE_TOOL_AND_TEMPLATES"),
        java_error(20, "INTERNAL_ERROR"),
        java_error(2, "INVALID_CMDLINE_ARG"),
        java_error(156, "INVALID_ESCAPE_SEQUENCE"),
        java_error(111, "INVALID_IMPORT"),
        java_error(149, "INVALID_LEXER_COMMAND"),
        java_error(144, "INVALID_LITERAL_IN_LEXER_SET"),
        java_error(64, "INVALID_RULE_PARAMETER_REF"),
        java_error(67, "ISOLATED_RULE_REF"),
        java_error(130, "LABEL_BLOCK_NOT_A_SET"),
        java_error(72, "LABEL_CONFLICTS_WITH_ARG"),
        java_error(74, "LABEL_CONFLICTS_WITH_LOCAL"),
        java_error(73, "LABEL_CONFLICTS_WITH_RETVAL"),
        java_error(69, "LABEL_CONFLICTS_WITH_RULE"),
        java_error(70, "LABEL_CONFLICTS_WITH_TOKEN"),
        java_error(75, "LABEL_TYPE_CONFLICT"),
        java_error(119, "LEFT_RECURSION_CYCLES"),
        java_error(132, "LEXER_ACTION_PLACEMENT_ISSUE"),
        java_error(133, "LEXER_COMMAND_PLACEMENT_ISSUE"),
        java_error(52, "LEXER_RULES_NOT_ALLOWED"),
        java_error(142, "LOCAL_CONFLICTS_WITH_ARG"),
        java_error(143, "LOCAL_CONFLICTS_WITH_RETVAL"),
        java_error(140, "LOCAL_CONFLICTS_WITH_RULE"),
        java_error(141, "LOCAL_CONFLICTS_WITH_TOKEN"),
        java_error(30, "MISSING_CODE_GEN_TEMPLATES"),
        java_error(150, "MISSING_LEXER_COMMAND_ARGUMENT"),
        java_error(79, "MISSING_RULE_ARGS"),
        java_error(173, "MODE_CONFLICTS_WITH_COMMON_CONSTANTS"),
        java_error(170, "MODE_CONFLICTS_WITH_TOKEN"),
        java_error(120, "MODE_NOT_IN_LEXER"),
        java_error(145, "MODE_WITHOUT_RULES"),
        java_error(34, "NO_MODEL_TO_TEMPLATE_MAPPING"),
        java_error(147, "NO_NON_LR_ALTS"),
        java_error(99, "NO_RULES"),
        java_error(105, "NO_SUCH_GRAMMAR_SCOPE"),
        java_error(106, "NO_SUCH_RULE_IN_SCOPE"),
        java_error(169, "NONCONFORMING_LR_RULE"),
        java_error(109, "OPTIONS_IN_DELEGATE"),
        java_error(6, "OUTPUT_DIR_IS_FILE"),
        java_error(160, "PARSER_RULE_REF_IN_LEXER_RULE"),
        java_error(53, "PARSER_RULES_NOT_ALLOWED"),
        java_error(185, "RANGE_PROBABLY_CONTAINS_NOT_IMPLIED_CHARACTERS"),
        java_error(187, "REDUNDANT_CASE_INSENSITIVE_LEXER_RULE_OPTION"),
        java_error(54, "REPEATED_PREQUEL"),
        java_error(159, "RESERVED_RULE_NAME"),
        java_error(76, "RETVAL_CONFLICTS_WITH_ARG"),
        java_error(136, "RETVAL_CONFLICTS_WITH_RULE"),
        java_error(137, "RETVAL_CONFLICTS_WITH_TOKEN"),
        java_error(80, "RULE_HAS_NO_ARGS"),
        java_error(51, "RULE_REDEFINITION"),
        java_error(122, "RULE_WITH_TOO_FEW_ALT_LABELS"),
        java_error(22, "STRING_TEMPLATE_WARNING"),
        java_error(50, "SYNTAX_ERROR"),
        java_error(171, "TOKEN_CONFLICTS_WITH_COMMON_CONSTANTS"),
        java_error(108, "TOKEN_NAME_REASSIGNMENT"),
        java_error(60, "TOKEN_NAMES_MUST_START_UPPER"),
        java_error(181, "TOKEN_RANGE_IN_PARSER"),
        java_error(184, "TOKEN_UNREACHABLE"),
        java_error(21, "TOKENS_FILE_SYNTAX_ERROR"),
        java_error(57, "UNDEFINED_RULE_IN_NONLOCAL_REF"),
        java_error(56, "UNDEFINED_RULE_REF"),
        java_error(182, "UNICODE_PROPERTY_NOT_ALLOWED_IN_RANGE"),
        java_error(66, "UNKNOWN_ATTRIBUTE_IN_SCOPE"),
        java_error(155, "UNKNOWN_LEXER_CONSTANT"),
        java_error(65, "UNKNOWN_RULE_ATTRIBUTE"),
        java_error(63, "UNKNOWN_SIMPLE_ATTRIBUTE"),
        java_error(157, "UNRECOGNIZED_ASSOC_OPTION"),
        java_error(183, "UNSUPPORTED_REFERENCE_IN_LEXER_SET"),
        java_error(152, "UNTERMINATED_STRING_LITERAL"),
        java_error(151, "UNWANTED_LEXER_COMMAND_ARGUMENT"),
        java_error(134, "USE_OF_BAD_WORD"),
        java_error(203, "V3_ASSIGN_IN_TOKENS"),
        java_error(204, "V3_GATED_SEMPRED"),
        java_error(201, "V3_LEXER_LABEL"),
        java_error(205, "V3_SYNPRED"),
        java_error(202, "V3_TOKENS_SYNTAX"),
        java_error(200, "V3_TREE_GRAMMAR"),
        java_error(10, "WARNING_TREATED_AS_ERROR"),
    ]
);
case!(
    testtoolsyntaxerrors_testactionatendofonelexeralternative_d379ccb541,
    "testtoolsyntaxerrors-testactionatendofonelexeralternative-d379ccb541",
    "A.g4",
    Combined,
    false,
    [
    ]
);
case!(
    testtoolsyntaxerrors_testchanneldefinitionincombined_c0331a41a6,
    "testtoolsyntaxerrors-testchanneldefinitionincombined-c0331a41a6",
    "T.g4",
    Combined,
    true,
    [
        at(177, Error, 10, 35),
        at(177, Error, 11, 35),
        at(164, Error, 3, 0),
    ]
);
case!(
    testtoolsyntaxerrors_testchanneldefinitioninlexer_564d21ff6d,
    "testtoolsyntaxerrors-testchanneldefinitioninlexer-564d21ff6d",
    "T.g4",
    Lexer,
    false,
    [
    ]
);
case!(
    testtoolsyntaxerrors_testchanneldefinitioninparser_4e1163cf33,
    "testtoolsyntaxerrors-testchanneldefinitioninparser-4e1163cf33",
    "T.g4",
    Parser,
    true,
    [
        at(163, Error, 3, 0),
    ]
);
case!(
    testtoolsyntaxerrors_testchanneldefinitions_096eb07b69,
    "testtoolsyntaxerrors-testchanneldefinitions-096eb07b69",
    "T.g4",
    Lexer,
    true,
    [
        at(177, Error, 10, 34),
    ]
);
case!(
    testtoolsyntaxerrors_testdoublequotedstringliteral_188f16bab7,
    "testtoolsyntaxerrors-testdoublequotedstringliteral-188f16bab7",
    "A.g4",
    Lexer,
    true,
    [
        at(50, Error, 2, 14),
        at(50, Error, 2, 16),
        at(50, Error, 2, 20),
        at(50, Error, 2, 21),
        at(50, Error, 2, 23),
        at(50, Error, 2, 27),
        at(50, Error, 2, 28),
        at(50, Error, 2, 30),
        at(50, Error, 2, 34),
        at(50, Error, 2, 35),
        at(50, Error, 2, 37),
        at(50, Error, 2, 41),
        at(50, Error, 2, 42),
        at(50, Error, 2, 44),
    ]
);
case!(
    testtoolsyntaxerrors_testdoublequoteintwostringliterals_ffb6aa0def,
    "testtoolsyntaxerrors-testdoublequoteintwostringliterals-ffb6aa0def",
    "A.g4",
    Lexer,
    true,
    [
        at(156, Error, 2, 10),
        at(156, Error, 2, 15),
    ]
);
case!(
    testtoolsyntaxerrors_testeofclosure_b763b175f6,
    "testtoolsyntaxerrors-testeofclosure-b763b175f6",
    "EofClosure.g4",
    Lexer,
    true,
    [
        at(186, Error, 2, 0),
    ]
);
case!(
    testtoolsyntaxerrors_testepsilonclosureanalysis_fbecc8c0c7,
    "testtoolsyntaxerrors-testepsilonclosureanalysis-fbecc8c0c7",
    "A.g4",
    Combined,
    true,
    [
        at(153, Error, 3, 0),
        at(153, Error, 4, 0),
        at(153, Error, 5, 0),
    ]
);
case!(
    testtoolsyntaxerrors_testepsilonclosureinlexer_e76e483430,
    "testtoolsyntaxerrors-testepsilonclosureinlexer-e76e483430",
    "T.g4",
    Lexer,
    true,
    [
        at(153, Error, 3, 9),
    ]
);
case!(
    testtoolsyntaxerrors_testepsilonnestedclosureanalysis_6379007236,
    "testtoolsyntaxerrors-testepsilonnestedclosureanalysis-6379007236",
    "T.g4",
    Combined,
    true,
    [
        at(153, Error, 2, 0),
    ]
);
case!(
    testtoolsyntaxerrors_testepsilonoptionalanalysis_453cbb848f,
    "testtoolsyntaxerrors-testepsilonoptionalanalysis-453cbb848f",
    "A.g4",
    Combined,
    false,
    [
        at(154, Warning, 3, 0),
        at(154, Warning, 4, 0),
    ]
);
case!(
    testtoolsyntaxerrors_testepsilonoptionalandclosureanalysis_b73d1d68ad,
    "testtoolsyntaxerrors-testepsilonoptionalandclosureanalysis-b73d1d68ad",
    "T.g4",
    Combined,
    false,
    [
        at(154, Warning, 2, 0),
    ]
);
case!(
    testtoolsyntaxerrors_testfragmentactionignored_2154f94584,
    "testtoolsyntaxerrors-testfragmentactionignored-2154f94584",
    "A.g4",
    Lexer,
    false,
    [
        at(158, Warning, 7, 12),
        at(158, Warning, 10, 9),
    ]
);
case!(
    testtoolsyntaxerrors_testinvalidcharsetsandstringliterals_e5f43238b4,
    "testtoolsyntaxerrors-testinvalidcharsetsandstringliterals-e5f43238b4",
    "Test.g4",
    Lexer,
    true,
    [
        at(144, Error, 2, 30),
        at(144, Error, 2, 36),
        at(156, Error, 3, 30),
        at(156, Error, 3, 40),
        at(174, Error, 4, 33),
        at(174, Error, 5, 30),
        at(174, Error, 5, 36),
        at(156, Error, 10, 84),
    ]
);
case!(
    testtoolsyntaxerrors_testinvalidescapesequences_aa140e5e05,
    "testtoolsyntaxerrors-testinvalidescapesequences-aa140e5e05",
    "A.g4",
    Lexer,
    true,
    [
        at(156, Error, 2, 12),
        at(156, Error, 2, 19),
        at(156, Error, 2, 22),
    ]
);
case!(
    testtoolsyntaxerrors_testinvalidlanguageingrammar_4e78a7faa1,
    "testtoolsyntaxerrors-testinvalidlanguageingrammar-4e78a7faa1",
    "T.g4",
    Combined,
    true,
    [
        unlocated(31, Error),
    ]
);
case!(
    testtoolsyntaxerrors_testinvalidlanguageingrammarwithlexercommand_606074f05f,
    "testtoolsyntaxerrors-testinvalidlanguageingrammarwithlexercommand-606074f05f",
    "T.g4",
    Combined,
    true,
    [
        unlocated(31, Error),
    ]
);
case!(
    testtoolsyntaxerrors_testinvalidlexercommand_c4a9acba3b,
    "testtoolsyntaxerrors-testinvalidlexercommand-c4a9acba3b",
    "A.g4",
    Combined,
    true,
    [
        at(149, Error, 4, 14),
        at(149, Error, 5, 14),
    ]
);
case!(
    testtoolsyntaxerrors_testinvalidunicodeescapesincharset_76b56aa346,
    "testtoolsyntaxerrors-testinvalidunicodeescapesincharset-76b56aa346",
    "Test.g4",
    Lexer,
    true,
    [
        at(156, Error, 2, 32),
        at(156, Error, 3, 41),
        at(156, Error, 4, 35),
        at(156, Error, 5, 32),
        at(156, Error, 6, 41),
        at(156, Error, 7, 41),
        at(156, Error, 8, 34),
        at(156, Error, 9, 43),
        at(182, Error, 10, 39),
        at(182, Error, 11, 41),
        at(182, Error, 12, 41),
        at(182, Error, 13, 48),
        at(156, Error, 14, 16),
    ]
);
case!(
    testtoolsyntaxerrors_testlexercommandargumentvalidation_10edd51813,
    "testtoolsyntaxerrors-testlexercommandargumentvalidation-10edd51813",
    "A.g4",
    Combined,
    true,
    [
        at(151, Error, 4, 14),
        at(150, Error, 5, 14),
    ]
);
case!(
    testtoolsyntaxerrors_testlexerrulelabel_fb947cd637,
    "testtoolsyntaxerrors-testlexerrulelabel-fb947cd637",
    "T.g4",
    Combined,
    true,
    [
        at(50, Error, 3, 5),
    ]
);
case!(
    testtoolsyntaxerrors_testmodeinparser_287a67d82e,
    "testtoolsyntaxerrors-testmodeinparser-287a67d82e",
    "A.g4",
    Combined,
    true,
    [
        at(50, Error, 4, 0),
        at(50, Error, 4, 6),
    ]
);
case!(
    testtoolsyntaxerrors_testnotallowedemptystrings_3bf75c4497,
    "testtoolsyntaxerrors-testnotallowedemptystrings-3bf75c4497",
    "T.g4",
    Lexer,
    true,
    [
        at(174, Error, 2, 8),
        at(174, Error, 2, 16),
        at(174, Error, 3, 8),
        at(174, Error, 4, 15),
        at(174, Error, 5, 8),
    ]
);
case!(
    testtoolsyntaxerrors_testrangeinparsergrammar_873f937daf,
    "testtoolsyntaxerrors-testrangeinparsergrammar-873f937daf",
    "T.g4",
    Combined,
    true,
    [
        at(181, Error, 2, 4),
    ]
);
case!(
    testtoolsyntaxerrors_testrulenamesastree_c9ed98e9ca,
    "testtoolsyntaxerrors-testrulenamesastree-c9ed98e9ca",
    "T.g4",
    Combined,
    false,
    [
    ]
);
case!(
    testtoolsyntaxerrors_testruleredefinition_9db9b586df,
    "testtoolsyntaxerrors-testruleredefinition-9db9b586df",
    "Oops.g4",
    Combined,
    true,
    [
        at(51, Error, 4, 0),
    ]
);
case!(
    testtoolsyntaxerrors_testtokennamedeof_3441ea12ab,
    "testtoolsyntaxerrors-testtokennamedeof-3441ea12ab",
    "A.g4",
    Lexer,
    true,
    [
        at(159, Error, 3, 1),
    ]
);
case!(
    testtoolsyntaxerrors_testunrecognizedassocoption_5eb7b9d825,
    "testtoolsyntaxerrors-testunrecognizedassocoption-5eb7b9d825",
    "A.g4",
    Combined,
    false,
    [
        at(157, Warning, 3, 10),
    ]
);
case!(
    testtoolsyntaxerrors_testvalidescapesequences_054ea15742,
    "testtoolsyntaxerrors-testvalidescapesequences-054ea15742",
    "A.g4",
    Lexer,
    false,
    [
    ]
);
