nixd
Loading...
Searching...
No Matches
ExtractToFile.cpp File Reference

Implementation of extract-to-file code action. More...

#include "ExtractToFile.h"
#include "Utils.h"
#include "../Convert.h"
#include <nixf/Basic/Nodes/Attrs.h>
#include <nixf/Basic/Nodes/Expr.h>
#include <nixf/Basic/Nodes/Lambda.h>
#include <nixf/Basic/Nodes/Simple.h>
#include <llvm/Support/FileSystem.h>
#include <llvm/Support/Path.h>
#include <set>
#include <string_view>

Go to the source code of this file.

Namespaces

namespace  nixd

Functions

void nixd::addExtractToFileAction (const nixf::Node &N, const nixf::ParentMapAnalysis &PM, const nixf::VariableLookupAnalysis &VLA, const std::string &FileURI, llvm::StringRef Src, std::vector< lspserver::CodeAction > &Actions)
 Add extract-to-file action for selected expressions.

Detailed Description

Implementation of extract-to-file code action.

Definition in file ExtractToFile.cpp.