Mercurial > hg > octave-jordi
comparison src/pt-unop.h @ 7087:b04f0523558d
[project @ 2007-10-31 19:08:18 by jwe]
author | jwe |
---|---|
date | Wed, 31 Oct 2007 19:08:18 +0000 |
parents | a1dbe9d80eee |
children | 745a8299c2b5 |
comparison
equal
deleted
inserted
replaced
7086:625891845df5 | 7087:b04f0523558d |
---|---|
56 bool has_magic_end (void) const { return (op && op->has_magic_end ()); } | 56 bool has_magic_end (void) const { return (op && op->has_magic_end ()); } |
57 | 57 |
58 tree_expression *operand (void) { return op; } | 58 tree_expression *operand (void) { return op; } |
59 | 59 |
60 std::string oper (void) const; | 60 std::string oper (void) const; |
61 | |
62 octave_value::unary_op op_type (void) const { return etype; } | |
61 | 63 |
62 protected: | 64 protected: |
63 | 65 |
64 // The operand for the expression. | 66 // The operand for the expression. |
65 tree_expression *op; | 67 tree_expression *op; |