diff options
author | Tim King <taking@cs.nyu.edu> | 2010-02-24 21:08:15 +0000 |
---|---|---|
committer | Tim King <taking@cs.nyu.edu> | 2010-02-24 21:08:15 +0000 |
commit | 3bc3eae0d3e36870b30636bd1e3eb52683e0dc17 (patch) | |
tree | e83352315485d8f08857276049969fc842fa2e93 /src/expr/node.h | |
parent | 4c1cb16059e6e484581873dfb3103851183ccc72 (diff) |
Committing small changes to attribute, and theory to avoid future merge problems for Moragn. Also cleaned up theory uf and ecdata, and updated both to reflect attribute. Should be close now.
Diffstat (limited to 'src/expr/node.h')
-rw-r--r-- | src/expr/node.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/expr/node.h b/src/expr/node.h index e1085a32a..03f3e9da3 100644 --- a/src/expr/node.h +++ b/src/expr/node.h @@ -325,6 +325,15 @@ template<bool ref_count> NodeTemplate uMinusNode() const; NodeTemplate multNode(const NodeTemplate& right) const; + /** + * Sets the given attribute of this node to the given value. + * @param attKind the kind of the atribute + * @param value the value to set the attribute to + */ + template<class AttrKind> + inline void setAttribute(const AttrKind& attKind, + const typename AttrKind::value_type& value); + private: /** @@ -334,14 +343,6 @@ template<bool ref_count> */ void debugPrint(); - /** - * Sets the given attribute of this node to the given value. - * @param attKind the kind of the atribute - * @param value the value to set the attribute to - */ - template<class AttrKind> - inline void setAttribute(const AttrKind& attKind, - const typename AttrKind::value_type& value); /** * Indents the given stream a given amount of spaces. |