|
nixd
|
Code action for flattening nested attribute sets. More...
#include <lspserver/Protocol.h>#include <nixf/Sema/ParentMap.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::addFlattenAttrsAction (const nixf::Node &N, const nixf::ParentMapAnalysis &PM, const std::string &FileURI, llvm::StringRef Src, std::vector< lspserver::CodeAction > &Actions) |
| Add flatten action for nested attribute sets. | |
Code action for flattening nested attribute sets.
Transforms: { foo = { bar = 1; }; } -> { foo.bar = 1; }
Definition in file FlattenAttrs.h.