mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Name definers collected in ScopeImpl made PyImportedNameDefiner instances
This commit is contained in:
@@ -9,7 +9,7 @@ import org.jetbrains.annotations.Nullable;
|
||||
/**
|
||||
* @author yole
|
||||
*/
|
||||
public interface PyImportElement extends PyElement, NameDefiner, StubBasedPsiElement<PyImportElementStub> {
|
||||
public interface PyImportElement extends PyElement, PyImportedNameDefiner, StubBasedPsiElement<PyImportElementStub> {
|
||||
@Nullable
|
||||
PyReferenceExpression getImportReferenceExpression();
|
||||
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
package com.jetbrains.python.psi;
|
||||
|
||||
/**
|
||||
* Name definer that defines names imported somehow from other modules.
|
||||
*
|
||||
* @author vlan
|
||||
*/
|
||||
public interface PyImportedNameDefiner extends NameDefiner {
|
||||
}
|
||||
@@ -5,5 +5,5 @@ package com.jetbrains.python.psi;
|
||||
* User: dcheryasov
|
||||
* Date: Jul 28, 2008
|
||||
*/
|
||||
public interface PyStarImportElement extends PyElement, NameDefiner {
|
||||
public interface PyStarImportElement extends PyElement, PyImportedNameDefiner {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user