[][src]Module sixtyfps_compilerlib::object_tree

This module contains the intermediate representation of the code in the form of an object tree

Structs

Component

A component is a type in the language which can be instantiated, Or is materialized for repeated expression.

Document

The full document (a complete file)

Element

An Element is an instentation of a Component

Exports
ListViewInfo
NamedExport
PropertyDeclaration
QualifiedTypeName
RepeatedElementInfo

If the parent element is a repeated element, this has information about the models

State
Transition

Functions

recurse_elem

Call the visitor for each children of the element recursively, starting with the element itself

recurse_elem_no_borrow

Same as recurse_elem, but will take the children from the element as to not keep the element borrow

visit_all_named_references
visit_element_expressions

This visit the binding attached to this element, but does not recurse in children elements Also does not recurse within the expressions.

Type Definitions

ElementRc