Home | History | Annotate | Download | only in Format

Lines Matching refs:References

72 // required for sorting module references.
75 // Module references are sorted into these categories, in order.
135 SmallVector<JsModuleReference, 16> References;
137 std::tie(References, FirstNonImportLine) =
140 if (References.empty())
144 for (unsigned i = 0, e = References.size(); i != e; ++i)
148 return References[LHSI] < References[RHSI];
155 JsModuleReference Reference = References[Indices[i]];
164 (Reference.IsExport != References[Indices[i + 1]].IsExport ||
165 Reference.Category != References[Indices[i + 1]].Category))
173 SourceRange InsertionPoint = References[0].Range;
174 InsertionPoint.setEnd(References[References.size() - 1].Range.getEnd());
188 // Separate references from the main code body of the file.
260 // ... then the references in order ...
271 // Parses module references in the given lines. Returns the module references,
273 // affected lines of module references, nullptr otherwise.
277 SmallVector<JsModuleReference, 16> References;
292 if (Start.isInvalid() || References.empty())
319 References.push_back(Reference);
322 return std::make_pair(References, FirstNonImportLine);