#include <pt-unop.h>
Inherits tree_expression.
Inherited by tree_postfix_expression, and tree_prefix_expression.
Public Member Functions | |
tree_unary_expression (int l=-1, int c=-1, octave_value::unary_op t=octave_value::unknown_unary_op) | |
tree_unary_expression (tree_expression *e, int l=-1, int c=-1, octave_value::unary_op t=octave_value::unknown_unary_op) | |
~tree_unary_expression (void) | |
bool | is_unary_expression (void) const |
bool | has_magic_end (void) const |
tree_expression * | operand (void) |
std::string | oper (void) const |
octave_value::unary_op | op_type (void) const |
Protected Attributes | |
tree_expression * | op |
octave_value::unary_op | etype |
tree_unary_expression::tree_unary_expression | ( | int | l = -1 , |
|
int | c = -1 , |
|||
octave_value::unary_op | t = octave_value::unknown_unary_op | |||
) | [inline] |
tree_unary_expression::tree_unary_expression | ( | tree_expression * | e, | |
int | l = -1 , |
|||
int | c = -1 , |
|||
octave_value::unary_op | t = octave_value::unknown_unary_op | |||
) | [inline] |
tree_unary_expression::~tree_unary_expression | ( | void | ) | [inline] |
bool tree_unary_expression::has_magic_end | ( | void | ) | const [inline, virtual] |
Implements tree_expression.
bool tree_unary_expression::is_unary_expression | ( | void | ) | const [inline, virtual] |
Reimplemented from tree_expression.
octave_value::unary_op tree_unary_expression::op_type | ( | void | ) | const [inline] |
std::string tree_unary_expression::oper | ( | void | ) | const [virtual] |
Reimplemented from tree_expression.
tree_expression* tree_unary_expression::operand | ( | void | ) | [inline] |
octave_value::unary_op tree_unary_expression::etype [protected] |
tree_expression* tree_unary_expression::op [protected] |