Home
last modified time | relevance | path

Searched refs:toTextEdit (Results 1 – 25 of 66) sorted by relevance

123

/dports/devel/hs-haskell-language-server/haskell-language-server-1.4.0/ghcide/src/Development/IDE/Plugin/CodeAction/
H A DArgs.hs111 toTextEdit :: CodeActionArgs -> a -> IO [TextEdit]
114 toTextEdit _ = pure . pure function
117 toTextEdit CodeActionArgs {..} rw = fmap (fromMaybe []) $ function
125 toTextEdit caa = foldMap (toTextEdit caa) function
128 toTextEdit caa = maybe (pure []) (toTextEdit caa) function
131 toTextEdit caa = either (toTextEdit caa) (toTextEdit caa) function
183 …itle, te) = ReaderT $ \caa -> pure . (title,Just CodeActionQuickFix,Nothing,) <$> toTextEdit caa te
186 …ction (title, kind, te) = ReaderT $ \caa -> pure . (title,Just kind,Nothing,) <$> toTextEdit caa te
189 … = ReaderT $ \caa -> pure . (title,Just CodeActionQuickFix,Just isPreferred,) <$> toTextEdit caa te
192 …Preferred, te) = ReaderT $ \caa -> pure . (title,Just kind,Just isPreferred,) <$> toTextEdit caa te
/dports/devel/hs-hls-install/haskell-language-server-1.4.0/ghcide/src/Development/IDE/Plugin/CodeAction/
H A DArgs.hs111 toTextEdit :: CodeActionArgs -> a -> IO [TextEdit]
114 toTextEdit _ = pure . pure function
117 toTextEdit CodeActionArgs {..} rw = fmap (fromMaybe []) $ function
125 toTextEdit caa = foldMap (toTextEdit caa) function
128 toTextEdit caa = maybe (pure []) (toTextEdit caa) function
131 toTextEdit caa = either (toTextEdit caa) (toTextEdit caa) function
183 …itle, te) = ReaderT $ \caa -> pure . (title,Just CodeActionQuickFix,Nothing,) <$> toTextEdit caa te
186 …ction (title, kind, te) = ReaderT $ \caa -> pure . (title,Just kind,Nothing,) <$> toTextEdit caa te
189 … = ReaderT $ \caa -> pure . (title,Just CodeActionQuickFix,Just isPreferred,) <$> toTextEdit caa te
192 …Preferred, te) = ReaderT $ \caa -> pure . (title,Just kind,Just isPreferred,) <$> toTextEdit caa te
/dports/devel/llvm80/llvm-8.0.1.src/tools/clang/tools/extra/clangd/
H A DSourceCode.h78 TextEdit toTextEdit(const FixItHint &FixIt, const SourceManager &M,
H A DSourceCode.cpp226 TextEdit toTextEdit(const FixItHint &FixIt, const SourceManager &M, in toTextEdit() function
H A DDiagnostics.cpp340 Edits.push_back(toTextEdit(FixIt, Info.getSourceManager(), *LangOpts)); in HandleDiagnostic()
/dports/java/netbeans/netbeans/webcommon/typescript-lsp/node_modules/typescript-language-server/lib/
H A Dprotocol-translation.d.ts14 export declare function toTextEdit(edit: tsp.CodeEdit): lsp.TextEdit;
/dports/devel/llvm70/llvm-7.0.1.src/tools/clang/tools/extra/clangd/
H A DDiagnostics.cpp73 TextEdit toTextEdit(const FixItHint &FixIt, const SourceManager &M, in toTextEdit() function
311 Edits.push_back(toTextEdit(FixIt, Info.getSourceManager(), *LangOpts)); in HandleDiagnostic()
/dports/devel/llvm90/llvm-9.0.1.src/tools/clang/tools/extra/clangd/
H A DSourceCode.h146 TextEdit toTextEdit(const FixItHint &FixIt, const SourceManager &M,
H A DDiagnostics.cpp513 Edits.push_back(toTextEdit(FixIt, SM, *LangOpts)); in HandleDiagnostic()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/clang-tools-extra/clangd/
H A DSourceCode.h148 TextEdit toTextEdit(const FixItHint &FixIt, const SourceManager &M,
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/clang-tools-extra/clangd/
H A DSourceCode.h170 TextEdit toTextEdit(const FixItHint &FixIt, const SourceManager &M,
H A DDiagnostics.cpp568 Edits.push_back(toTextEdit(FixIt, SM, *LangOpts)); in HandleDiagnostic()
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/clang-tools-extra/clangd/
H A DSourceCode.h148 TextEdit toTextEdit(const FixItHint &FixIt, const SourceManager &M,
/dports/devel/llvm12/llvm-project-12.0.1.src/clang-tools-extra/clangd/
H A DSourceCode.h148 TextEdit toTextEdit(const FixItHint &FixIt, const SourceManager &M,
/dports/devel/llvm11/llvm-11.0.1.src/tools/clang/tools/extra/clangd/
H A DSourceCode.h148 TextEdit toTextEdit(const FixItHint &FixIt, const SourceManager &M,
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/clang-tools-extra/clangd/
H A DSourceCode.h148 TextEdit toTextEdit(const FixItHint &FixIt, const SourceManager &M,
/dports/devel/llvm10/llvm-10.0.1.src/tools/clang/tools/extra/clangd/
H A DSourceCode.h170 TextEdit toTextEdit(const FixItHint &FixIt, const SourceManager &M,
H A DDiagnostics.cpp568 Edits.push_back(toTextEdit(FixIt, SM, *LangOpts)); in HandleDiagnostic()
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/clang-tools-extra/clangd/
H A DSourceCode.h148 TextEdit toTextEdit(const FixItHint &FixIt, const SourceManager &M,
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/clang-tools-extra/clangd/
H A DSourceCode.h151 TextEdit toTextEdit(const FixItHint &FixIt, const SourceManager &M,
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/clang-tools-extra/clangd/
H A DSourceCode.h148 TextEdit toTextEdit(const FixItHint &FixIt, const SourceManager &M,
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/clang-tools-extra/clangd/
H A DSourceCode.h148 TextEdit toTextEdit(const FixItHint &FixIt, const SourceManager &M,
/dports/devel/llvm13/llvm-project-13.0.1.src/clang-tools-extra/clangd/
H A DSourceCode.h148 TextEdit toTextEdit(const FixItHint &FixIt, const SourceManager &M,
/dports/devel/ccls/ccls-0.20210330/src/
H A Dsema_manager.hh40 TextEdit toTextEdit(const clang::SourceManager &SM, const clang::LangOptions &L,
H A Dsema_manager.cc64 TextEdit toTextEdit(const clang::SourceManager &sm, const clang::LangOptions &l, in toTextEdit() function
265 last->edits.push_back(toTextEdit(sm, *langOpts, fixIt)); in HandleDiagnostic()

123