Group
@UiToolingDataApi
sealed class Group
A group in the slot table. Represents either a call or an emitted node.
Summary
Protected constructors |
|---|
Group( |
Public properties |
|
|---|---|
IntRect |
The bounding layout box for the group. |
Collection<Group> |
The child groups of this group |
Collection<Any?> |
Any data that was stored in the slot table for the group |
Any? |
An optional value that identifies a Group independently of movement caused by recompositions. |
Boolean |
True if the group is for an inline function call |
Any? |
The key is the key generated for the group |
SourceLocation? |
The source location that produce the group if it can be determined |
open List<ModifierInfo> |
Modifier information for the Group, or empty list if there isn't any. |
String? |
The name of the function called, if provided |
open List<ParameterInformation> |
Parameter information for Groups that represent calls |
Extension properties |
|
|---|---|
String? |
The source position of the group extracted from the key, if one exists for the group. |
Protected constructors
Group
protected Group(
key: Any?,
name: String?,
location: SourceLocation?,
identity: Any?,
box: IntRect,
data: Collection<Any?>,
children: Collection<Group>,
isInline: Boolean
)
Public properties
data
val data: Collection<Any?>
Any data that was stored in the slot table for the group
identity
val identity: Any?
An optional value that identifies a Group independently of movement caused by recompositions.
location
val location: SourceLocation?
The source location that produce the group if it can be determined
modifierInfo
open val modifierInfo: List<ModifierInfo>
Modifier information for the Group, or empty list if there isn't any.
parameters
open val parameters: List<ParameterInformation>
Parameter information for Groups that represent calls
Extension properties
position
@UiToolingDataApi
val Group.position: String?
The source position of the group extracted from the key, if one exists for the group.