Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
github-actions bot opened this issue Aug 1, 2024 · 0 comments

Comments

@github-actions
Copy link

github-actions bot commented Aug 1, 2024

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(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants