mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 07:38:19 +00:00
extensive rewrite of generation & execution of run-time initialization
This commit is contained in:
parent
bc3bf4ea6c
commit
e1a760e674
26 changed files with 3459 additions and 1580 deletions
19
src/script_opt/CPP/Attrs.h
Normal file
19
src/script_opt/CPP/Attrs.h
Normal file
|
@ -0,0 +1,19 @@
|
|||
// See the file "COPYING" in the main distribution directory for copyright.
|
||||
|
||||
// Definitions associated with type attributes.
|
||||
|
||||
#pragma once
|
||||
|
||||
namespace zeek::detail
|
||||
{
|
||||
|
||||
enum AttrExprType
|
||||
{
|
||||
AE_NONE, // attribute doesn't have an expression
|
||||
AE_CONST, // easy expression - a constant (ConstExpr)
|
||||
AE_NAME, // easy - a global (NameExpr)
|
||||
AE_RECORD, // an empty record cast to a given type
|
||||
AE_CALL, // everything else - requires a lambda, essentially
|
||||
};
|
||||
|
||||
} // zeek::detail
|
Loading…
Add table
Add a link
Reference in a new issue