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

Implementation of with-to-let code action. More...

#include "WithToLet.h"
#include "Utils.h"
#include "../Convert.h"
#include <nixf/Basic/Nodes/Expr.h>
#include <nixf/Basic/Nodes/Simple.h>
#include <set>

Go to the source code of this file.

Namespaces

namespace  nixd

Functions

void nixd::addWithToLetAction (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 code action to convert with expression to let/inherit.

Detailed Description

Implementation of with-to-let code action.

Definition in file WithToLet.cpp.