)]}' { "commit": "b3a5dfa66392cdffa1c9b227947b4e4fa03a8e10", "tree": "f570d442c3b64b89e6b7bf3d3fd057ec70b9c27c", "parents": [ "4c2111eb15d9f3d74916f105fa409598d5b8edfb" ], "author": { "name": "Johnni Winther", "email": "johnniwinther@google.com", "time": "Tue Dec 28 11:28:18 2021 +0000" }, "committer": { "name": "Commit Bot", "email": "commit-bot@chromium.org", "time": "Tue Dec 28 11:28:18 2021 +0000" }, "message": "[cfe] Add MacroAnnotationParser to support early recognition\n\nThis CL adds a parser listener that supports (the initial) part of\nthe syntax needed to support detection of macro application early in\nthe pipeline. The listener is deliberately implementing (as opposed to\nextending) the listener interface to ensure that all case handled in\nthe listener itself. The listener keeps track of whether unsupported\nconstructs have been seen to ensure that only valid syntax results\nin a macro application.\n\nChange-Id: I6742a0daa39c80f09759b41b9abdd7e693da4cc0\nReviewed-on: https://dart-review.googlesource.com/c/sdk/+/225723\nReviewed-by: Chloe Stefantsova \u003ccstefantsova@google.com\u003e\nCommit-Queue: Johnni Winther \u003cjohnniwinther@google.com\u003e\n", "tree_diff": [ { "type": "modify", "old_id": "9a1166d253274584edf03230e5a9f30ccb64c517", "old_mode": 33188, "old_path": "pkg/front_end/lib/src/fasta/kernel/kernel_target.dart", "new_id": "4cf5f7e5c178d8c3e129b407065ab5785a7ab9a1", "new_mode": 33188, "new_path": "pkg/front_end/lib/src/fasta/kernel/kernel_target.dart" }, { "type": "modify", "old_id": "dd6dfb1612a633ecd3bba18b28930222b0ee53ee", "old_mode": 33188, "old_path": "pkg/front_end/lib/src/fasta/kernel/macro.dart", "new_id": "65a8279869d82234a0af7bbb696632c7921687f5", "new_mode": 33188, "new_path": "pkg/front_end/lib/src/fasta/kernel/macro.dart" }, { "type": "add", "old_id": "0000000000000000000000000000000000000000", "old_mode": 0, "old_path": "/dev/null", "new_id": "118e001ad52c4972933c757bb62d46566506433c", "new_mode": 33188, "new_path": "pkg/front_end/lib/src/fasta/kernel/macro_annotation_parser.dart" }, { "type": "modify", "old_id": "47cb5bdc0b98ba069b1e9f8f3a650fea15223c1f", "old_mode": 33188, "old_path": "pkg/front_end/lib/src/fasta/source/source_loader.dart", "new_id": "6c12705425d096484ff9d7ffe4ca7ee078db1f9a", "new_mode": 33188, "new_path": "pkg/front_end/lib/src/fasta/source/source_loader.dart" }, { "type": "modify", "old_id": "d7bf92d53fcb39abb2d172acf0d1b2ab1a96460f", "old_mode": 33188, "old_path": "pkg/front_end/test/macros/data/pkgs/macro/lib/macro.dart", "new_id": "c7fc7d5589efdb6c04496f26688e2329b1fccca3", "new_mode": 33188, "new_path": "pkg/front_end/test/macros/data/pkgs/macro/lib/macro.dart" }, { "type": "add", "old_id": "0000000000000000000000000000000000000000", "old_mode": 0, "old_path": "/dev/null", "new_id": "804253cf9951f07370b9e2d9d649efa309f5a5eb", "new_mode": 33188, "new_path": "pkg/front_end/test/macros/data/tests/applications.dart" }, { "type": "modify", "old_id": "f4e64846340d1943300f7fb5c15fc8f2550a4c45", "old_mode": 33188, "old_path": "pkg/front_end/test/macros/data/tests/declare_vs_apply/apply_lib.dart", "new_id": "fc6ae56b39d6ba2faa195e88b325d3aa22623158", "new_mode": 33188, "new_path": "pkg/front_end/test/macros/data/tests/declare_vs_apply/apply_lib.dart" }, { "type": "modify", "old_id": "1c2e947e3175c9bc8cd4e1208f959dac232e5d19", "old_mode": 33188, "old_path": "pkg/front_end/test/macros/data/tests/multiple_macros/macro_lib2b.dart", "new_id": "3aa757caf868793e7beda7409f4dd9e9ddd2a643", "new_mode": 33188, "new_path": "pkg/front_end/test/macros/data/tests/multiple_macros/macro_lib2b.dart" }, { "type": "modify", "old_id": "9a3839ea6bf838cf8f34a9fcc021f96f849e43d4", "old_mode": 33188, "old_path": "pkg/front_end/test/macros/data/tests/multiple_macros/main.dart", "new_id": "455b1b1b49104e3e8c3e9b57d67c58fbe949692e", "new_mode": 33188, "new_path": "pkg/front_end/test/macros/data/tests/multiple_macros/main.dart" }, { "type": "modify", "old_id": "a830bb33f539897a472954efd2e7c7eefb5f6e8b", "old_mode": 33188, "old_path": "pkg/front_end/test/macros/data/tests/use_macro_package.dart", "new_id": "241eda8c74c6f3b02f7880e76894c62662b5c3a4", "new_mode": 33188, "new_path": "pkg/front_end/test/macros/data/tests/use_macro_package.dart" }, { "type": "modify", "old_id": "7c78a01c821a74b77c21de08afde8fdb4a2d6e3f", "old_mode": 33188, "old_path": "pkg/front_end/test/macros/data/tests/use_macro_source/main.dart", "new_id": "026aeb3e26418919deb8e029b0c343dca8ad557e", "new_mode": 33188, "new_path": "pkg/front_end/test/macros/data/tests/use_macro_source/main.dart" }, { "type": "modify", "old_id": "60424323449222c44326b4fc6f920a6e21fd3494", "old_mode": 33188, "old_path": "pkg/front_end/test/macros/macro_test.dart", "new_id": "ee9229393f4f777a113896fcf4b466db083312ef", "new_mode": 33188, "new_path": "pkg/front_end/test/macros/macro_test.dart" }, { "type": "modify", "old_id": "81e6368a23b5ef77a4bfd192ded676019ccd3b26", "old_mode": 33188, "old_path": "pkg/front_end/test/spell_checking_list_code.txt", "new_id": "dd3fd3e56ea4a5206ea79ca4c2461b8019b211a0", "new_mode": 33188, "new_path": "pkg/front_end/test/spell_checking_list_code.txt" } ] }