20 std::vector<nixf::Diagnostic> Diagnostics;
21 std::shared_ptr<nixf::Node> AST;
22 std::optional<util::OwnedRegion> ASTByteCode;
23 std::unique_ptr<nixf::VariableLookupAnalysis> VLA;
24 std::unique_ptr<nixf::ParentMapAnalysis> PMA;
25 std::shared_ptr<const std::string> Src;
29 NixTU(std::vector<nixf::Diagnostic> Diagnostics,
30 std::shared_ptr<nixf::Node> AST,
31 std::optional<util::OwnedRegion> ASTByteCode,
32 std::unique_ptr<nixf::VariableLookupAnalysis> VLA,
33 std::shared_ptr<const std::string> Src);
35 [[nodiscard]]
const std::vector<nixf::Diagnostic> &
diagnostics()
const {
39 [[nodiscard]]
const std::shared_ptr<nixf::Node> &
ast()
const {
return AST; }
49 [[nodiscard]] std::string_view
src()
const {
return *Src; }