nixd
Loading...
Searching...
No Matches
RewriteString.h File Reference

Code action for converting between string literal syntaxes. 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::addRewriteStringAction (const nixf::Node &N, const nixf::ParentMapAnalysis &PM, const std::string &FileURI, llvm::StringRef Src, std::vector< lspserver::CodeAction > &Actions)
 Add rewrite action for string literal syntax conversion.

Detailed Description

Code action for converting between string literal syntaxes.

Transforms between double-quoted ("...") and indented (''...'') strings.

Definition in file RewriteString.h.