Module analysis.arguments
Utilities for handling arguments, calls, parameters and functions.
Copyright (C) 2005 Paul Boddie <paul@boddie.org.uk>
This software is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2 of the License, or (at your
option) any later version.
This software is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
Public License for more details.
You should have received a copy of the GNU General Public License
along with this library; see the file LICENCE.txt If not, write to the
Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA
Classes |
Parameters |
A class providing convenience methods giving information about
parameters. |
Function Summary |
|
unify (call,
function)
Unify the arguments from the given 'call' node with the parameters
from the given 'function' node. |
|
unify_arguments (args,
star_args,
dstar_args,
function)
NOTE: *args and **args are not properly supported yet. |
unify(call,
function)
Unify the arguments from the given 'call' node with the parameters
from the given 'function' node. Return a namespace dictionary
containing a mapping from parameter names to argument expressions.
-
|
unify_arguments(args,
star_args,
dstar_args,
function)
NOTE: *args and **args are not properly supported yet.
-
|