#include <pt-binop.h>
Inherits tree_binary_expression.
Public Types | |
enum | type { unknown, bool_and, bool_or } |
Public Member Functions | |
tree_boolean_expression (int l=-1, int c=-1, type t=unknown) | |
tree_boolean_expression (tree_expression *a, tree_expression *b, int l=-1, int c=-1, type t=unknown) | |
~tree_boolean_expression (void) | |
bool | is_boolean_expression (void) const |
bool | rvalue_ok (void) const |
octave_value | rvalue1 (int nargout=1) |
octave_value_list | rvalue (int nargout) |
std::string | oper (void) const |
type | op_type (void) const |
tree_expression * | dup (symbol_table::scope_id scope, symbol_table::context_id context) const |
tree_boolean_expression::tree_boolean_expression | ( | int | l = -1 , |
|
int | c = -1 , |
|||
type | t = unknown | |||
) | [inline] |
tree_boolean_expression::tree_boolean_expression | ( | tree_expression * | a, | |
tree_expression * | b, | |||
int | l = -1 , |
|||
int | c = -1 , |
|||
type | t = unknown | |||
) | [inline] |
tree_boolean_expression::~tree_boolean_expression | ( | void | ) | [inline] |
tree_expression * tree_boolean_expression::dup | ( | symbol_table::scope_id | scope, | |
symbol_table::context_id | context | |||
) | const [virtual] |
Reimplemented from tree_binary_expression.
bool tree_boolean_expression::is_boolean_expression | ( | void | ) | const [inline, virtual] |
Reimplemented from tree_expression.
type tree_boolean_expression::op_type | ( | void | ) | const [inline] |
Reimplemented from tree_binary_expression.
std::string tree_boolean_expression::oper | ( | void | ) | const [virtual] |
Reimplemented from tree_binary_expression.
octave_value_list tree_boolean_expression::rvalue | ( | int | nargout | ) | [virtual] |
Reimplemented from tree_binary_expression.
octave_value tree_boolean_expression::rvalue1 | ( | int | nargout = 1 |
) | [virtual] |
Reimplemented from tree_binary_expression.
bool tree_boolean_expression::rvalue_ok | ( | void | ) | const [inline, virtual] |
Reimplemented from tree_binary_expression.