class documentation

class FunctionDecl(object):

Known subclasses: mako.ast.FunctionArgs

View In Hierarchy

function declaration
Method __init__ Undocumented
Method get​_argument​_expressions Return the argument declarations of this FunctionDecl as a printable list.
Instance Variable code Undocumented
Property allargnames Undocumented
def __init__(self, code, allow_kwargs=True, **exception_kwargs):
overridden in mako.ast.FunctionArgs

Undocumented

def get_argument_expressions(self, as_call=False):

Return the argument declarations of this FunctionDecl as a printable list.

By default the return value is appropriate for writing in a def; set as_call to true to build arguments to be passed to the function instead (assuming locals with the same names as the arguments exist).

code =

Undocumented

@property
allargnames =

Undocumented