로딩중...
검색중...
일치하는것 없음
byeolMetaExtension.hpp
이 파일의 문서화 페이지로 가기
1
2#pragma once
3
4#include "core/common/dep.hpp"
5
6// overriding base type of `getType()`:
7#ifdef __BY__BASE_TYPE
8# undef __BY__BASE_TYPE
9# define __BY__BASE_TYPE ntype
10#endif
11
12// VISIT:
13// override `stela`'s macro.
14#ifdef __BY__DECL_VISIT_1
15# undef __BY__DECL_VISIT_1
16# define __BY__DECL_VISIT_1(SUPER) \
17 public: \
18 using SUPER::accept; \
19 void accept(const visitInfo& i, visitor& v) override; \
20 \
21 private:
22#endif
23
24#ifdef __BY__DECL_DEF_VISIT_1
25# undef __BY__DECL_DEF_VISIT_1
26# define __BY__DECL_DEF_VISIT_1(ME) \
27 void ME::accept(const visitInfo& i, visitor& v) { v.visit(i, *this); }
28#endif
to Top