File: JavaScriptCore_Private.modulemap

package info (click to toggle)
webkit2gtk 2.51.1-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 455,340 kB
  • sloc: cpp: 3,865,253; javascript: 197,710; ansic: 165,177; python: 49,241; asm: 21,868; ruby: 18,095; perl: 16,926; xml: 4,623; sh: 2,409; yacc: 2,356; java: 2,019; lex: 1,330; pascal: 372; makefile: 210
file content (129 lines) | stat: -rw-r--r-- 3,489 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
framework module JavaScriptCore_Private [system] {
    // These ad-hoc explicit modules are the exhaustive set of headers that are both private and compatible
    // with both C and C++.

    explicit module APIIntegrityPrivate {
        header "APIIntegrityPrivate.h"
        export *
    }

    explicit module JSBasePrivate {
        header "JSBasePrivate.h"
        export *
    }

    explicit module JSContextPrivate {
        header "JSContextPrivate.h"
        export *
    }

    explicit module JSContextRefPrivate {
        header "JSContextRefPrivate.h"
        export *
    }

    explicit module JSHeapFinalizerPrivate {
        header "JSHeapFinalizerPrivate.h"
        export *
    }

    explicit module JSLockRefPrivate {
        header "JSLockRefPrivate.h"
        export *
    }

    explicit module JSMarkingConstraintPrivate {
        header "JSMarkingConstraintPrivate.h"
        export *
    }

    explicit module JSObjectRefPrivate {
        header "JSObjectRefPrivate.h"
        export *
    }

    explicit module JSRemoteInspector {
        header "JSRemoteInspector.h"
        export *
    }

    explicit module JSScript {
        header "JSScript.h"
        export *
    }

    explicit module JSScriptRefPrivate {
        header "JSScriptRefPrivate.h"
        export *
    }

    explicit module JSStringRefPrivate {
        header "JSStringRefPrivate.h"
        export *
    }

    explicit module JSValuePrivate {
        header "JSValuePrivate.h"
        export *
    }

    explicit module JSVirtualMachinePrivate {
        header "JSVirtualMachinePrivate.h"
        export *
    }

    explicit module JSWeakObjectMapRefPrivate {
        header "JSWeakObjectMapRefPrivate.h"
        export *
    }

    explicit module JSWeakPrivate {
        header "JSWeakPrivate.h"
        export *
    }

    explicit module MARReportCrashPrivate {
        header "MARReportCrashPrivate.h"
        export *
    }

    explicit module PASReportCrashPrivate {
        header "PASReportCrashPrivate.h"
        export *
    }

    explicit module Cxx {
        // This Cxx module is essentially "PrivateHeaders" minus any headers that do not actually require C++.

        umbrella "PrivateHeaders"

        // Ideally, no headers in this module should need `requires cplusplus` and instead just have
        // compile-time guards themselves. However, this is not practical due to the large private interface
        // surface of JSC that uses C++.
        requires cplusplus

        // These headers are already included via their dedicated separate modules above.
        exclude header "APIIntegrityPrivate.h"
        exclude header "JSBasePrivate.h"
        exclude header "JSContextPrivate.h"
        exclude header "JSContextRefPrivate.h"
        exclude header "JSHeapFinalizerPrivate.h"
        exclude header "JSLockRefPrivate.h"
        exclude header "JSMarkingConstraintPrivate.h"
        exclude header "JSObjectRefPrivate.h"
        exclude header "JSRemoteInspector.h"
        exclude header "JSScript.h"
        exclude header "JSScriptRefPrivate.h"
        exclude header "JSStringRefPrivate.h"
        exclude header "JSValuePrivate.h"
        exclude header "JSVirtualMachinePrivate.h"
        exclude header "JSWeakPrivate.h"
        exclude header "JSWeakObjectMapRefPrivate.h"
        exclude header "MARReportCrashPrivate.h"
        exclude header "PASReportCrashPrivate.h"

        explicit module * {
            export *
        }
    }
}