Spicy
hilti
toolchain
include
ast
types
network.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/type.h>
8
9
namespace
hilti
{
10
namespace
type {
11
13
class
Network
:
public
TypeBase
,
trait::isAllocable
{
14
public
:
15
Network
(
Meta
m =
Meta
()) :
TypeBase
(std::move(m)) {}
16
17
bool
operator==(
const
Network
&
/* other */
)
const
{
return
true
; }
18
20
auto
isEqual
(
const
Type
& other)
const
{
return
node::isEqual(
this
, other); }
22
auto
_isResolved
(ResolvedState* rstate)
const
{
return
true
; }
24
auto
properties
()
const
{
return
node::Properties
{}; }
25
};
26
27
}
// namespace type
28
}
// namespace hilti
hilti::type::Network
Definition:
network.h:13
hilti
hilti::type::Network::isEqual
auto isEqual(const Type &other) const
Definition:
network.h:20
hilti::Meta
Definition:
meta.h:18
hilti::Type
Definition:
type.h:159
hilti::node::Properties
std::map< std::string, node::detail::PropertyValue > Properties
Definition:
node.h:99
hilti::TypeBase
Definition:
type.h:198
hilti::type::Network::properties
auto properties() const
Definition:
network.h:24
hilti::type::Network::_isResolved
auto _isResolved(ResolvedState *rstate) const
Definition:
network.h:22
hilti::type::trait::isAllocable
Definition:
type.h:33
Generated by
1.8.13