mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 18:48:20 +00:00
streamlining of constructing script-level tables
This commit is contained in:
parent
d1d9b9a1be
commit
a11ee9038b
4 changed files with 52 additions and 27 deletions
|
@ -49,7 +49,6 @@ namespace detail {
|
|||
class ScriptFunc;
|
||||
class Frame;
|
||||
class PrefixTable;
|
||||
class CompositeHash;
|
||||
class HashKey;
|
||||
class TablePatternMatcher;
|
||||
|
||||
|
@ -930,7 +929,7 @@ public:
|
|||
|
||||
const PDict<TableEntryVal>* Get() const { return table_val; }
|
||||
|
||||
const detail::CompositeHash* GetTableHash() const { return table_hash; }
|
||||
const detail::CompositeHash* GetTableHash() const { return table_type->GetTableHash(); }
|
||||
|
||||
// Returns the size of the table.
|
||||
int Size() const;
|
||||
|
@ -1043,7 +1042,6 @@ protected:
|
|||
ValPtr DoClone(CloneState* state) override;
|
||||
|
||||
TableTypePtr table_type;
|
||||
detail::CompositeHash* table_hash;
|
||||
detail::AttributesPtr attrs;
|
||||
detail::ExprPtr expire_time;
|
||||
detail::ExprPtr expire_func;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue