SourceForge.net Logo

/home/chris/Projects/eval/eval.hpp File Reference

A C++ like interface to eval::execution_context. More...

Go to the source code of this file.

Namespaces

namespace  eval
namespace  eval::detail

Classes

struct  eval::detail::eval_closure_str
struct  eval::detail::eval_closure_str_char
struct  eval::detail::eval_closure_str2
struct  eval::detail::eval_closure_val
struct  eval::detail::eval_closure_exp
struct  eval::detail::eval_closure_args
struct  eval::detail::push_back_
struct  eval::detail::push_back_::result< ContainerT, ItemT >
struct  eval::detail::declare_global_
struct  eval::detail::declare_global_::result< ExecutionContextT, NameT >
struct  eval::detail::lookup_global_
struct  eval::detail::lookup_global_::result< ExecutionContextT, NameT >
struct  eval::detail::call_function_
struct  eval::detail::call_function_::result< ExecutionContextT, NameT, ArgsVecT >
struct  eval::detail::call_method_
struct  eval::detail::call_method_::result< ExecutionContextT, NameT, ArgsVecT >
struct  eval::detail::call_operator_
struct  eval::detail::call_operator_::result< ExecutionContextT, NameT, LhsT, RhsT >
struct  eval::detail::wrap_literal_
struct  eval::detail::wrap_literal_::result< ValT >
struct  eval::detail::wrap_string_literal_
struct  eval::detail::wrap_string_literal_::result< StringT >
struct  eval::detail::eval_p
struct  eval::detail::eval_p::definition< ScannerT >
struct  eval::detail::space_comment_p
struct  eval::detail::space_comment_p::definition< ScannerT >
class  eval::file_not_found_exception
class  eval::syntax_error

Functions

const
boost::spirit::distinct_parser 
eval::detail::keyword_p ("a-zA-Z0-9_")
void eval::eval (execution_context &e, const char *code)
 Evaluates the text within the given execution context.
void eval::eval_file (execution_context &e, const char *filename)
 Calls eval() with the contents of the file.

Variables

phoenix::function< push_back_ >
const 
eval::detail::push_back = push_back_()
const phoenix::function
< declare_global_ > 
eval::detail::declare_global = declare_global_()
const phoenix::function
< lookup_global_ > 
eval::detail::lookup_global = lookup_global_()
const phoenix::function
< call_function_ > 
eval::detail::call_function = call_function_()
const phoenix::function
< call_method_ > 
eval::detail::call_method = call_method_()
const phoenix::function
< call_operator_ > 
eval::detail::call_operator = call_operator_()
const phoenix::function
< wrap_literal_ > 
eval::detail::wrap_literal = wrap_literal_()
const phoenix::function
< wrap_string_literal_ > 
eval::detail::wrap_string_literal = wrap_string_literal_()


Detailed Description

A C++ like interface to eval::execution_context.

This files is mostly an experimental and somewhat limited parser. The actual work is done in eval::execution_context.


Generated on Sat Sep 20 20:02:34 2008 for eval by  doxygen 1.5.6