Minor: rename JetParserDefinition to KotlinParserDefinition in comments
This commit is contained in:
committed by
Nikolay Krasko
parent
ea4470a16a
commit
642ac2ec5e
@@ -224,7 +224,7 @@ public interface KtTokens {
|
|||||||
TokenSet WHITESPACES = TokenSet.create(TokenType.WHITE_SPACE);
|
TokenSet WHITESPACES = TokenSet.create(TokenType.WHITE_SPACE);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Don't add KDocTokens to COMMENTS TokenSet, because it is used in JetParserDefinition.getCommentTokens(),
|
* Don't add KDocTokens to COMMENTS TokenSet, because it is used in KotlinParserDefinition.getCommentTokens(),
|
||||||
* and therefor all COMMENTS tokens will be ignored by PsiBuilder.
|
* and therefor all COMMENTS tokens will be ignored by PsiBuilder.
|
||||||
*
|
*
|
||||||
* @see KtPsiUtil#isInComment(com.intellij.psi.PsiElement)
|
* @see KtPsiUtil#isInComment(com.intellij.psi.PsiElement)
|
||||||
|
|||||||
@@ -603,7 +603,7 @@ public class KtPsiUtil {
|
|||||||
/**
|
/**
|
||||||
* CommentUtilCore.isComment fails if element <strong>inside</strong> comment.
|
* CommentUtilCore.isComment fails if element <strong>inside</strong> comment.
|
||||||
*
|
*
|
||||||
* Also, we can not add KDocTokens to COMMENTS TokenSet, because it is used in JetParserDefinition.getCommentTokens(),
|
* Also, we can not add KDocTokens to COMMENTS TokenSet, because it is used in KotlinParserDefinition.getCommentTokens(),
|
||||||
* and therefor all COMMENTS tokens will be ignored by PsiBuilder.
|
* and therefor all COMMENTS tokens will be ignored by PsiBuilder.
|
||||||
*
|
*
|
||||||
* @param element
|
* @param element
|
||||||
|
|||||||
Reference in New Issue
Block a user