mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 00:58:19 +00:00
17 lines
381 B
C++
17 lines
381 B
C++
// See the file "COPYING" in the main distribution directory for copyright.
|
|
|
|
// Auxiliary information associated with expressions to aid script
|
|
// optimization.
|
|
|
|
#pragma once
|
|
|
|
namespace zeek::detail {
|
|
|
|
class ExprOptInfo {
|
|
public:
|
|
// The AST number of the statement in which this expression
|
|
// appears.
|
|
int stmt_num = -1; // -1 = not assigned yet
|
|
};
|
|
|
|
} // namespace zeek::detail
|