class documentation

class FunctionDecl: (source)

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): (source)
overridden in mako.ast.FunctionArgs

Undocumented

def get_argument_expressions(self, as_call=False): (source)

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).

Undocumented

@property
allargnames = (source)

Undocumented