mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PyStatementListContainer extends PyElement, so it can be used in methods like PsiTreeUtil#getParentOfType
This commit is contained in:
@@ -20,7 +20,7 @@ import org.jetbrains.annotations.NotNull;
|
||||
/**
|
||||
* @author Ilya.Kazakevich
|
||||
*/
|
||||
public interface PyStatementListContainer {
|
||||
public interface PyStatementListContainer extends PyElement {
|
||||
@NotNull
|
||||
PyStatementList getStatementList();
|
||||
}
|
||||
|
||||
@@ -20,6 +20,6 @@ package com.jetbrains.python.psi;
|
||||
* User: dcheryasov
|
||||
* Date: Mar 16, 2009 4:34:59 AM
|
||||
*/
|
||||
public interface PyStatementPart extends PyElement, PyStatementListContainer {
|
||||
public interface PyStatementPart extends PyStatementListContainer {
|
||||
PyStatementPart[] EMPTY_ARRAY = new PyStatementPart[0];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user