WEB-61511 Move astUtil to a more specific package.

GitOrigin-RevId: cc92b0d48babd5d059a6d1bdf2cf578d941641e8
This commit is contained in:
Piotr Tomiak
2024-04-11 11:47:18 +00:00
committed by intellij-monorepo-bot
parent 2557bfd59f
commit 4739adbac3
2 changed files with 8 additions and 6 deletions
+4 -4
View File
@@ -462,10 +462,6 @@ com.intellij.lang.ASTNode
- a:replaceAllChildrenToChildrenOf(com.intellij.lang.ASTNode):V
- a:replaceChild(com.intellij.lang.ASTNode,com.intellij.lang.ASTNode):V
- a:textContains(C):Z
f:com.intellij.lang.AstUtilKt
- sf:children(com.intellij.lang.ASTNode):kotlin.sequences.Sequence
- sf:parents(com.intellij.lang.ASTNode,Z):kotlin.sequences.Sequence
- sf:siblings(com.intellij.lang.ASTNode,Z,Z):kotlin.sequences.Sequence
com.intellij.lang.CodeDocumentationAwareCommenter
- com.intellij.lang.Commenter
- a:getBlockCommentTokenType():com.intellij.psi.tree.IElementType
@@ -881,6 +877,10 @@ c:com.intellij.lang.injection.general.SimpleInjection
- getPrefix():java.lang.String
- getSuffix():java.lang.String
- getSupportId():java.lang.String
f:com.intellij.lang.tree.util.AstUtilKt
- sf:children(com.intellij.lang.ASTNode):kotlin.sequences.Sequence
- sf:parents(com.intellij.lang.ASTNode,Z):kotlin.sequences.Sequence
- sf:siblings(com.intellij.lang.ASTNode,Z,Z):kotlin.sequences.Sequence
c:com.intellij.lexer.DelegateLexer
- com.intellij.lexer.LexerBase
- pf:myDelegate:com.intellij.lexer.Lexer
@@ -1,5 +1,7 @@
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.lang
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.lang.tree.util
import com.intellij.lang.ASTNode
fun ASTNode.children(): Sequence<ASTNode> {
return generateSequence(firstChildNode) { it.treeNext }