Spicy
spicy
toolchain
include
ast
statements
confirm.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/meta.h>
8
#include <hilti/ast/node.h>
9
#include <hilti/ast/statement.h>
10
11
namespace
spicy::statement
{
12
class
Confirm
:
public
hilti::NodeBase
,
public
hilti::trait::isStatement
{
13
public
:
14
Confirm
(
hilti::Meta
m =
hilti::Meta
()) :
hilti::NodeBase
(std::move(m)) {}
15
16
friend
bool
operator==(
const
Confirm
&,
const
Confirm
&) {
return
false
; }
17
18
// Statement interface.
19
auto
isEqual(
const
hilti::Statement& other)
const
{
return
hilti::node::isEqual(
this
, other); }
20
21
// Node interface.
22
auto
properties()
const
{
return
hilti::node::Properties
{}; }
23
};
24
}
// namespace spicy::statement
spicy::statement::Confirm
Definition:
confirm.h:12
spicy::statement
Definition:
confirm.h:11
hilti::Meta
Definition:
meta.h:19
hilti::trait::isStatement
Definition:
statement.h:14
hilti::node::Properties
std::map< std::string, node::detail::PropertyValue > Properties
Definition:
node.h:98
hilti::NodeBase
Definition:
node.h:360
Generated by
1.8.13