9
9
#ifndef liblldb_ExpressionSourceCode_h
10
10
#define liblldb_ExpressionSourceCode_h
11
11
12
- #include " lldb/Expression/Expression.h"
13
12
#include " lldb/lldb-enumerations.h"
14
13
#include " llvm/ADT/ArrayRef.h"
15
14
#include " llvm/ADT/StringRef.h"
@@ -30,30 +29,15 @@ class ExpressionSourceCode {
30
29
31
30
const char *GetName () const { return m_name.c_str (); }
32
31
33
- uint32_t GetNumBodyLines ();
34
-
35
- bool GetText (std::string &text, lldb::LanguageType wrapping_language,
36
- uint32_t language_flags,
37
- const EvaluateExpressionOptions &options,
38
- ExecutionContext &exe_ctx, uint32_t &first_body_line) const ;
39
-
40
- // Given a string returned by GetText, find the beginning and end of the body
41
- // passed to CreateWrapped. Return true if the bounds could be found. This
42
- // will also work on text with FixItHints applied.
43
- static bool GetOriginalBodyBounds (std::string transformed_text,
44
- lldb::LanguageType wrapping_language,
45
- size_t &start_loc, size_t &end_loc);
46
-
47
32
protected:
48
- ExpressionSourceCode (llvm::StringRef name, llvm::StringRef prefix,
49
- llvm::StringRef body, Wrapping wrap)
33
+ ExpressionSourceCode (llvm::StringRef name, llvm::StringRef prefix,
34
+ llvm::StringRef body, Wrapping wrap)
50
35
: m_name(name.str()), m_prefix(prefix.str()), m_body(body.str()),
51
- m_num_body_lines ( 0 ), m_wrap(wrap) {}
36
+ m_wrap (wrap) {}
52
37
53
38
std::string m_name;
54
39
std::string m_prefix;
55
40
std::string m_body;
56
- uint32_t m_num_body_lines;
57
41
Wrapping m_wrap;
58
42
};
59
43
0 commit comments