correctly parse tag in the beginning of doc comment

This commit is contained in:
Dmitry Jemerov
2015-02-02 15:19:50 +01:00
parent 1c87464695
commit 223882d292
5 changed files with 33 additions and 28 deletions
@@ -0,0 +1 @@
/** @param a this is a */
@@ -0,0 +1,14 @@
JetFile: ParamTagAtStart.kt
PACKAGE_DIRECTIVE
<empty list>
KDoc
PsiElement(KDOC_START)('/**')
KDOC_SECTION
PsiElement(KDOC_TEXT)(' ')
KDOC_TAG
PsiElement(KDOC_TAG_NAME)('@param')
PsiWhiteSpace(' ')
KDOC_LINK
PsiElement(KDOC_TEXT_OR_LINK)('a')
PsiElement(KDOC_TEXT)(' this is a ')
PsiElement(KDOC_END)('*/')