mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[python] make buildSubBlock and getChildIndent methods protected
It was asked for the Snakemake dialect GitOrigin-RevId: 4af5fda0908669c5ad8fee523f018502592b45a8
This commit is contained in:
committed by
intellij-monorepo-bot
parent
3ac3579399
commit
f8bcdc12c5
@@ -214,7 +214,7 @@ public class PyBlock implements ASTBlock {
|
||||
}
|
||||
}
|
||||
|
||||
private @NotNull PyBlock buildSubBlock(@NotNull ASTNode child) {
|
||||
protected @NotNull PyBlock buildSubBlock(@NotNull ASTNode child) {
|
||||
final IElementType parentType = myNode.getElementType();
|
||||
|
||||
final ASTNode grandParentNode = myNode.getTreeParent();
|
||||
@@ -1196,7 +1196,7 @@ public class PyBlock implements ASTBlock {
|
||||
return null;
|
||||
}
|
||||
|
||||
private @NotNull Indent getChildIndent(int newChildIndex) {
|
||||
protected @NotNull Indent getChildIndent(int newChildIndex) {
|
||||
final IElementType parentType = myNode.getElementType();
|
||||
final ASTNode afterNode = getAfterNode(newChildIndex);
|
||||
final ASTNode lastChild = getLastNonSpaceChild(myNode, false);
|
||||
|
||||
Reference in New Issue
Block a user