|
nixd
|
Code action for adding undefined variables to lambda formals. More...
#include <lspserver/Protocol.h>#include <nixf/Sema/ParentMap.h>#include <nixf/Sema/VariableLookup.h>#include <llvm/ADT/StringRef.h>#include <string>#include <vector>Go to the source code of this file.
Namespaces | |
| namespace | nixf |
| namespace | nixd |
Functions | |
| void | nixd::addToFormalsAction (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 add undefined variable to lambda formals. | |
Code action for adding undefined variables to lambda formals.
Transforms: {x}: y -> {x, y}: y This adds undefined variables to the formal parameter list of a lambda.
Definition in file AddToFormals.h.