로딩중...
검색중...
일치하는것 없음
boolStela.hpp
이 파일의 문서화 페이지로 가기
1
2
#pragma once
3
4
#include "
stela/ast/valStela.hpp
"
5
6
namespace
by {
7
13
class
_nout
boolStela
:
public
valStela
{
14
BY(
CLASS
(
boolStela
,
valStela
),
VISIT
())
15
16
public
:
17
boolStela
(
nbool
val
,
const
std::string& name =
""
);
18
boolStela
(
const
std::string&
rawVal
,
const
std::string& name =
""
);
19
boolStela
(
const
nchar
*
rawVal
,
const
std::string& name =
""
);
20
// a bare literal like boolStela("true") must keep reaching the string ctor
21
// above, so the numeric ones are refused rather than left to convert.
22
boolStela
(
nint
val
,
const
std::string& name =
""
) =
delete
;
23
boolStela
(
nflt
val
,
const
std::string& name =
""
) =
delete
;
24
};
25
}
// namespace by
by::boolStela
Boolean literal — the BOOLVAL form of stela source.
Definition
boolStela.hpp:13
by::tweak
Weak reference smart pointer with type-safe access
Definition
tweak.hpp:16
by::valStela
Scalar value — the abstract base of every leaf form.
Definition
valStela.hpp:21
valStela.hpp
to Top