Skip to content

Commit fbef1f4

Browse files
Fixed typo in scopes doc (#3245)
1 parent 80fc519 commit fbef1f4

1 file changed

Lines changed: 19 additions & 5 deletions

File tree

packages/app-web-docs/src/docs/contributing/scope-test-format.md

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -134,39 +134,53 @@ int foo;
134134
These are examples of scope facets and appropriate source code.
135135

136136
```java
137+
// statement.variable.initialized
137138
// name.variable.initialized
139+
// type.variable.initialized
138140
// value.variable
139141
int foo = 0;
140142

141143
// class
142-
// class.name
144+
// name.class
143145
// statement.class
144146
class Foo {}
145147

146148
// class
147-
// class.name
149+
// name.class
148150
// statement.class
149151
@bar
150152
class Foo {}
151153

152154
// interior.class
155+
// statement.iteration.class
156+
// name.iteration.class
157+
// value.iteration.class
158+
// type.iteration.class
153159
class Foo { }
154160

155161
// functionCall
156162
// functionCallee
157163
// statement.functionCall
164+
// argumentList.actual.empty
158165
foo();
159166

160-
// argumentList.actual.singleLine
161167
// argument.actual.singleLine
162168
// argument.actual.iteration
169+
// argumentList.actual.singleLine
163170
foo(aaa, bbb);
164171

172+
// argument.formal.singleLine
173+
// argument.formal.iteration
174+
// argumentList.formal.singleLine
175+
// name.argument.formal
176+
// name.argument.formal.iteration
177+
// type.argument.formal
178+
// type.argument.formal.iteration
179+
void bar(int aaa, int bbb) {}
180+
165181
// argumentList.formal.multiLine
166182
// argument.formal.multiLine
167183
// argument.formal.iteration
168-
// name.formal.multiLine
169-
// type.formal.multiLine
170184
void bar(
171185
int aaa,
172186
int bbb

0 commit comments

Comments
 (0)