mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 02:28:21 +00:00
support for record extensions when using -O gen-standalone-C++
This commit is contained in:
parent
300b3788e2
commit
960931ba5c
7 changed files with 64 additions and 9 deletions
|
@ -618,11 +618,16 @@ public:
|
|||
|
||||
const detail::AttrPtr& GetAttr(detail::AttrTag a) const { return attrs ? attrs->Find(a) : detail::Attr::nil; }
|
||||
|
||||
const detail::Location* GetLocationInfo() const { return &loc; }
|
||||
|
||||
void DescribeReST(ODesc* d, bool roles_only = false) const;
|
||||
|
||||
TypePtr type;
|
||||
detail::AttributesPtr attrs;
|
||||
const char* id = nullptr;
|
||||
|
||||
private:
|
||||
detail::Location loc = detail::GetCurrentLocation();
|
||||
};
|
||||
|
||||
using type_decl_list = PList<TypeDecl>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue