blob: 47d25546f58dc66568ec8328c4c86090dec0863a (
plain)
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
|
// Copyright 2019 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@generateCppClass
extern class CallHandlerInfo extends Struct {
callback: NonNullForeign|Undefined|Zero;
js_callback: NonNullForeign|Undefined|Zero;
data: Object;
}
@generateCppClass
extern class InterceptorInfo extends Struct {
getter: NonNullForeign|Zero|Undefined;
setter: NonNullForeign|Zero|Undefined;
query: NonNullForeign|Zero|Undefined;
descriptor: NonNullForeign|Zero|Undefined;
deleter: NonNullForeign|Zero|Undefined;
enumerator: NonNullForeign|Zero|Undefined;
definer: NonNullForeign|Zero|Undefined;
data: Object;
flags: Smi;
}
@generateCppClass
extern class AccessCheckInfo extends Struct {
callback: Foreign|Zero|Undefined;
named_interceptor: InterceptorInfo|Zero|Undefined;
indexed_interceptor: InterceptorInfo|Zero|Undefined;
data: Object;
}
type PropertyAttributes extends int32 constexpr 'PropertyAttributes';
type SideEffectType extends int32 constexpr 'SideEffectType';
bitfield struct AccessorInfoFlags extends uint31 {
all_can_read: bool: 1 bit;
all_can_write: bool: 1 bit;
is_special_data_property: bool: 1 bit;
is_sloppy: bool: 1 bit;
replace_on_access: bool: 1 bit;
getter_side_effect_type: SideEffectType: 2 bit;
setter_side_effect_type: SideEffectType: 2 bit;
initial_attributes: PropertyAttributes: 3 bit;
}
extern class AccessorInfo extends Struct {
name: Object;
flags: SmiTagged<AccessorInfoFlags>;
expected_receiver_type: Object;
setter: NonNullForeign|Zero;
getter: NonNullForeign|Zero;
js_getter: NonNullForeign|Zero;
data: Object;
}
|