Dehydra Object Reference

  • Revision slug: Dehydra/Object_Reference
  • Revision title: Dehydra Object Reference
  • Revision id: 84298
  • Created:
  • Creator: Tglek
  • Is current revision? No
  • Comment

Revision Content

Variable Type

These types are used to represent variables, functions, assignments, etc.

Members

Dehydra calls this for each top-level function or class member function.

  • decl: The function declaration.
  • name: The function name.
  • type: The function type, including parameter types.
  • loc: Source location of the function
  • isStatic: True if the function is static
  • .memberOf: Class containing the function, if any.

Function Type

foo

Aggregate Type

This type object represents aggregate types in GCC.

Members

.kind
One of "class", "struct", "union" or "enum"

.bases
An array representing the base classes of this class.

.members
An array of member variables and functions.

.loc
Location in the source

.template
If this class is a template instantiation the .template property describes it

Revision Source

<h2 name="Variable_Type">Variable Type</h2>
<p>These types are used to represent variables, functions, assignments, etc.
</p>
<h3 name="Members">Members</h3>
<p>Dehydra calls this for each top-level function or class member function. 
</p>
<ul><li> decl: The function declaration.
</li><li> name: The function name.
</li><li> type: The function type, including parameter types.
</li><li> loc: Source location of the function
</li><li> isStatic: True if the function is static
</li><li> .memberOf: Class containing the function, if any.
</li></ul>
<h2 name="Function_Type">Function Type</h2>
<p>foo
</p>
<h2 name="Aggregate_Type">Aggregate Type</h2>
<p>This type object represents aggregate types in GCC.
</p>
<h4 name="Members_2">Members</h4>
<p></p><dt>.kind
</dt><dd>One of "class", "struct", "union" or "enum"
<p></p></dd><dt>.bases
</dt><dd>An array representing the base classes of this class.
<p></p></dd><dt>.members
</dt><dd>An array of member variables and functions.
<p></p></dd><dt>.loc
</dt><dd> Location in the source
<p></p></dd><dt>.template
</dt><dd> If this class is a template instantiation the .template property describes it
</dd>
Revert to this revision