-
Notifications
You must be signed in to change notification settings - Fork 93
Open
Open
Copy link
Description
hopefully, parsed KDoc rather than raw KDoc.
return treeStructure.getChildrenArray(lighterASTNode)
.filterNotNull()
.firstOrNull { it.tokenType == KDocTokens.KDOC }
?.let { treeStructure.toString(it).toString() }
redwood/redwood-tooling-schema/src/main/kotlin/app/cash/redwood/tooling/schema/schemaParserFir.kt
Line 621 in 6085c7b
| // TODO We should be finding the KDeclaration on which we can get a KDoc instance and, |
}
private fun KtSourceElement.findAndParseKDoc(): String? {
return null
// TODO We should be finding the KDeclaration on which we can get a KDoc instance and,
// hopefully, parsed KDoc rather than raw KDoc.
// return treeStructure.getChildrenArray(lighterASTNode)
// .filterNotNull()
// .firstOrNull { it.tokenType == KDocTokens.KDOC }
// ?.let { treeStructure.toString(it).toString() }
}
private fun FirContext.findSchemaAnnotation(