mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 23:31:05 +07:00
PY-61639 Lift PyFile.getTopLevelAttributes(), PyFile.findTopLevelAttribute() to PyAstFile
GitOrigin-RevId: 373accde23bb2c55d1d23266da7874e34da96ea3
This commit is contained in:
committed by
intellij-monorepo-bot
parent
f818966298
commit
c90db007c0
@@ -222,11 +222,6 @@ public class PyFileImpl extends PsiFileBase implements PyFile, PyExpression {
|
||||
return findByName(name, getTopLevelClasses());
|
||||
}
|
||||
|
||||
@Override
|
||||
public PyTargetExpression findTopLevelAttribute(@NotNull String name) {
|
||||
return findByName(name, getTopLevelAttributes());
|
||||
}
|
||||
|
||||
@Override
|
||||
public @NotNull List<PyTypeAliasStatement> getTypeAliasStatements() {
|
||||
return PyPsiUtils.collectStubChildren(this, getGreenStub(), PyTypeAliasStatement.class);
|
||||
|
||||
Reference in New Issue
Block a user