mirror of
https://github.com/zeek/zeek.git
synced 2025-10-11 02:58:20 +00:00
Allow named record constructors. Addresses #983.
This commit is contained in:
parent
d67123d0c3
commit
a0ad87b4c2
6 changed files with 105 additions and 7 deletions
|
@ -217,6 +217,11 @@ public:
|
|||
return tag == TYPE_TABLE && (YieldType() == 0);
|
||||
}
|
||||
|
||||
int IsTable() const
|
||||
{
|
||||
return tag == TYPE_TABLE && (YieldType() != 0);
|
||||
}
|
||||
|
||||
BroType* Ref() { ::Ref(this); return this; }
|
||||
|
||||
virtual void Describe(ODesc* d) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue