tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

class_field_layout.rst (1836B)


      1 .. _searchfox_field_layout:
      2 
      3 ==================
      4 Class field layout
      5 ==================
      6 
      7 The class field layout table shows the layout of a class or struct,
      8 including inherited members, and holes.
      9 
     10 The table reflects multiple build configurations and the platforms.
     11 
     12 If the layout differs between them, for example with the following reasons, a row is created for each group.
     13  - Debug-only fields
     14  - Pointer size difference between platforms
     15 
     16 **Enabling Class field layout**: To use class field layout features, visit the
     17 `settings page <https://searchfox.org/mozilla-central/pages/settings.html>`_ and
     18 change the "Default feature gate" from "Release" to "Alpha", or use the
     19 "Semantic Info Queries gate" setting.
     20 
     21 
     22 .. image:: img/field-layout.png
     23    :class: border
     24    :alt: Class field layout table
     25    :width: 800px
     26 
     27 Context Menu
     28 ------------
     29 
     30 .. image:: img/context-menu-layout.png
     31    :class: border
     32    :alt: The context menu for classes
     33    :width: 448px
     34 
     35 Class layout of ...
     36  Open the class field layout table of given class.
     37 
     38 Controls
     39 --------
     40 
     41 Use Ascending Order/Use Descending Order
     42  Order the classes in the ascending/descending order of the offset.
     43 
     44  By default, descending order is used, and thus the specified class is shown in the top,
     45  and the base classes are shown below it.
     46 
     47  Choosing the ascending order makes the all fields orderedby the field offset.
     48 
     49 Columns
     50  Select the columns to show.
     51 
     52  Corresponds to the `show-cols:LIST` parameter.
     53 
     54  Name
     55    The name of the field.
     56 
     57  Type
     58    The actual type of the field.
     59 
     60  Line
     61    The actual line that declares the field.
     62    This can be a macro invocation.
     63 
     64 
     65 Queries
     66 -------
     67 
     68 Show the class field layout table of given a class or struct.
     69 
     70 ::
     71 
     72    field-layout:'nsTString'
     73 
     74 https://searchfox.org/mozilla-central/query/default?q=field-layout%3A%27nsTString%27