Minor: rename JetParserDefinition to KotlinParserDefinition in comments

This commit is contained in:
Nikolay Krasko
2015-11-13 23:01:59 +03:00
committed by Nikolay Krasko
parent ea4470a16a
commit 642ac2ec5e
2 changed files with 2 additions and 2 deletions
@@ -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