Spicy
stop.h
1 // Copyright (c) 2020-2021 by the Zeek Project. See LICENSE for details.
2 
3 #pragma once
4 
5 #include <utility>
6 
7 #include <hilti/ast/expression.h>
8 #include <hilti/ast/statement.h>
9 
10 #include <spicy/ast/aliases.h>
11 
12 namespace spicy {
13 namespace statement {
14 
17 public:
18  Stop(Meta m = Meta()) : hilti::NodeBase(std::move(m)) {}
19 
20  bool operator==(const Stop& /* other */) const { return true; }
21 
22  // Statement interface.
23  auto isEqual(const hilti::Statement& other) const { return hilti::node::isEqual(this, other); }
24 
25  // Node interface.
26  auto properties() const { return hilti::node::Properties{}; }
27 };
28 
29 } // namespace statement
30 } // namespace spicy
Definition: stop.h:16
Definition: meta.h:18
Definition: statement.h:14
std::map< std::string, node::detail::PropertyValue > Properties
Definition: node.h:99
Definition: node.h:358