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