Navigation

Operators and Keywords

Function List:

C++ API

tree_constant Class Reference

#include <pt-const.h>

Inherits tree_expression.

Collaboration diagram for tree_constant:

List of all members.


Public Member Functions

 tree_constant (int l=-1, int c=-1)
 tree_constant (const octave_value &v, int l=-1, int c=-1)
 tree_constant (const octave_value &v, const std::string &ot, int l=-1, int c=-1)
 ~tree_constant (void)
bool has_magic_end (void) const
void * operator new (size_t size)
void operator delete (void *p, size_t size)
bool is_constant (void) const
void maybe_mutate (void)
void print (std::ostream &os, bool pr_as_read_syntax=false, bool pr_orig_txt=true)
void print_raw (std::ostream &os, bool pr_as_read_syntax=false, bool pr_orig_txt=true)
bool rvalue_ok (void) const
octave_value rvalue1 (int=1)
octave_value_list rvalue (int nargout)
tree_expressiondup (symbol_table::scope_id scope, symbol_table::context_id context) const
void accept (tree_walker &tw)
void stash_original_text (const std::string &s)
std::string original_text (void) const

Constructor & Destructor Documentation

tree_constant::tree_constant ( int  l = -1,
int  c = -1 
) [inline]

tree_constant::tree_constant ( const octave_value v,
int  l = -1,
int  c = -1 
) [inline]

tree_constant::tree_constant ( const octave_value v,
const std::string ot,
int  l = -1,
int  c = -1 
) [inline]

tree_constant::~tree_constant ( void   )  [inline]


Member Function Documentation

void tree_constant::accept ( tree_walker tw  )  [virtual]

Implements tree.

tree_expression * tree_constant::dup ( symbol_table::scope_id  scope,
symbol_table::context_id  context 
) const [virtual]

Implements tree_expression.

bool tree_constant::has_magic_end ( void   )  const [inline, virtual]

Implements tree_expression.

bool tree_constant::is_constant ( void   )  const [inline, virtual]

Reimplemented from tree_expression.

void tree_constant::maybe_mutate ( void   )  [inline]

void tree_constant::operator delete ( void *  p,
size_t  size 
) [inline]

void* tree_constant::operator new ( size_t  size  )  [inline]

std::string tree_constant::original_text ( void   )  const [inline, virtual]

Reimplemented from tree_expression.

void tree_constant::print ( std::ostream os,
bool  pr_as_read_syntax = false,
bool  pr_orig_txt = true 
)

void tree_constant::print_raw ( std::ostream os,
bool  pr_as_read_syntax = false,
bool  pr_orig_txt = true 
)

octave_value_list tree_constant::rvalue ( int  nargout  )  [virtual]

Reimplemented from tree_expression.

octave_value tree_constant::rvalue1 ( int  = 1  )  [inline, virtual]

Reimplemented from tree_expression.

bool tree_constant::rvalue_ok ( void   )  const [inline, virtual]

Reimplemented from tree_expression.

void tree_constant::stash_original_text ( const std::string s  )  [inline]


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