toycalc Namespace Reference


Compounds

class  add
 Add two expression. More...

class  argument_list
 An argument list. More...

class  assign
 An assignment expression. More...

class  binary
 ABC for binary operators. More...

class  builtin
 Class for making built-in functions. More...

class  call
 A function call. More...

class  completer
 Completer for Toycalc. More...

class  declaration
 A variable declaration. More...

class  define
 An function definition. More...

class  divide
 Divide two expression. More...

class  expression
 ABC for all expressions. More...

class  function
 A function. More...

class  identifier
 An Identifier. More...

class  minus
 _________________________________________________________________ Negate an expression. More...

class  multiply
 Mutliply two expression. More...

class  number
 A simple number. More...

class  parameter_list
 A formal argument list. More...

class  parser
 The toycalc parser. More...

class  precedence
 Explicit precedence of an expression. More...

class  reference
 An assignment expression. More...

class  scanner
 Lexical scanner. More...

class  scope
 Execution scope . More...

class  streambuf
 Stream buffer to use with toycalc. More...

class  subtract
 Substract two expression. More...

class  toycalc
 The manager of variables and functions. More...

class  type
 A type. More...

class  unary
 ABC for unary operators. More...

class  variable
 An variable. More...

class  variable_base
 ABC for variables. More...


Functions

std::ostreamoperator<< (std::ostream &o, const expression &e)
std::ostreamoperator<< (std::ostream &o, const expression *e)
variable_basemake_variable (const std::string &n, type *t)
 A function to make a variable. More...

std::ostreamoperator<< (std::ostream &o, const variable_base &v)
template<typename Type> std::ostreamoperator<< (std::ostream &o, const variable< Type > &v)
std::ostreamoperator<< (std::ostream &o, const function &f)


Function Documentation

variable_base* make_variable const std::string   n,
type   t
[inline]
 

A function to make a variable.

Definition at line 100 of file funcvar.hh.

Referenced by toycalc::function::function(), and toycalc::parser::var_decl().

std::ostream& operator<< std::ostream   o,
const function   f
[inline]
 

Definition at line 171 of file funcvar.hh.

References f, and toycalc::function::show().

template<typename Type>
std::ostream& operator<< std::ostream   o,
const variable< Type > &    v
[inline]
 

Definition at line 165 of file funcvar.hh.

std::ostream& operator<< std::ostream   o,
const variable_base   v
[inline]
 

Definition at line 158 of file funcvar.hh.

References toycalc::variable_base::show().

std::ostream& operator<< std::ostream   o,
const expression   e
[inline]
 

Definition at line 72 of file expression.hh.

References toycalc::expression::show().

std::ostream& operator<< std::ostream   o,
const expression   e
[inline]
 

Definition at line 67 of file expression.hh.

References toycalc::expression::show().

Top of page
Last update Wed Feb 5 03:34:14 2003
Christian Holm
Created by DoxyGen 1.2.15