Loading...
Searching...
No Matches
ases.hpp
Go to the documentation of this file.
1
2
#pragma once
3
4
#include "
core/type/as/tas.hpp
"
5
#include "
core/builtin/container/native/tnarr.hpp
"
6
7
namespace
by {
8
13
class
_nout
ases
:
public
tnarr
<aser>,
public
asable
{
14
BY(
CLASS
(
ases
,
tnarr<aser>
))
15
16
public
:
17
ases
();
18
19
template
<
typename
...
Es
>
explicit
ases
(
const
Es
&...
elems
): super(
elems
...) {}
20
21
public
:
22
using
asable::is;
23
nbool
is(
const
type& from,
const
type&
to
)
const override
;
24
25
using
asable::as;
26
str
as(
const
node
& from,
const
type&
to
)
const override
;
27
};
28
}
by::asable
Type conversion interface.
Definition
asable.hpp:12
by::ases
Collection of type converters.
Definition
ases.hpp:13
by::node
Base class for all AST nodes in the byeol language.
Definition
node.hpp:195
by::tnarr
Definition
tnarr.hpp:9
tas.hpp
tnarr.hpp
to Top