diff options
Diffstat (limited to 'giscanner/ast.py')
-rw-r--r-- | giscanner/ast.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/giscanner/ast.py b/giscanner/ast.py index 0c31b8a8..f0888171 100644 --- a/giscanner/ast.py +++ b/giscanner/ast.py @@ -882,6 +882,10 @@ class Parameter(TypeContainer): self.closure_name = None self.destroy_name = None + @property + def name(self): + return self.argname + class Return(TypeContainer): """A return value from a function.""" |