Navigation

Operators and Keywords

Function List:

C++ API

tree_boolean_expression Class Reference

#include <pt-binop.h>

Inherits tree_binary_expression.

Collaboration diagram for tree_boolean_expression:

List of all members.


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_expressiondup (symbol_table::scope_id scope, symbol_table::context_id context) const

Member Enumeration Documentation

Enumerator:
unknown 
bool_and 
bool_or 


Constructor & Destructor Documentation

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]


Member Function Documentation

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.


The documentation for this class was generated from the following files: