SemanticsOwner
-
Cmn
class SemanticsOwner
Owns SemanticsNode objects and notifies listeners of changes to the semantics tree
Summary
Public properties |
||
|---|---|---|
SemanticsNode |
The root node of the semantics tree. |
Cmn
|
SemanticsNode |
Cmn
|
Extension functions |
||
|---|---|---|
List<SemanticsNode> |
SemanticsOwner.getAllSemanticsNodes(Finds all |
Cmn
|
Public properties
rootSemanticsNode
val rootSemanticsNode: SemanticsNode
The root node of the semantics tree. Does not contain any unmerged data. May contain merged data.
Extension functions
getAllSemanticsNodes
fun SemanticsOwner.getAllSemanticsNodes(
mergingEnabled: Boolean,
skipDeactivatedNodes: Boolean = true
): List<SemanticsNode>
Finds all SemanticsNodes in the tree owned by this SemanticsOwner. Return the results in a list.
| Parameters | |
|---|---|
mergingEnabled: Boolean |
set to true if you want the data to be merged. |
skipDeactivatedNodes: Boolean = true |
set to false if you want to collect the nodes which are deactivated. For example, the children of |