---
title: "parseSourceInformation"
description: "Parses source information from a string produced by Compose compiler. The source information
string is usually obtained from [CompositionGroup.sourceInfo]."
type: "function"
---

<div class='type'>Function</div>


<a id='references'></a>
<div class='sourceset sourceset-common'>Common</div>


```kotlin
@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 |




