Skip to content

We should be finding the KDeclaration on which we can get a KDoc instance and, #2224

@github-actions

Description

@github-actions

hopefully, parsed KDoc rather than raw KDoc.
return treeStructure.getChildrenArray(lighterASTNode)
.filterNotNull()
.firstOrNull { it.tokenType == KDocTokens.KDOC }
?.let { treeStructure.toString(it).toString() }

// 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(

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions