KT-1545, KT-3161 KDoc lexer & parser

This commit is contained in:
Sergey Rostov
2013-05-23 18:32:13 +04:00
committed by Mikhael Bogdanov
parent 2ad1bfa743
commit 5ff1f746d4
40 changed files with 1221 additions and 154 deletions
+8 -2
View File
@@ -25,7 +25,10 @@ JetFile: EOLsInComments.jet
REFERENCE_EXPRESSION
PsiElement(IDENTIFIER)('a')
PsiWhiteSpace('\n ')
PsiComment(DOC_COMMENT)('/** */')
KDoc
PsiElement(KDOC_START)('/**')
PsiWhiteSpace(' ')
PsiElement(KDOC_END)('*/')
PREFIX_EXPRESSION
OPERATION_REFERENCE
PsiElement(PLUS)('+')
@@ -72,7 +75,10 @@ JetFile: EOLsInComments.jet
REFERENCE_EXPRESSION
PsiElement(IDENTIFIER)('a')
PsiWhiteSpace(' ')
PsiComment(DOC_COMMENT)('/**\n */')
KDoc
PsiElement(KDOC_START)('/**')
PsiWhiteSpace('\n ')
PsiElement(KDOC_END)('*/')
PsiWhiteSpace(' ')
OPERATION_REFERENCE
PsiElement(PLUS)('+')