Navigation

Operators and Keywords

Function List:

C++ API

tree_unary_expression Class Reference

#include <pt-unop.h>

Inherits tree_expression.

Inherited by tree_postfix_expression, and tree_prefix_expression.

Collaboration diagram for tree_unary_expression:

List of all members.


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_expressionoperand (void)
std::string oper (void) const
octave_value::unary_op op_type (void) const

Protected Attributes

tree_expressionop
octave_value::unary_op etype

Constructor & Destructor Documentation

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]


Member Function Documentation

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]


Member Data Documentation


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