File tree Expand file tree Collapse file tree 25 files changed +305
-57
lines changed Expand file tree Collapse file tree 25 files changed +305
-57
lines changed Original file line number Diff line number Diff line change 7
7
#ifndef CHAISCRIPT_STDLIB_HPP_
8
8
#define CHAISCRIPT_STDLIB_HPP_
9
9
10
+ #include < map>
11
+ #include < memory>
12
+ #include < string>
13
+ #include < utility>
14
+ #include < vector>
15
+
10
16
#include " chaiscript_defines.hpp"
17
+ #include " dispatchkit/dispatchkit.hpp"
11
18
#include " dispatchkit/bootstrap.hpp"
12
19
#include " dispatchkit/bootstrap_stl.hpp"
20
+ #include " dispatchkit/boxed_value.hpp"
13
21
14
22
// / @file
15
23
// /
Original file line number Diff line number Diff line change 7
7
#ifndef CHAISCRIPT_BAD_BOXED_CAST_HPP_
8
8
#define CHAISCRIPT_BAD_BOXED_CAST_HPP_
9
9
10
+ #include < string>
11
+ #include < typeinfo>
12
+
10
13
#include " type_info.hpp"
11
14
15
+ namespace chaiscript {
16
+ class Type_Info ;
17
+ } // namespace chaiscript
18
+
12
19
namespace chaiscript
13
20
{
14
21
namespace exception
Original file line number Diff line number Diff line change 7
7
#ifndef CHAISCRIPT_BOOTSTRAP_HPP_
8
8
#define CHAISCRIPT_BOOTSTRAP_HPP_
9
9
10
+ #include < cstdint>
11
+ #include < exception>
12
+ #include < functional>
13
+ #include < iostream>
14
+ #include < map>
15
+ #include < memory>
16
+ #include < sstream>
17
+ #include < stdexcept>
18
+ #include < string>
19
+ #include < type_traits>
20
+ #include < vector>
21
+
22
+ #include " bad_boxed_cast.hpp"
23
+ #include " boxed_cast.hpp"
24
+ #include " boxed_number.hpp"
25
+ #include " boxed_value.hpp"
10
26
#include " dispatchkit.hpp"
27
+ #include " dynamic_cast_conversion.hpp"
11
28
#include " dynamic_object.hpp"
12
- #include " register_function.hpp"
13
29
#include " operators.hpp"
14
- #include " boxed_number.hpp"
15
- #include < sstream>
16
- #include < type_traits>
30
+ #include " proxy_constructors.hpp"
31
+ #include " proxy_functions.hpp"
32
+ #include " proxy_functions_detail.hpp"
33
+ #include " register_function.hpp"
34
+ #include " type_info.hpp"
17
35
18
36
namespace chaiscript
19
37
{
Original file line number Diff line number Diff line change 13
13
#ifndef CHAISCRIPT_BOOTSTRAP_STL_HPP_
14
14
#define CHAISCRIPT_BOOTSTRAP_STL_HPP_
15
15
16
- #include " dispatchkit.hpp"
16
+ #include < functional>
17
+ #include < iterator>
18
+ #include < memory>
19
+ #include < stdexcept>
20
+ #include < string>
21
+ #include < typeinfo>
22
+ #include < vector>
23
+
17
24
#include " bootstrap.hpp"
25
+ #include " boxed_value.hpp"
26
+ #include " dispatchkit.hpp"
27
+ #include " operators.hpp"
28
+ #include " proxy_constructors.hpp"
18
29
#include " register_function.hpp"
30
+ #include " type_info.hpp"
19
31
20
32
namespace chaiscript
21
33
{
Original file line number Diff line number Diff line change 7
7
#ifndef CHAISCRIPT_BOXED_CAST_HPP_
8
8
#define CHAISCRIPT_BOXED_CAST_HPP_
9
9
10
- #include " ../chaiscript_defines.hpp "
10
+ #include < type_traits >
11
11
12
- #include " type_info.hpp"
13
- #include " boxed_value.hpp"
12
+ #include " ../chaiscript_defines.hpp"
13
+ #include " ../chaiscript_threading.hpp"
14
+ #include " bad_boxed_cast.hpp"
14
15
#include " boxed_cast_helper.hpp"
16
+ #include " boxed_value.hpp"
15
17
#include " dynamic_cast_conversion.hpp"
18
+ #include " type_info.hpp"
16
19
17
- #include " ../chaiscript_threading.hpp"
20
+ namespace chaiscript {
21
+ class Dynamic_Cast_Conversions ;
22
+ namespace detail {
23
+ namespace exception {
24
+ class bad_any_cast ;
25
+ } // namespace exception
26
+ } // namespace detail
27
+ } // namespace chaiscript
18
28
19
29
namespace chaiscript
20
30
{
Original file line number Diff line number Diff line change 7
7
#ifndef CHAISCRIPT_BOXED_CAST_HELPER_HPP_
8
8
#define CHAISCRIPT_BOXED_CAST_HELPER_HPP_
9
9
10
- #include " type_info.hpp"
10
+ #include < functional>
11
+ #include < memory>
12
+ #include < type_traits>
13
+
11
14
#include " boxed_value.hpp"
15
+ #include " type_info.hpp"
12
16
13
17
14
18
namespace chaiscript
Original file line number Diff line number Diff line change 7
7
#ifndef CHAISCRIPT_BOXED_NUMERIC_HPP_
8
8
#define CHAISCRIPT_BOXED_NUMERIC_HPP_
9
9
10
- #include " boxed_value.hpp"
11
- #include " ../language/chaiscript_algebraic.hpp"
12
- #include < sstream>
13
10
#include < cstdint>
11
+ #include < sstream>
12
+ #include < string>
13
+
14
+ #include " ../language/chaiscript_algebraic.hpp"
15
+ #include " any.hpp"
16
+ #include " boxed_cast.hpp"
17
+ #include " boxed_cast_helper.hpp"
18
+ #include " boxed_value.hpp"
19
+ #include " type_info.hpp"
20
+
21
+ namespace chaiscript {
22
+ class Dynamic_Cast_Conversions ;
23
+ } // namespace chaiscript
14
24
15
25
namespace chaiscript
16
26
{
Original file line number Diff line number Diff line change 7
7
#ifndef CHAISCRIPT_BOXED_VALUE_HPP_
8
8
#define CHAISCRIPT_BOXED_VALUE_HPP_
9
9
10
- #include " type_info.hpp"
10
+ #include < functional>
11
+ #include < map>
12
+ #include < memory>
13
+ #include < type_traits>
11
14
12
15
#include " ../chaiscript_threading.hpp"
13
-
14
- #include < map>
15
16
#include " any.hpp"
17
+ #include " type_info.hpp"
16
18
17
19
namespace chaiscript
18
20
{
Original file line number Diff line number Diff line change 7
7
#ifndef CHAISCRIPT_DISPATCHKIT_HPP_
8
8
#define CHAISCRIPT_DISPATCHKIT_HPP_
9
9
10
- #include < typeinfo>
11
- #include < string>
10
+ #include < algorithm>
11
+ #include < cassert>
12
+ #include < deque>
13
+ #include < iostream>
14
+ #include < iterator>
15
+ #include < list>
12
16
#include < map>
17
+ #include < memory>
13
18
#include < set>
14
19
#include < stdexcept>
20
+ #include < string>
21
+ #include < typeinfo>
22
+ #include < utility>
15
23
#include < vector>
16
- #include < iostream>
17
- #include < deque>
18
- #include < list>
19
- #include < algorithm>
20
24
25
+ #include " ../chaiscript_defines.hpp"
26
+ #include " ../chaiscript_threading.hpp"
27
+ #include " boxed_cast.hpp"
28
+ #include " boxed_cast_helper.hpp"
21
29
#include " boxed_value.hpp"
22
- #include " type_info.hpp"
23
- #include " proxy_functions.hpp"
24
- #include " proxy_constructors.hpp"
30
+ #include " dynamic_cast_conversion.hpp"
25
31
#include " dynamic_object.hpp"
26
- #include " ../chaiscript_threading.hpp"
32
+ #include " proxy_constructors.hpp"
33
+ #include " proxy_functions.hpp"
34
+ #include " type_info.hpp"
35
+
36
+ namespace chaiscript {
37
+ class Boxed_Number ;
38
+ } // namespace chaiscript
39
+
40
+ namespace chaiscript {
41
+ namespace dispatch {
42
+ class Dynamic_Proxy_Function ;
43
+ class Proxy_Function_Base ;
44
+ struct Placeholder_Object ;
45
+ } // namespace dispatch
46
+ } // namespace chaiscript
27
47
28
48
29
49
// / \namespace chaiscript::dispatch
Original file line number Diff line number Diff line change 9
9
10
10
#include < memory>
11
11
#include < set>
12
+ #include < stdexcept>
13
+ #include < string>
14
+ #include < type_traits>
15
+ #include < typeinfo>
12
16
13
- #include " type_info.hpp"
14
- #include " boxed_value.hpp"
15
- #include " boxed_cast_helper.hpp"
17
+ #include " ../chaiscript_threading.hpp"
16
18
#include " bad_boxed_cast.hpp"
19
+ #include " boxed_cast_helper.hpp"
20
+ #include " boxed_value.hpp"
21
+ #include " type_info.hpp"
17
22
18
23
namespace chaiscript
19
24
{
Original file line number Diff line number Diff line change 7
7
#ifndef CHAISCRIPT_DYNAMIC_OBJECT_HPP_
8
8
#define CHAISCRIPT_DYNAMIC_OBJECT_HPP_
9
9
10
+ #include < cassert>
11
+ #include < map>
12
+ #include < memory>
13
+ #include < string>
14
+ #include < typeinfo>
10
15
#include < utility>
11
-
16
+ #include < vector>
17
+
18
+ #include " ../chaiscript_defines.hpp"
19
+ #include " boxed_cast.hpp"
20
+ #include " boxed_cast_helper.hpp"
21
+ #include " boxed_value.hpp"
22
+ #include " proxy_functions.hpp"
23
+ #include " type_info.hpp"
24
+
25
+ namespace chaiscript {
26
+ class Dynamic_Cast_Conversions ;
27
+ namespace dispatch {
28
+ class Proxy_Function_Base ;
29
+ } // namespace dispatch
30
+ } // namespace chaiscript
12
31
13
32
namespace chaiscript
14
33
{
Original file line number Diff line number Diff line change 7
7
#ifndef CHAISCRIPT_EXCEPTION_SPECIFICATION_HPP_
8
8
#define CHAISCRIPT_EXCEPTION_SPECIFICATION_HPP_
9
9
10
+ #include < memory>
11
+
12
+ #include " ../chaiscript_defines.hpp"
10
13
#include " boxed_cast.hpp"
11
14
15
+ namespace chaiscript {
16
+ class Boxed_Value ;
17
+ namespace exception {
18
+ class bad_boxed_cast ;
19
+ } // namespace exception
20
+ } // namespace chaiscript
21
+
12
22
namespace chaiscript
13
23
{
14
24
namespace detail
Original file line number Diff line number Diff line change 7
7
#ifndef CHAISCRIPT_FUNCTION_CALL_HPP_
8
8
#define CHAISCRIPT_FUNCTION_CALL_HPP_
9
9
10
+ #include < functional>
11
+ #include < iostream>
10
12
#include < string>
11
13
#include < vector>
12
- #include " proxy_functions.hpp"
13
- #include " function_call_detail.hpp"
14
14
15
+ #include " boxed_cast.hpp"
16
+ #include " function_call_detail.hpp"
17
+ #include " proxy_functions.hpp"
15
18
16
- #include < iostream>
19
+ namespace chaiscript {
20
+ class Boxed_Value ;
21
+ class Dynamic_Cast_Conversions ;
22
+ namespace detail {
23
+ template <typename T> struct Cast_Helper ;
24
+ } // namespace detail
25
+ } // namespace chaiscript
17
26
18
27
namespace chaiscript
19
28
{
Original file line number Diff line number Diff line change 7
7
#ifndef CHAISCRIPT_FUNCTION_CALL_DETAIL_HPP_
8
8
#define CHAISCRIPT_FUNCTION_CALL_DETAIL_HPP_
9
9
10
+ #include < algorithm>
11
+ #include < functional>
12
+ #include < memory>
10
13
#include < string>
14
+ #include < type_traits>
11
15
#include < vector>
16
+
17
+ #include " boxed_cast.hpp"
18
+ #include " boxed_number.hpp"
19
+ #include " boxed_value.hpp"
20
+ #include " dynamic_cast_conversion.hpp"
12
21
#include " proxy_functions.hpp"
13
22
14
23
namespace chaiscript
Original file line number Diff line number Diff line change 7
7
#ifndef CHAISCRIPT_HANDLE_RETURN_HPP_
8
8
#define CHAISCRIPT_HANDLE_RETURN_HPP_
9
9
10
- #include " boxed_value.hpp"
10
+ #include < functional>
11
+ #include < memory>
12
+ #include < stdexcept>
13
+ #include < string>
14
+ #include < vector>
15
+
11
16
#include " boxed_number.hpp"
17
+ #include " boxed_value.hpp"
12
18
#include " type_info.hpp"
13
- #include < string>
14
19
15
- #include < stdexcept>
16
- #include < vector>
20
+ namespace chaiscript {
21
+ class Boxed_Number ;
22
+ } // namespace chaiscript
17
23
18
24
namespace chaiscript
19
25
{
Original file line number Diff line number Diff line change 9
9
#define CHAISCRIPT_PROXY_FUNCTIONS_HPP_
10
10
11
11
12
- #include " boxed_value.hpp"
13
- #include " type_info.hpp"
12
+ #include < algorithm>
13
+ #include < cassert>
14
+ #include < functional>
15
+ #include < memory>
16
+ #include < stdexcept>
14
17
#include < string>
15
18
#include < type_traits>
16
- #include < stdexcept>
17
19
#include < vector>
18
- #include < cassert>
20
+
21
+ #include " ../chaiscript_defines.hpp"
22
+ #include " boxed_cast.hpp"
23
+ #include " boxed_cast_helper.hpp"
24
+ #include " boxed_value.hpp"
19
25
#include " proxy_functions_detail.hpp"
26
+ #include " type_info.hpp"
27
+
28
+ namespace chaiscript {
29
+ class Dynamic_Cast_Conversions ;
30
+ namespace exception {
31
+ class bad_boxed_cast ;
32
+ struct arity_error ;
33
+ } // namespace exception
34
+ } // namespace chaiscript
20
35
21
36
namespace chaiscript
22
37
{
Original file line number Diff line number Diff line change 7
7
#ifndef CHAISCRIPT_PROXY_FUNCTIONS_DETAIL_HPP_
8
8
#define CHAISCRIPT_PROXY_FUNCTIONS_DETAIL_HPP_
9
9
10
- #include " boxed_value.hpp"
10
+ #include < algorithm>
11
+ #include < functional>
12
+ #include < stdexcept>
13
+ #include < string>
14
+ #include < vector>
15
+
16
+ #include " ../chaiscript_defines.hpp"
11
17
#include " boxed_cast.hpp"
12
- #include " type_info .hpp"
18
+ #include " boxed_value .hpp"
13
19
#include " handle_return.hpp"
14
- #include < string >
20
+ #include " type_info.hpp "
15
21
16
- #include < stdexcept>
17
- #include < vector>
18
- #include < functional>
22
+ namespace chaiscript {
23
+ class Dynamic_Cast_Conversions ;
24
+ namespace exception {
25
+ class bad_boxed_cast ;
26
+ } // namespace exception
27
+ } // namespace chaiscript
19
28
20
29
namespace chaiscript
21
30
{
Original file line number Diff line number Diff line change 7
7
#ifndef CHAISCRIPT_REGISTER_FUNCTION_HPP_
8
8
#define CHAISCRIPT_REGISTER_FUNCTION_HPP_
9
9
10
- #include " dispatchkit.hpp"
10
+ #include < functional>
11
+ #include < type_traits>
12
+
11
13
#include " bind_first.hpp"
14
+ #include " dispatchkit.hpp"
15
+ #include " proxy_functions.hpp"
12
16
13
17
namespace chaiscript
14
18
{
Original file line number Diff line number Diff line change 7
7
#ifndef CHAISCRIPT_TYPE_INFO_HPP_
8
8
#define CHAISCRIPT_TYPE_INFO_HPP_
9
9
10
- #include < string>
11
- #include < typeinfo>
10
+ #include < functional>
12
11
#include < memory>
12
+ #include < string>
13
13
#include < type_traits>
14
+ #include < typeinfo>
14
15
15
16
namespace chaiscript
16
17
{
Original file line number Diff line number Diff line change 7
7
#ifndef CHAISCRIPT_ALGEBRAIC_HPP_
8
8
#define CHAISCRIPT_ALGEBRAIC_HPP_
9
9
10
+ #include < string>
11
+
10
12
#include " ../dispatchkit/dispatchkit.hpp"
11
13
12
14
namespace chaiscript
Original file line number Diff line number Diff line change 5
5
// http://www.chaiscript.com
6
6
7
7
#ifndef CHAISCRIPT_COMMON_HPP_
8
- #define CHAISCRIPT_COMMON_HPP_
8
+ #define CHAISCRIPT_COMMON_HPP_
9
9
10
+ #include < algorithm>
11
+ #include < memory>
10
12
#include < sstream>
13
+ #include < stdexcept>
14
+ #include < string>
15
+ #include < vector>
16
+
17
+ #include " ../chaiscript_defines.hpp"
18
+ #include " ../dispatchkit/boxed_value.hpp"
11
19
#include " ../dispatchkit/dispatchkit.hpp"
20
+ #include " ../dispatchkit/proxy_functions.hpp"
21
+ #include " ../dispatchkit/type_info.hpp"
22
+
23
+ namespace chaiscript {
24
+ struct AST_Node ;
25
+ } // namespace chaiscript
12
26
13
27
namespace chaiscript
14
28
{
Original file line number Diff line number Diff line change 7
7
#ifndef CHAISCRIPT_ENGINE_HPP_
8
8
#define CHAISCRIPT_ENGINE_HPP_
9
9
10
+ #include < cassert>
11
+ #include < cstring>
12
+ #include < algorithm>
10
13
#include < exception>
11
14
#include < fstream>
15
+ #include < functional>
16
+ #include < map>
17
+ #include < memory>
18
+ #include < mutex>
19
+ #include < set>
20
+ #include < stdexcept>
21
+ #include < string>
22
+ #include < vector>
12
23
13
24
#include " ../chaiscript_defines.hpp"
25
+ #include " ../chaiscript_threading.hpp"
26
+ #include " ../dispatchkit/boxed_cast_helper.hpp"
27
+ #include " ../dispatchkit/boxed_value.hpp"
28
+ #include " ../dispatchkit/dispatchkit.hpp"
29
+ #include " ../dispatchkit/dynamic_cast_conversion.hpp"
30
+ #include " ../dispatchkit/proxy_functions.hpp"
14
31
#include " chaiscript_common.hpp"
15
32
16
33
#if defined(__linux__) || defined(__unix__) || defined(__APPLE__)
28
45
#endif
29
46
30
47
31
- #include " chaiscript_prelude.chai"
32
- #include " chaiscript_parser.hpp"
33
48
#include " ../dispatchkit/exception_specification.hpp"
49
+ #include " chaiscript_parser.hpp"
50
+ #include " chaiscript_prelude.chai"
34
51
35
52
namespace chaiscript
36
53
{
Original file line number Diff line number Diff line change 7
7
#ifndef CHAISCRIPT_EVAL_HPP_
8
8
#define CHAISCRIPT_EVAL_HPP_
9
9
10
+ #include < assert.h>
11
+ #include < cstdlib>
12
+ #include < exception>
13
+ #include < functional>
14
+ #include < limits>
10
15
#include < map>
11
-
12
- #include " chaiscript_common.hpp"
16
+ #include < memory>
17
+ #include < ostream>
18
+ #include < stdexcept>
19
+ #include < string>
20
+ #include < vector>
21
+
22
+ #include " ../chaiscript_defines.hpp"
23
+ #include " ../dispatchkit/boxed_cast.hpp"
24
+ #include " ../dispatchkit/boxed_cast_helper.hpp"
25
+ #include " ../dispatchkit/boxed_number.hpp"
26
+ #include " ../dispatchkit/boxed_value.hpp"
27
+ #include " ../dispatchkit/dispatchkit.hpp"
28
+ #include " ../dispatchkit/proxy_functions.hpp"
29
+ #include " ../dispatchkit/proxy_functions_detail.hpp"
13
30
#include " ../dispatchkit/register_function.hpp"
31
+ #include " ../dispatchkit/type_info.hpp"
32
+ #include " chaiscript_algebraic.hpp"
33
+ #include " chaiscript_common.hpp"
34
+
35
+ namespace chaiscript {
36
+ namespace exception {
37
+ class bad_boxed_cast ;
38
+ } // namespace exception
39
+ } // namespace chaiscript
14
40
15
41
namespace chaiscript
16
42
{
Original file line number Diff line number Diff line change 7
7
#ifndef CHAISCRIPT_PARSER_HPP_
8
8
#define CHAISCRIPT_PARSER_HPP_
9
9
10
+ #include < cstdint>
11
+ #include < cstring>
10
12
#include < exception>
11
13
#include < fstream>
14
+ #include < iostream>
15
+ #include < memory>
12
16
#include < sstream>
13
- #include < cstring>
17
+ #include < string>
18
+ #include < vector>
14
19
20
+ #include " ../dispatchkit/boxed_value.hpp"
15
21
#include " chaiscript_common.hpp"
16
22
17
23
namespace chaiscript
Original file line number Diff line number Diff line change 7
7
#ifndef CHAISCRIPT_UTILITY_UTILITY_HPP_
8
8
#define CHAISCRIPT_UTILITY_UTILITY_HPP_
9
9
10
- #include " ../chaiscript.hpp"
11
10
#include < string>
11
+ #include < utility>
12
+ #include < vector>
13
+
14
+ #include " ../chaiscript.hpp"
15
+ #include " ../dispatchkit/proxy_functions.hpp"
16
+ #include " ../dispatchkit/type_info.hpp"
12
17
13
18
14
19
namespace chaiscript
You can’t perform that action at this time.
0 commit comments