OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
Classes | Typedefs | Enumerations | Functions
client::ast Namespace Reference

Classes

struct  tagged
 
struct  nil
 
struct  identifier
 
struct  quoted_string
 
struct  unary
 
struct  operation
 
struct  function_call
 
struct  expression
 

Typedefs

typedef boost::variant< nil,
bool, unsigned int, double,
identifier,
boost::recursive_wrapper
< unary >
, boost::recursive_wrapper
< function_call >
, boost::recursive_wrapper
< expression > > 
operand
 
typedef boost::variant
< expression, quoted_string
function_call_argument
 

Enumerations

enum  optoken {
  op_plus, op_minus, op_times, op_divide,
  op_positive, op_negative, op_not, op_equal,
  op_not_equal, op_less, op_less_equal, op_greater,
  op_greater_equal, op_and, op_or
}
 

Functions

std::ostream & operator<< (std::ostream &out, nil)
 
std::ostream & operator<< (std::ostream &out, identifier const &id)
 

Typedef Documentation

Definition at line 59 of file ast.hpp.

typedef boost::variant< nil , bool , unsigned int , double , identifier , boost::recursive_wrapper<unary> , boost::recursive_wrapper<function_call> , boost::recursive_wrapper<expression> > client::ast::operand

Definition at line 53 of file ast.hpp.

Enumeration Type Documentation

Enumerator
op_plus 
op_minus 
op_times 
op_divide 
op_positive 
op_negative 
op_not 
op_equal 
op_not_equal 
op_less 
op_less_equal 
op_greater 
op_greater_equal 
op_and 
op_or 

Definition at line 61 of file ast.hpp.

Function Documentation

std::ostream& client::ast::operator<< ( std::ostream &  out,
nil   
)
inline

Definition at line 105 of file ast.hpp.

std::ostream& client::ast::operator<< ( std::ostream &  out,
identifier const &  id 
)
inline

Definition at line 110 of file ast.hpp.