File tree 1 file changed +7
-0
lines changed
1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -156,10 +156,17 @@ type Pass struct {
156
156
157
157
// AllPackageFacts returns a new slice containing all package
158
158
// facts of the analysis's FactTypes in unspecified order.
159
+ // See comments for AllObjectFacts.
159
160
AllPackageFacts func () []PackageFact
160
161
161
162
// AllObjectFacts returns a new slice containing all object
162
163
// facts of the analysis's FactTypes in unspecified order.
164
+ //
165
+ // The result includes all facts exported by packages
166
+ // whose symbols are referenced by the current package
167
+ // (by qualified identifiers or field/method selections).
168
+ // And it includes all facts exported from the current
169
+ // package by the current analysis pass.
163
170
AllObjectFacts func () []ObjectFact
164
171
165
172
/* Further fields may be added in future. */
You can’t perform that action at this time.
0 commit comments