Input to prepare and apply tweaks.
More...
#include <Tweak.h>
Input to prepare and apply tweaks.
Definition at line 42 of file Tweak.h.
◆ Selection()
clang::clangd::Tweak::Selection::Selection |
( |
ParsedAST & |
AST, |
|
|
unsigned |
RangeBegin, |
|
|
unsigned |
RangeEnd |
|
) |
| |
◆ AST
ParsedAST& clang::clangd::Tweak::Selection::AST |
Parsed AST of the active file.
Definition at line 47 of file Tweak.h.
◆ ASTSelection
The AST nodes that were selected.
Definition at line 56 of file Tweak.h.
◆ Code
llvm::StringRef clang::clangd::Tweak::Selection::Code |
The text of the active document.
Definition at line 45 of file Tweak.h.
◆ Cursor
SourceLocation clang::clangd::Tweak::Selection::Cursor |
A location of the cursor in the editor.
Definition at line 50 of file Tweak.h.
◆ SelectionBegin
unsigned clang::clangd::Tweak::Selection::SelectionBegin |
The begin offset of the selection.
Definition at line 52 of file Tweak.h.
◆ SelectionEnd
unsigned clang::clangd::Tweak::Selection::SelectionEnd |
The end offset of the selection.
Definition at line 54 of file Tweak.h.
The documentation for this struct was generated from the following files: