Use abbreviation "decl" instead of "declaration" (#3382)

Part of switching to the [abbreviations we've decided to
use](https://docs.google.com/document/d/1RRYMm42osyqhI2LyjrjockYCutQ5dOf8Abu50kTrkX0/edit?resourcekey=0-kHyqOESbOHmzZphUbtLrTw#heading=h.pph7i5m5un7q).

I will rename files in a follow-up PR.
This commit is contained in:
josh11b
2023-11-10 10:43:25 +00:00
committed by GitHub
parent 11ca083855
commit 5020fdb3be
229 changed files with 565 additions and 601 deletions
+4 -4
View File
@@ -70,8 +70,8 @@ TEST_F(TreeTest, PrintPostorderAsYAML) {
ElementsAre(Pair("kind", "ParameterListStart"), Pair("text", "("))),
Yaml::Mapping(ElementsAre(Pair("kind", "ParameterList"),
Pair("text", ")"), Pair("subtree_size", "2"))),
Yaml::Mapping(ElementsAre(Pair("kind", "FunctionDeclaration"),
Pair("text", ";"), Pair("subtree_size", "5"))),
Yaml::Mapping(ElementsAre(Pair("kind", "FunctionDecl"), Pair("text", ";"),
Pair("subtree_size", "5"))),
Yaml::Mapping(ElementsAre(Pair("kind", "FileEnd"), Pair("text", "")))));
auto root = Yaml::Sequence(ElementsAre(Yaml::Mapping(
@@ -107,8 +107,8 @@ TEST_F(TreeTest, PrintPreorderAsYAML) {
Yaml::Mapping(ElementsAre(Pair("node_index", "0"),
Pair("kind", "FileStart"), Pair("text", ""))),
Yaml::Mapping(ElementsAre(Pair("node_index", "5"),
Pair("kind", "FunctionDeclaration"),
Pair("text", ";"), Pair("subtree_size", "5"),
Pair("kind", "FunctionDecl"), Pair("text", ";"),
Pair("subtree_size", "5"),
Pair("children", function_decl))),
Yaml::Mapping(ElementsAre(Pair("node_index", "6"),
Pair("kind", "FileEnd"), Pair("text", "")))));