mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
introduce and use PyAssignmentStatement.isAssignmentTo()
This commit is contained in:
@@ -65,6 +65,7 @@ public class PyNames {
|
||||
public static final String ASSERT_IS_INSTANCE = "assertIsInstance";
|
||||
public static final String HAS_ATTR = "hasattr";
|
||||
|
||||
public static final String DOC = "__doc__";
|
||||
public static final String DOCFORMAT = "__docformat__";
|
||||
|
||||
public static final String DIRNAME = "dirname";
|
||||
|
||||
@@ -62,4 +62,6 @@ public interface PyAssignmentStatement extends PyStatement, NameDefiner {
|
||||
@Nullable
|
||||
PyExpression getLeftHandSideExpression();
|
||||
|
||||
boolean isAssignmentTo(@NotNull String name);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user