paularmstrong/swig — pull request #182 by fzaninotto (2013-01-18 08:23:24+00:00)
Title: Template variables can now execute functions and methods

Before:
```django

Hi, this is {{ user.fullName() }}

```

Would return nothing, even though `fullName()` is a real function. This PR fixes it.

Function call executes in the scope of the variable, which means that in this example, if `fullName()` uses`this`, it refers to `user`.

Refs #174, #151, #145, #140, #100, #90, #89