Spicy
spicy
toolchain
include
compiler
detail
coercion.h
1
// Copyright (c) 2020-2021 by the Zeek Project. See LICENSE for details.
2
3
#pragma once
4
5
#include <hilti/compiler/coercion.h>
6
7
#include <spicy/ast/aliases.h>
8
9
namespace
spicy::detail
{
10
12
std::optional<Ctor> coerceCtor(Ctor c,
const
Type& dst, bitmask<hilti::CoercionStyle> style);
14
std::optional<Type> coerceType(Type t,
const
Type& dst, bitmask<hilti::CoercionStyle> style);
15
16
}
// namespace spicy::detail
spicy::detail
Definition:
engine.h:16
Generated by
1.8.13