forked from OSchip/llvm-project
295 lines
25 KiB
HTML
295 lines
25 KiB
HTML
<?xml version="1.0" encoding="ascii"?>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
"DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
<head>
|
|
<title>lldb.formatters.attrib_fromdict</title>
|
|
<link rel="stylesheet" href="epydoc.css" type="text/css" />
|
|
<script type="text/javascript" src="epydoc.js"></script>
|
|
</head>
|
|
|
|
<body bgcolor="white" text="black" link="blue" vlink="#204080"
|
|
alink="#204080">
|
|
<!-- ==================== NAVIGATION BAR ==================== -->
|
|
<table class="navbar" border="0" width="100%" cellpadding="0"
|
|
bgcolor="#a0c0ff" cellspacing="0">
|
|
<tr valign="middle">
|
|
|
|
<!-- Tree link -->
|
|
<th> <a
|
|
href="module-tree.html">Trees</a> </th>
|
|
|
|
<!-- Index link -->
|
|
<th> <a
|
|
href="identifier-index.html">Indices</a> </th>
|
|
|
|
<!-- Help link -->
|
|
<th> <a
|
|
href="help.html">Help</a> </th>
|
|
|
|
<!-- Project homepage -->
|
|
<th class="navbar" align="right" width="100%">
|
|
<table border="0" cellpadding="0" cellspacing="0">
|
|
<tr><th class="navbar" align="center"
|
|
><a class="navbar" target="_top" href="http://lldb.llvm.org">LLDB python API</a></th>
|
|
</tr></table></th>
|
|
</tr>
|
|
</table>
|
|
<table width="100%" cellpadding="0" cellspacing="0">
|
|
<tr valign="top">
|
|
<td width="100%">
|
|
<span class="breadcrumbs">
|
|
<a href="lldb-module.html">Package lldb</a> ::
|
|
<a href="lldb.formatters-module.html">Package formatters</a> ::
|
|
Module attrib_fromdict
|
|
</span>
|
|
</td>
|
|
<td>
|
|
<table cellpadding="0" cellspacing="0">
|
|
<!-- hide/show private -->
|
|
<tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
|
|
onclick="toggle_private();">hide private</a>]</span></td></tr>
|
|
<tr><td align="right"><span class="options"
|
|
>[<a href="frames.html" target="_top">frames</a
|
|
>] | <a href="lldb.formatters.attrib_fromdict-pysrc.html"
|
|
target="_top">no frames</a>]</span></td></tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<h1 class="epydoc">Source Code for <a href="lldb.formatters.attrib_fromdict-module.html">Module lldb.formatters.attrib_fromdict</a></h1>
|
|
<pre class="py-src">
|
|
<a name="L1"></a><tt class="py-lineno"> 1</tt> <tt class="py-line"><tt class="py-docstring">"""</tt> </tt>
|
|
<a name="L2"></a><tt class="py-lineno"> 2</tt> <tt class="py-line"><tt class="py-docstring">Objective-C runtime wrapper for use by LLDB Python formatters</tt> </tt>
|
|
<a name="L3"></a><tt class="py-lineno"> 3</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
|
|
<a name="L4"></a><tt class="py-lineno"> 4</tt> <tt class="py-line"><tt class="py-docstring">part of The LLVM Compiler Infrastructure</tt> </tt>
|
|
<a name="L5"></a><tt class="py-lineno"> 5</tt> <tt class="py-line"><tt class="py-docstring">This file is distributed under the University of Illinois Open Source</tt> </tt>
|
|
<a name="L6"></a><tt class="py-lineno"> 6</tt> <tt class="py-line"><tt class="py-docstring">License. See LICENSE.TXT for details.</tt> </tt>
|
|
<a name="L7"></a><tt class="py-lineno"> 7</tt> <tt class="py-line"><tt class="py-docstring">"""</tt> </tt>
|
|
<a name="L8"></a><tt class="py-lineno"> 8</tt> <tt class="py-line"> </tt>
|
|
<a name="L9"></a><tt class="py-lineno"> 9</tt> <tt class="py-line"> </tt>
|
|
<a name="AttributesDictionary"></a><div id="AttributesDictionary-def"><a name="L10"></a><tt class="py-lineno">10</tt> <a class="py-toggle" href="#" id="AttributesDictionary-toggle" onclick="return toggle('AttributesDictionary');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="lldb.formatters.attrib_fromdict.AttributesDictionary-class.html">AttributesDictionary</a><tt class="py-op">:</tt> </tt>
|
|
</div><div id="AttributesDictionary-collapsed" style="display:none;" pad="++" indent="++++"></div><div id="AttributesDictionary-expanded"><a name="L11"></a><tt class="py-lineno">11</tt> <tt class="py-line"> </tt>
|
|
<a name="AttributesDictionary.__init__"></a><div id="AttributesDictionary.__init__-def"><a name="L12"></a><tt class="py-lineno">12</tt> <a class="py-toggle" href="#" id="AttributesDictionary.__init__-toggle" onclick="return toggle('AttributesDictionary.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="lldb.formatters.attrib_fromdict.AttributesDictionary-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">allow_reset</tt><tt class="py-op">=</tt><tt class="py-name">True</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
|
</div><div id="AttributesDictionary.__init__-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="AttributesDictionary.__init__-expanded"><a name="L13"></a><tt class="py-lineno">13</tt> <tt class="py-line"> <tt class="py-comment"># need to do it this way to prevent endless recursion</tt> </tt>
|
|
<a name="L14"></a><tt class="py-lineno">14</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__dict__</tt><tt class="py-op">[</tt><tt class="py-string">'_dictionary'</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt><tt class="py-op">}</tt> </tt>
|
|
<a name="L15"></a><tt class="py-lineno">15</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__dict__</tt><tt class="py-op">[</tt><tt class="py-string">'_allow_reset'</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">allow_reset</tt> </tt>
|
|
</div><a name="L16"></a><tt class="py-lineno">16</tt> <tt class="py-line"> </tt>
|
|
<a name="AttributesDictionary.__getattr__"></a><div id="AttributesDictionary.__getattr__-def"><a name="L17"></a><tt class="py-lineno">17</tt> <a class="py-toggle" href="#" id="AttributesDictionary.__getattr__-toggle" onclick="return toggle('AttributesDictionary.__getattr__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="lldb.formatters.attrib_fromdict.AttributesDictionary-class.html#__getattr__">__getattr__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">name</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
|
</div><div id="AttributesDictionary.__getattr__-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="AttributesDictionary.__getattr__-expanded"><a name="L18"></a><tt class="py-lineno">18</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-0" class="py-name" targets="Method lldb.formatters.attrib_fromdict.AttributesDictionary._check_exists()=lldb.formatters.attrib_fromdict.AttributesDictionary-class.html#_check_exists"><a title="lldb.formatters.attrib_fromdict.AttributesDictionary._check_exists" class="py-name" href="#" onclick="return doclink('link-0', '_check_exists', 'link-0');">_check_exists</a></tt><tt class="py-op">(</tt><tt id="link-1" class="py-name" targets="Variable lldb.SBBlock.name=lldb.SBBlock-class.html#name,Variable lldb.SBFrame.name=lldb.SBFrame-class.html#name,Variable lldb.SBFunction.name=lldb.SBFunction-class.html#name,Variable lldb.SBSection.name=lldb.SBSection-class.html#name,Variable lldb.SBSymbol.name=lldb.SBSymbol-class.html#name,Variable lldb.SBThread.name=lldb.SBThread-class.html#name,Variable lldb.SBType.name=lldb.SBType-class.html#name,Variable lldb.SBTypeCategory.name=lldb.SBTypeCategory-class.html#name,Variable lldb.SBTypeEnumMember.name=lldb.SBTypeEnumMember-class.html#name,Variable lldb.SBTypeMember.name=lldb.SBTypeMember-class.html#name,Variable lldb.SBTypeNameSpecifier.name=lldb.SBTypeNameSpecifier-class.html#name,Variable lldb.SBValue.name=lldb.SBValue-class.html#name"><a title="lldb.SBBlock.name
|
|
lldb.SBFrame.name
|
|
lldb.SBFunction.name
|
|
lldb.SBSection.name
|
|
lldb.SBSymbol.name
|
|
lldb.SBThread.name
|
|
lldb.SBType.name
|
|
lldb.SBTypeCategory.name
|
|
lldb.SBTypeEnumMember.name
|
|
lldb.SBTypeMember.name
|
|
lldb.SBTypeNameSpecifier.name
|
|
lldb.SBValue.name" class="py-name" href="#" onclick="return doclink('link-1', 'name', 'link-1');">name</a></tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
|
<a name="L19"></a><tt class="py-lineno">19</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">None</tt> </tt>
|
|
<a name="L20"></a><tt class="py-lineno">20</tt> <tt class="py-line"> <tt id="link-2" class="py-name" targets="Variable lldb.SBError.value=lldb.SBError-class.html#value,Variable lldb.SBValue.value=lldb.SBValue-class.html#value,Method lldb.formatters.cpp.gnu_libstdcpp.StdListSynthProvider.value()=lldb.formatters.cpp.gnu_libstdcpp.StdListSynthProvider-class.html#value,Method lldb.formatters.cpp.libcxx.stdlist_SynthProvider.value()=lldb.formatters.cpp.libcxx.stdlist_SynthProvider-class.html#value,Variable lldb.formatters.cpp.libcxx.stdlist_entry.value=lldb.formatters.cpp.libcxx.stdlist_entry-class.html#value,Method lldb.formatters.cpp.libcxx.stdlist_iterator.value()=lldb.formatters.cpp.libcxx.stdlist_iterator-class.html#value,Method lldb.formatters.cpp.libcxx.stdmap_iterator.value()=lldb.formatters.cpp.libcxx.stdmap_iterator-class.html#value,Variable lldb.formatters.cpp.libcxx.stdmap_iterator_node.value=lldb.formatters.cpp.libcxx.stdmap_iterator_node-class.html#value,Class lldb.value=lldb.value-class.html"><a title="lldb.SBError.value
|
|
lldb.SBValue.value
|
|
lldb.formatters.cpp.gnu_libstdcpp.StdListSynthProvider.value
|
|
lldb.formatters.cpp.libcxx.stdlist_SynthProvider.value
|
|
lldb.formatters.cpp.libcxx.stdlist_entry.value
|
|
lldb.formatters.cpp.libcxx.stdlist_iterator.value
|
|
lldb.formatters.cpp.libcxx.stdmap_iterator.value
|
|
lldb.formatters.cpp.libcxx.stdmap_iterator_node.value
|
|
lldb.value" class="py-name" href="#" onclick="return doclink('link-2', 'value', 'link-2');">value</a></tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_dictionary</tt><tt class="py-op">[</tt><tt id="link-3" class="py-name"><a title="lldb.SBBlock.name
|
|
lldb.SBFrame.name
|
|
lldb.SBFunction.name
|
|
lldb.SBSection.name
|
|
lldb.SBSymbol.name
|
|
lldb.SBThread.name
|
|
lldb.SBType.name
|
|
lldb.SBTypeCategory.name
|
|
lldb.SBTypeEnumMember.name
|
|
lldb.SBTypeMember.name
|
|
lldb.SBTypeNameSpecifier.name
|
|
lldb.SBValue.name" class="py-name" href="#" onclick="return doclink('link-3', 'name', 'link-1');">name</a></tt><tt class="py-op">]</tt> </tt>
|
|
<a name="L21"></a><tt class="py-lineno">21</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt id="link-4" class="py-name"><a title="lldb.SBError.value
|
|
lldb.SBValue.value
|
|
lldb.formatters.cpp.gnu_libstdcpp.StdListSynthProvider.value
|
|
lldb.formatters.cpp.libcxx.stdlist_SynthProvider.value
|
|
lldb.formatters.cpp.libcxx.stdlist_entry.value
|
|
lldb.formatters.cpp.libcxx.stdlist_iterator.value
|
|
lldb.formatters.cpp.libcxx.stdmap_iterator.value
|
|
lldb.formatters.cpp.libcxx.stdmap_iterator_node.value
|
|
lldb.value" class="py-name" href="#" onclick="return doclink('link-4', 'value', 'link-2');">value</a></tt> </tt>
|
|
</div><a name="L22"></a><tt class="py-lineno">22</tt> <tt class="py-line"> </tt>
|
|
<a name="AttributesDictionary._set_impl"></a><div id="AttributesDictionary._set_impl-def"><a name="L23"></a><tt class="py-lineno">23</tt> <a class="py-toggle" href="#" id="AttributesDictionary._set_impl-toggle" onclick="return toggle('AttributesDictionary._set_impl');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="lldb.formatters.attrib_fromdict.AttributesDictionary-class.html#_set_impl">_set_impl</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">name</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
|
</div><div id="AttributesDictionary._set_impl-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="AttributesDictionary._set_impl-expanded"><a name="L24"></a><tt class="py-lineno">24</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_dictionary</tt><tt class="py-op">[</tt><tt id="link-5" class="py-name"><a title="lldb.SBBlock.name
|
|
lldb.SBFrame.name
|
|
lldb.SBFunction.name
|
|
lldb.SBSection.name
|
|
lldb.SBSymbol.name
|
|
lldb.SBThread.name
|
|
lldb.SBType.name
|
|
lldb.SBTypeCategory.name
|
|
lldb.SBTypeEnumMember.name
|
|
lldb.SBTypeMember.name
|
|
lldb.SBTypeNameSpecifier.name
|
|
lldb.SBValue.name" class="py-name" href="#" onclick="return doclink('link-5', 'name', 'link-1');">name</a></tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt id="link-6" class="py-name"><a title="lldb.SBError.value
|
|
lldb.SBValue.value
|
|
lldb.formatters.cpp.gnu_libstdcpp.StdListSynthProvider.value
|
|
lldb.formatters.cpp.libcxx.stdlist_SynthProvider.value
|
|
lldb.formatters.cpp.libcxx.stdlist_entry.value
|
|
lldb.formatters.cpp.libcxx.stdlist_iterator.value
|
|
lldb.formatters.cpp.libcxx.stdmap_iterator.value
|
|
lldb.formatters.cpp.libcxx.stdmap_iterator_node.value
|
|
lldb.value" class="py-name" href="#" onclick="return doclink('link-6', 'value', 'link-2');">value</a></tt> </tt>
|
|
</div><a name="L25"></a><tt class="py-lineno">25</tt> <tt class="py-line"> </tt>
|
|
<a name="AttributesDictionary._check_exists"></a><div id="AttributesDictionary._check_exists-def"><a name="L26"></a><tt class="py-lineno">26</tt> <a class="py-toggle" href="#" id="AttributesDictionary._check_exists-toggle" onclick="return toggle('AttributesDictionary._check_exists');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="lldb.formatters.attrib_fromdict.AttributesDictionary-class.html#_check_exists">_check_exists</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">name</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
|
</div><div id="AttributesDictionary._check_exists-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="AttributesDictionary._check_exists-expanded"><a name="L27"></a><tt class="py-lineno">27</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt id="link-7" class="py-name"><a title="lldb.SBBlock.name
|
|
lldb.SBFrame.name
|
|
lldb.SBFunction.name
|
|
lldb.SBSection.name
|
|
lldb.SBSymbol.name
|
|
lldb.SBThread.name
|
|
lldb.SBType.name
|
|
lldb.SBTypeCategory.name
|
|
lldb.SBTypeEnumMember.name
|
|
lldb.SBTypeMember.name
|
|
lldb.SBTypeNameSpecifier.name
|
|
lldb.SBValue.name" class="py-name" href="#" onclick="return doclink('link-7', 'name', 'link-1');">name</a></tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_dictionary</tt> </tt>
|
|
</div><a name="L28"></a><tt class="py-lineno">28</tt> <tt class="py-line"> </tt>
|
|
<a name="AttributesDictionary.__setattr__"></a><div id="AttributesDictionary.__setattr__-def"><a name="L29"></a><tt class="py-lineno">29</tt> <a class="py-toggle" href="#" id="AttributesDictionary.__setattr__-toggle" onclick="return toggle('AttributesDictionary.__setattr__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="lldb.formatters.attrib_fromdict.AttributesDictionary-class.html#__setattr__">__setattr__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">name</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
|
</div><div id="AttributesDictionary.__setattr__-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="AttributesDictionary.__setattr__-expanded"><a name="L30"></a><tt class="py-lineno">30</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_allow_reset</tt><tt class="py-op">:</tt> </tt>
|
|
<a name="L31"></a><tt class="py-lineno">31</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-8" class="py-name" targets="Method lldb.formatters.attrib_fromdict.AttributesDictionary._set_impl()=lldb.formatters.attrib_fromdict.AttributesDictionary-class.html#_set_impl"><a title="lldb.formatters.attrib_fromdict.AttributesDictionary._set_impl" class="py-name" href="#" onclick="return doclink('link-8', '_set_impl', 'link-8');">_set_impl</a></tt><tt class="py-op">(</tt><tt id="link-9" class="py-name"><a title="lldb.SBBlock.name
|
|
lldb.SBFrame.name
|
|
lldb.SBFunction.name
|
|
lldb.SBSection.name
|
|
lldb.SBSymbol.name
|
|
lldb.SBThread.name
|
|
lldb.SBType.name
|
|
lldb.SBTypeCategory.name
|
|
lldb.SBTypeEnumMember.name
|
|
lldb.SBTypeMember.name
|
|
lldb.SBTypeNameSpecifier.name
|
|
lldb.SBValue.name" class="py-name" href="#" onclick="return doclink('link-9', 'name', 'link-1');">name</a></tt><tt class="py-op">,</tt> <tt id="link-10" class="py-name"><a title="lldb.SBError.value
|
|
lldb.SBValue.value
|
|
lldb.formatters.cpp.gnu_libstdcpp.StdListSynthProvider.value
|
|
lldb.formatters.cpp.libcxx.stdlist_SynthProvider.value
|
|
lldb.formatters.cpp.libcxx.stdlist_entry.value
|
|
lldb.formatters.cpp.libcxx.stdlist_iterator.value
|
|
lldb.formatters.cpp.libcxx.stdmap_iterator.value
|
|
lldb.formatters.cpp.libcxx.stdmap_iterator_node.value
|
|
lldb.value" class="py-name" href="#" onclick="return doclink('link-10', 'value', 'link-2');">value</a></tt><tt class="py-op">)</tt> </tt>
|
|
<a name="L32"></a><tt class="py-lineno">32</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
|
|
<a name="L33"></a><tt class="py-lineno">33</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-11" class="py-name" targets="Method lldb.formatters.attrib_fromdict.AttributesDictionary.set_if_necessary()=lldb.formatters.attrib_fromdict.AttributesDictionary-class.html#set_if_necessary"><a title="lldb.formatters.attrib_fromdict.AttributesDictionary.set_if_necessary" class="py-name" href="#" onclick="return doclink('link-11', 'set_if_necessary', 'link-11');">set_if_necessary</a></tt><tt class="py-op">(</tt><tt id="link-12" class="py-name"><a title="lldb.SBBlock.name
|
|
lldb.SBFrame.name
|
|
lldb.SBFunction.name
|
|
lldb.SBSection.name
|
|
lldb.SBSymbol.name
|
|
lldb.SBThread.name
|
|
lldb.SBType.name
|
|
lldb.SBTypeCategory.name
|
|
lldb.SBTypeEnumMember.name
|
|
lldb.SBTypeMember.name
|
|
lldb.SBTypeNameSpecifier.name
|
|
lldb.SBValue.name" class="py-name" href="#" onclick="return doclink('link-12', 'name', 'link-1');">name</a></tt><tt class="py-op">,</tt> <tt id="link-13" class="py-name"><a title="lldb.SBError.value
|
|
lldb.SBValue.value
|
|
lldb.formatters.cpp.gnu_libstdcpp.StdListSynthProvider.value
|
|
lldb.formatters.cpp.libcxx.stdlist_SynthProvider.value
|
|
lldb.formatters.cpp.libcxx.stdlist_entry.value
|
|
lldb.formatters.cpp.libcxx.stdlist_iterator.value
|
|
lldb.formatters.cpp.libcxx.stdmap_iterator.value
|
|
lldb.formatters.cpp.libcxx.stdmap_iterator_node.value
|
|
lldb.value" class="py-name" href="#" onclick="return doclink('link-13', 'value', 'link-2');">value</a></tt><tt class="py-op">)</tt> </tt>
|
|
</div><a name="L34"></a><tt class="py-lineno">34</tt> <tt class="py-line"> </tt>
|
|
<a name="AttributesDictionary.set_if_necessary"></a><div id="AttributesDictionary.set_if_necessary-def"><a name="L35"></a><tt class="py-lineno">35</tt> <a class="py-toggle" href="#" id="AttributesDictionary.set_if_necessary-toggle" onclick="return toggle('AttributesDictionary.set_if_necessary');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="lldb.formatters.attrib_fromdict.AttributesDictionary-class.html#set_if_necessary">set_if_necessary</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">name</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
|
</div><div id="AttributesDictionary.set_if_necessary-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="AttributesDictionary.set_if_necessary-expanded"><a name="L36"></a><tt class="py-lineno">36</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-14" class="py-name"><a title="lldb.formatters.attrib_fromdict.AttributesDictionary._check_exists" class="py-name" href="#" onclick="return doclink('link-14', '_check_exists', 'link-0');">_check_exists</a></tt><tt class="py-op">(</tt><tt id="link-15" class="py-name"><a title="lldb.SBBlock.name
|
|
lldb.SBFrame.name
|
|
lldb.SBFunction.name
|
|
lldb.SBSection.name
|
|
lldb.SBSymbol.name
|
|
lldb.SBThread.name
|
|
lldb.SBType.name
|
|
lldb.SBTypeCategory.name
|
|
lldb.SBTypeEnumMember.name
|
|
lldb.SBTypeMember.name
|
|
lldb.SBTypeNameSpecifier.name
|
|
lldb.SBValue.name" class="py-name" href="#" onclick="return doclink('link-15', 'name', 'link-1');">name</a></tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
|
<a name="L37"></a><tt class="py-lineno">37</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-16" class="py-name"><a title="lldb.formatters.attrib_fromdict.AttributesDictionary._set_impl" class="py-name" href="#" onclick="return doclink('link-16', '_set_impl', 'link-8');">_set_impl</a></tt><tt class="py-op">(</tt><tt id="link-17" class="py-name"><a title="lldb.SBBlock.name
|
|
lldb.SBFrame.name
|
|
lldb.SBFunction.name
|
|
lldb.SBSection.name
|
|
lldb.SBSymbol.name
|
|
lldb.SBThread.name
|
|
lldb.SBType.name
|
|
lldb.SBTypeCategory.name
|
|
lldb.SBTypeEnumMember.name
|
|
lldb.SBTypeMember.name
|
|
lldb.SBTypeNameSpecifier.name
|
|
lldb.SBValue.name" class="py-name" href="#" onclick="return doclink('link-17', 'name', 'link-1');">name</a></tt><tt class="py-op">,</tt> <tt id="link-18" class="py-name"><a title="lldb.SBError.value
|
|
lldb.SBValue.value
|
|
lldb.formatters.cpp.gnu_libstdcpp.StdListSynthProvider.value
|
|
lldb.formatters.cpp.libcxx.stdlist_SynthProvider.value
|
|
lldb.formatters.cpp.libcxx.stdlist_entry.value
|
|
lldb.formatters.cpp.libcxx.stdlist_iterator.value
|
|
lldb.formatters.cpp.libcxx.stdmap_iterator.value
|
|
lldb.formatters.cpp.libcxx.stdmap_iterator_node.value
|
|
lldb.value" class="py-name" href="#" onclick="return doclink('link-18', 'value', 'link-2');">value</a></tt><tt class="py-op">)</tt> </tt>
|
|
<a name="L38"></a><tt class="py-lineno">38</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">True</tt> </tt>
|
|
<a name="L39"></a><tt class="py-lineno">39</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">False</tt> </tt>
|
|
</div><a name="L40"></a><tt class="py-lineno">40</tt> <tt class="py-line"> </tt>
|
|
<a name="AttributesDictionary.__len__"></a><div id="AttributesDictionary.__len__-def"><a name="L41"></a><tt class="py-lineno">41</tt> <a class="py-toggle" href="#" id="AttributesDictionary.__len__-toggle" onclick="return toggle('AttributesDictionary.__len__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="lldb.formatters.attrib_fromdict.AttributesDictionary-class.html#__len__">__len__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
|
</div><div id="AttributesDictionary.__len__-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="AttributesDictionary.__len__-expanded"><a name="L42"></a><tt class="py-lineno">42</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_dictionary</tt><tt class="py-op">)</tt> </tt>
|
|
</div></div><a name="L43"></a><tt class="py-lineno">43</tt> <tt class="py-line"> </tt><script type="text/javascript">
|
|
<!--
|
|
expandto(location.href);
|
|
// -->
|
|
</script>
|
|
</pre>
|
|
<br />
|
|
<!-- ==================== NAVIGATION BAR ==================== -->
|
|
<table class="navbar" border="0" width="100%" cellpadding="0"
|
|
bgcolor="#a0c0ff" cellspacing="0">
|
|
<tr valign="middle">
|
|
|
|
<!-- Tree link -->
|
|
<th> <a
|
|
href="module-tree.html">Trees</a> </th>
|
|
|
|
<!-- Index link -->
|
|
<th> <a
|
|
href="identifier-index.html">Indices</a> </th>
|
|
|
|
<!-- Help link -->
|
|
<th> <a
|
|
href="help.html">Help</a> </th>
|
|
|
|
<!-- Project homepage -->
|
|
<th class="navbar" align="right" width="100%">
|
|
<table border="0" cellpadding="0" cellspacing="0">
|
|
<tr><th class="navbar" align="center"
|
|
><a class="navbar" target="_top" href="http://lldb.llvm.org">LLDB python API</a></th>
|
|
</tr></table></th>
|
|
</tr>
|
|
</table>
|
|
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
|
|
<tr>
|
|
<td align="left" class="footer">
|
|
Generated by Epydoc 3.0.1 on Fri Oct 14 13:55:30 2016
|
|
</td>
|
|
<td align="right" class="footer">
|
|
<a target="mainFrame" href="http://epydoc.sourceforge.net"
|
|
>http://epydoc.sourceforge.net</a>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<script type="text/javascript">
|
|
<!--
|
|
// Private objects are initially displayed (because if
|
|
// javascript is turned off then we want them to be
|
|
// visible); but by default, we want to hide them. So hide
|
|
// them unless we have a cookie that says to show them.
|
|
checkCookie();
|
|
// -->
|
|
</script>
|
|
</body>
|
|
</html>
|