mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
javadoc
This commit is contained in:
@@ -2,6 +2,7 @@ package com.jetbrains.python.psi;
|
||||
|
||||
import com.intellij.psi.PsiFile;
|
||||
import com.jetbrains.python.codeInsight.controlflow.ScopeOwner;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import java.util.List;
|
||||
@@ -28,6 +29,12 @@ public interface PyFile extends PyElement, PsiFile, PyDocStringOwner, ScopeOwner
|
||||
|
||||
List<PyFromImportStatement> getFromImports();
|
||||
|
||||
/**
|
||||
* Returns the list of import elements in all 'import xxx' statements within the file.
|
||||
*
|
||||
* @return the list of import targets.
|
||||
*/
|
||||
@NotNull
|
||||
List<PyImportElement> getImportTargets();
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user