renamed script optimization Attrs.h header to prepare for factoring large Compile.h

This commit is contained in:
Vern Paxson 2024-10-07 14:16:13 -07:00 committed by Christian Kreibich
parent 64de2dbf31
commit a2495d028e
3 changed files with 2 additions and 2 deletions

View file

@ -1,17 +0,0 @@
// 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
};
} // namespace zeek::detail