Remove unused FlattenExpr

This commit is contained in:
Jon Siwek 2020-05-11 15:59:15 -07:00
parent 6147804b36
commit 40ee59f0c3
2 changed files with 1 additions and 63 deletions

View file

@ -50,7 +50,6 @@ enum BroExprTag : int {
EXPR_TABLE_COERCE,
EXPR_VECTOR_COERCE,
EXPR_SIZE,
EXPR_FLATTEN,
EXPR_CAST,
EXPR_IS,
EXPR_INDEX_SLICE_ASSIGN,
@ -735,18 +734,6 @@ protected:
IntrusivePtr<Val> Fold(Val* v) const override;
};
// An internal operator for flattening array indices that are records
// into a list of individual values.
class FlattenExpr final : public UnaryExpr {
public:
explicit FlattenExpr(IntrusivePtr<Expr> op);
protected:
IntrusivePtr<Val> Fold(Val* v) const override;
int num_fields;
};
class ScheduleTimer final : public Timer {
public:
ScheduleTimer(const EventHandlerPtr& event, zeek::Args args, double t);