MCPcopy Create free account
hub / github.com/lief-project/LIEF / Property>

Method Property>

api/python/src/ObjC/objects/pyProperty.cpp:8–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6namespace LIEF::objc::py {
7template<>
8void create<objc::Property>(nb::module_& m) {
9 nb::class_<objc::Property> prop(m, "Property",
10 R"doc(
11 This class represents a ``@property`` in Objective-C
12 )doc"_doc
13 );
14
15 prop
16 .def_prop_ro("name", &objc::Property::name,
17 R"doc(
18 Name of the property
19 )doc"_doc
20 )
21 .def_prop_ro("attribute", &objc::Property::attribute,
22 R"doc(
23 (raw) property's attributes (e.g. ``T@"NSString",C,D,N``)
24 )doc"_doc
25 )
26 ;
27}
28
29}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected