mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
[python] Introduce PyArgumentsMapping.isComplete
(cherry picked from commit 64dca74e18a2ae8c4a64f6730093e59dbef6b671) IJ-CR-146869 GitOrigin-RevId: 42cc87410c38c09a65b38d2ca9389474f17ae8b6
This commit is contained in:
committed by
intellij-monorepo-bot
parent
e31c88a59e
commit
09fa8a0611
@@ -207,5 +207,12 @@ public interface PyCallExpression extends PyAstCallExpression, PyCallSiteExpress
|
||||
public Map<PyExpression, PyCallableParameter> getMappedTupleParameters() {
|
||||
return myMappedTupleParameters;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return true if there are no unmapped parameters and no unmapped arguments, false otherwise
|
||||
*/
|
||||
public boolean isComplete() {
|
||||
return getUnmappedParameters().isEmpty() && getUnmappedArguments().isEmpty();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user