xref: /freebsd-src/contrib/llvm-project/lldb/bindings/interface/SBBlockDocstrings.i (revision 06c3fb2749bda94cb5201f81ffdb8fa6c3161b2e)
1*06c3fb27SDimitry Andric %feature("docstring",
2*06c3fb27SDimitry Andric "Represents a lexical block. SBFunction contains SBBlock(s)."
3*06c3fb27SDimitry Andric ) lldb::SBBlock;
4*06c3fb27SDimitry Andric 
5*06c3fb27SDimitry Andric %feature("docstring",
6*06c3fb27SDimitry Andric "Is this block contained within an inlined function?"
7*06c3fb27SDimitry Andric ) lldb::SBBlock::IsInlined;
8*06c3fb27SDimitry Andric 
9*06c3fb27SDimitry Andric %feature("docstring", "
10*06c3fb27SDimitry Andric     Get the function name if this block represents an inlined function;
11*06c3fb27SDimitry Andric     otherwise, return None.") lldb::SBBlock::GetInlinedName;
12*06c3fb27SDimitry Andric 
13*06c3fb27SDimitry Andric %feature("docstring", "
14*06c3fb27SDimitry Andric     Get the call site file if this block represents an inlined function;
15*06c3fb27SDimitry Andric     otherwise, return an invalid file spec.") lldb::SBBlock::GetInlinedCallSiteFile;
16*06c3fb27SDimitry Andric 
17*06c3fb27SDimitry Andric %feature("docstring", "
18*06c3fb27SDimitry Andric     Get the call site line if this block represents an inlined function;
19*06c3fb27SDimitry Andric     otherwise, return 0.") lldb::SBBlock::GetInlinedCallSiteLine;
20*06c3fb27SDimitry Andric 
21*06c3fb27SDimitry Andric %feature("docstring", "
22*06c3fb27SDimitry Andric     Get the call site column if this block represents an inlined function;
23*06c3fb27SDimitry Andric     otherwise, return 0.") lldb::SBBlock::GetInlinedCallSiteColumn;
24*06c3fb27SDimitry Andric 
25*06c3fb27SDimitry Andric %feature("docstring", "Get the parent block.") lldb::SBBlock::GetParent;
26*06c3fb27SDimitry Andric 
27*06c3fb27SDimitry Andric %feature("docstring", "Get the inlined block that is or contains this block."
28*06c3fb27SDimitry Andric ) lldb::SBBlock::GetContainingInlinedBlock;
29*06c3fb27SDimitry Andric 
30*06c3fb27SDimitry Andric %feature("docstring", "Get the sibling block for this block.") lldb::SBBlock::GetSibling;
31*06c3fb27SDimitry Andric 
32*06c3fb27SDimitry Andric %feature("docstring", "Get the first child block.") lldb::SBBlock::GetFirstChild;
33