diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-08 23:56:28 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-08 23:56:28 -0400 |
commit | fccf7e1cb5d2c0810e9b3a4c2cfb7355debbf819 (patch) | |
tree | 2704f3bfcc3c6a8b1d0ba5dc03397284f174c418 /src/expr.h | |
parent | f50def86c4a1203837a8f97066d9d4dfd268e0f1 (diff) | |
download | fork-ledger-fccf7e1cb5d2c0810e9b3a4c2cfb7355debbf819.tar.gz fork-ledger-fccf7e1cb5d2c0810e9b3a4c2cfb7355debbf819.tar.bz2 fork-ledger-fccf7e1cb5d2c0810e9b3a4c2cfb7355debbf819.zip |
Fixes to the new Python/scope integration code.
Diffstat (limited to 'src/expr.h')
-rw-r--r-- | src/expr.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -141,6 +141,13 @@ public: return calc(*context); } + scope_t * get_context() { + return context; + } + void set_context(scope_t * scope) { + context = scope; + } + bool is_constant() const; bool is_function() const; |