Function

parseSourceInformation

Parses source information from a string produced by Compose compiler.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free

parseSourceInformation

Common
@ComposeToolingApi
public fun parseSourceInformation(data: String): SourceInformation?

Parses source information from a string produced by Compose compiler. The source information string is usually obtained from CompositionGroup.sourceInfo.

Returns

parsed source information or null if the string is not a valid source information