Spicy
hilti
toolchain
include
ast
types
address.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::type
{
10
12
class
Address
:
public
TypeBase
,
trait::isAllocable
{
13
public
:
14
Address
(
Meta
m =
Meta
()) :
TypeBase
(std::move(m)) {}
15
16
bool
operator==(
const
Address
&
/* other */
)
const
{
return
true
; }
17
19
auto
isEqual
(
const
Type
& other)
const
{
return
node::isEqual(
this
, other); }
21
auto
_isResolved
(ResolvedState* rstate)
const
{
return
true
; }
23
auto
properties
()
const
{
return
node::Properties
{}; }
24
};
25
26
}
// namespace hilti::type
hilti::type::Address::_isResolved
auto _isResolved(ResolvedState *rstate) const
Definition:
address.h:21
hilti::type::Address::isEqual
auto isEqual(const Type &other) const
Definition:
address.h:19
hilti::type::Address
Definition:
address.h:12
hilti::Meta
Definition:
meta.h:19
hilti::Type
Definition:
type.h:158
hilti::node::Properties
std::map< std::string, node::detail::PropertyValue > Properties
Definition:
node.h:97
hilti::TypeBase
Definition:
type.h:197
hilti::type::trait::isAllocable
Definition:
type.h:32
hilti::type::Address::properties
auto properties() const
Definition:
address.h:23
hilti::type
Definition:
type.h:25
Generated by
1.8.13