GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
chaiscript_common.hpp File Reference
#include <algorithm>
#include <memory>
#include <sstream>
#include <stdexcept>
#include <string>
#include <vector>
#include "../chaiscript_defines.hpp"
#include "../dispatchkit/boxed_value.hpp"
#include "../dispatchkit/dispatchkit.hpp"
#include "../dispatchkit/proxy_functions.hpp"
#include "../dispatchkit/type_info.hpp"
Include dependency graph for chaiscript_common.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  chaiscript::Name_Validator
struct  chaiscript::File_Position
 Convenience type for file positions. More...
struct  chaiscript::Parse_Location
struct  chaiscript::exception::load_module_error
 Thrown if an error occurs while attempting to load a binary module. More...
struct  chaiscript::exception::eval_error
 Errors generated during parsing or evaluation. More...
struct  chaiscript::exception::file_not_found_error
 Errors generated when loading a file. More...
struct  chaiscript::AST_Node
 Struct that doubles as both a parser ast_node and an AST node. More...
struct  chaiscript::AST_Node_Trace
class  chaiscript::parser::ChaiScript_Parser_Base
struct  chaiscript::eval::detail::Return_Value
 Special type for returned values. More...
struct  chaiscript::eval::detail::Break_Loop
 Special type indicating a call to 'break'. More...
struct  chaiscript::eval::detail::Continue_Loop
 Special type indicating a call to 'continue'. More...
struct  chaiscript::eval::detail::Scope_Push_Pop
 Creates a new scope then pops it on destruction. More...
struct  chaiscript::eval::detail::Function_Push_Pop
 Creates a new function call and pops it on destruction. More...
struct  chaiscript::eval::detail::Stack_Push_Pop
 Creates a new scope then pops it on destruction. More...

Namespaces

namespace  chaiscript
 Namespace chaiscript contains every API call that the average user will be concerned with.
namespace  chaiscript::exception
 Classes which may be thrown during error cases when ChaiScript is executing.
namespace  chaiscript::parser
 Classes and functions used during the parsing process.
namespace  chaiscript::eval
 Classes and functions that are part of the runtime eval system.
namespace  chaiscript::eval::detail

Typedefs

typedef ModulePtr(* chaiscript::Create_Module_Func) ()
 Signature of module entry point that all binary loadable modules must implement.
typedef std::unique_ptr< const AST_Node > chaiscript::AST_NodePtr_Const

Enumerations

enum class  chaiscript::AST_Node_Type {
  chaiscript::Id , chaiscript::Fun_Call , chaiscript::Unused_Return_Fun_Call , chaiscript::Arg_List ,
  chaiscript::Equation , chaiscript::Var_Decl , chaiscript::Assign_Decl , chaiscript::Array_Call ,
  chaiscript::Dot_Access , chaiscript::Lambda , chaiscript::Block , chaiscript::Scopeless_Block ,
  chaiscript::Def , chaiscript::While , chaiscript::If , chaiscript::For ,
  chaiscript::Ranged_For , chaiscript::Inline_Array , chaiscript::Inline_Map , chaiscript::Return ,
  chaiscript::File , chaiscript::Prefix , chaiscript::Break , chaiscript::Continue ,
  chaiscript::Map_Pair , chaiscript::Value_Range , chaiscript::Inline_Range , chaiscript::Try ,
  chaiscript::Catch , chaiscript::Finally , chaiscript::Method , chaiscript::Attr_Decl ,
  chaiscript::Logical_And , chaiscript::Logical_Or , chaiscript::Reference , chaiscript::Switch ,
  chaiscript::Case , chaiscript::Default , chaiscript::Noop , chaiscript::Class ,
  chaiscript::Binary , chaiscript::Arg , chaiscript::Global_Decl , chaiscript::Constant ,
  chaiscript::Compiled
}
 Types of AST nodes available to the parser and eval. More...
enum class  chaiscript::Operator_Precidence {
  chaiscript::Ternary_Cond , chaiscript::Logical_Or , chaiscript::Logical_And , chaiscript::Bitwise_Or ,
  chaiscript::Bitwise_Xor , chaiscript::Bitwise_And , chaiscript::Equality , chaiscript::Comparison ,
  chaiscript::Shift , chaiscript::Addition , chaiscript::Multiplication , chaiscript::Prefix
}