xref: /llvm-project/lldb/bindings/interface/SBExpressionOptionsDocstrings.i (revision 662548c82683bd8657a3179afee693c4965a3dfd)
1*662548c8SAlex Langford %feature("docstring",
2*662548c8SAlex Langford "A container for options to use when evaluating expressions."
3*662548c8SAlex Langford ) lldb::SBExpressionOptions;
4*662548c8SAlex Langford 
5*662548c8SAlex Langford %feature("docstring", "Sets whether to coerce the expression result to ObjC id type after evaluation."
6*662548c8SAlex Langford ) lldb::SBExpressionOptions::SetCoerceResultToId;
7*662548c8SAlex Langford 
8*662548c8SAlex Langford %feature("docstring", "Sets whether to unwind the expression stack on error."
9*662548c8SAlex Langford ) lldb::SBExpressionOptions::SetUnwindOnError;
10*662548c8SAlex Langford 
11*662548c8SAlex Langford %feature("docstring", "Sets whether to ignore breakpoint hits while running expressions."
12*662548c8SAlex Langford ) lldb::SBExpressionOptions::SetIgnoreBreakpoints;
13*662548c8SAlex Langford 
14*662548c8SAlex Langford %feature("docstring", "Sets whether to cast the expression result to its dynamic type."
15*662548c8SAlex Langford ) lldb::SBExpressionOptions::SetFetchDynamicValue;
16*662548c8SAlex Langford 
17*662548c8SAlex Langford %feature("docstring", "Sets the timeout in microseconds to run the expression for. If try all threads is set to true and the expression doesn't complete within the specified timeout, all threads will be resumed for the same timeout to see if the expression will finish."
18*662548c8SAlex Langford ) lldb::SBExpressionOptions::SetTimeoutInMicroSeconds;
19*662548c8SAlex Langford 
20*662548c8SAlex Langford %feature("docstring", "Sets the timeout in microseconds to run the expression on one thread before either timing out or trying all threads."
21*662548c8SAlex Langford ) lldb::SBExpressionOptions::SetOneThreadTimeoutInMicroSeconds;
22*662548c8SAlex Langford 
23*662548c8SAlex Langford %feature("docstring", "Sets whether to run all threads if the expression does not complete on one thread."
24*662548c8SAlex Langford ) lldb::SBExpressionOptions::SetTryAllThreads;
25*662548c8SAlex Langford 
26*662548c8SAlex Langford %feature("docstring", "Sets whether to stop other threads at all while running expressions.  If false, TryAllThreads does nothing."
27*662548c8SAlex Langford ) lldb::SBExpressionOptions::SetStopOthers;
28*662548c8SAlex Langford 
29*662548c8SAlex Langford %feature("docstring", "Sets whether to abort expression evaluation if an exception is thrown while executing.  Don't set this to false unless you know the function you are calling traps all exceptions itself."
30*662548c8SAlex Langford ) lldb::SBExpressionOptions::SetTrapExceptions;
31*662548c8SAlex Langford 
32*662548c8SAlex Langford %feature ("docstring", "Sets the language that LLDB should assume the expression is written in"
33*662548c8SAlex Langford ) lldb::SBExpressionOptions::SetLanguage;
34*662548c8SAlex Langford 
35*662548c8SAlex Langford %feature("docstring", "Sets whether to generate debug information for the expression and also controls if a SBModule is generated."
36*662548c8SAlex Langford ) lldb::SBExpressionOptions::SetGenerateDebugInfo;
37*662548c8SAlex Langford 
38*662548c8SAlex Langford %feature("docstring", "Sets whether to produce a persistent result that can be used in future expressions."
39*662548c8SAlex Langford ) lldb::SBExpressionOptions::SetSuppressPersistentResult;
40*662548c8SAlex Langford 
41*662548c8SAlex Langford %feature("docstring", "Gets the prefix to use for this expression."
42*662548c8SAlex Langford ) lldb::SBExpressionOptions::GetPrefix;
43*662548c8SAlex Langford 
44*662548c8SAlex Langford %feature("docstring", "Sets the prefix to use for this expression. This prefix gets inserted after the 'target.expr-prefix' prefix contents, but before the wrapped expression function body."
45*662548c8SAlex Langford ) lldb::SBExpressionOptions::SetPrefix;
46*662548c8SAlex Langford 
47*662548c8SAlex Langford %feature("docstring", "Sets whether to auto-apply fix-it hints to the expression being evaluated."
48*662548c8SAlex Langford ) lldb::SBExpressionOptions::SetAutoApplyFixIts;
49*662548c8SAlex Langford 
50*662548c8SAlex Langford %feature("docstring", "Gets whether to auto-apply fix-it hints to an expression."
51*662548c8SAlex Langford ) lldb::SBExpressionOptions::GetAutoApplyFixIts;
52*662548c8SAlex Langford 
53*662548c8SAlex Langford %feature("docstring", "Sets how often LLDB should retry applying fix-its to an expression."
54*662548c8SAlex Langford ) lldb::SBExpressionOptions::SetRetriesWithFixIts;
55*662548c8SAlex Langford 
56*662548c8SAlex Langford %feature("docstring", "Gets how often LLDB will retry applying fix-its to an expression."
57*662548c8SAlex Langford ) lldb::SBExpressionOptions::GetRetriesWithFixIts;
58*662548c8SAlex Langford 
59*662548c8SAlex Langford %feature("docstring", "Gets whether to JIT an expression if it cannot be interpreted."
60*662548c8SAlex Langford ) lldb::SBExpressionOptions::GetAllowJIT;
61*662548c8SAlex Langford 
62*662548c8SAlex Langford %feature("docstring", "Sets whether to JIT an expression if it cannot be interpreted."
63*662548c8SAlex Langford ) lldb::SBExpressionOptions::SetAllowJIT;
64