@UiToolingDataApi
sealed class Group

Known direct subclasses
CallGroup

A group that represents the invocation of a component

NodeGroup

A group that represents an emitted node


A group in the slot table. Represents either a call or an emitted node.

Summary

Protected constructors

Group(
    key: Any?,
    name: String?,
    location: SourceLocation?,
    identity: Any?,
    box: IntRect,
    data: Collection<Any?>,
    children: Collection<Group>,
    isInline: Boolean
)

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

box

Added in 1.0.0
val boxIntRect

The bounding layout box for the group.

children

Added in 1.0.0
val childrenCollection<Group>

The child groups of this group

data

Added in 1.0.0
val dataCollection<Any?>

Any data that was stored in the slot table for the group

identity

Added in 1.2.0
val identityAny?

An optional value that identifies a Group independently of movement caused by recompositions.

isInline

Added in 1.4.0
val isInlineBoolean

True if the group is for an inline function call

key

Added in 1.0.0
val keyAny?

The key is the key generated for the group

location

Added in 1.0.0
val locationSourceLocation?

The source location that produce the group if it can be determined

modifierInfo

Added in 1.0.0
open val modifierInfoList<ModifierInfo>

Modifier information for the Group, or empty list if there isn't any.

name

Added in 1.0.0
val nameString?

The name of the function called, if provided

parameters

Added in 1.0.0
open val parametersList<ParameterInformation>

Parameter information for Groups that represent calls

Extension properties

@UiToolingDataApi
val Group.positionString?

The source position of the group extracted from the key, if one exists for the group.