로딩중...
검색중...
일치하는것 없음
numStela.hpp
이 파일의 문서화 페이지로 가기
1
2
#pragma once
3
4
#include "
stela/ast/valStela.hpp
"
5
6
namespace
by {
7
18
class
_nout
numStela
:
public
valStela
{
19
BY(
CLASS
(
numStela
,
valStela
),
VISIT
())
20
21
public
:
22
numStela
(
nint
val
,
const
std::string& name =
""
);
23
numStela
(
nflt
val
,
const
std::string& name =
""
);
24
numStela
(
const
std::string&
rawVal
,
const
std::string& name =
""
);
25
numStela
(
const
nchar
*
rawVal
,
const
std::string& name =
""
);
26
// without this, numStela(true) binds to the nint overload by promotion and
27
// stores "1". a boolean literal has its own node; it must not land here.
28
numStela
(
nbool
val
,
const
std::string& name =
""
) =
delete
;
29
};
30
}
// namespace by
by::numStela
Numeric literal — the INTVAL and FLTVAL forms of stela source.
Definition
numStela.hpp:18
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