#include <impulse_scm_ast.hpp>
◆ LitType
| Enumerator |
|---|
| INT | |
| FLOAT | |
| BOOL | |
| STRING | |
◆ kind()
| NodeKind impulse::compiler::ScmLiteral::kind |
( |
| ) |
const |
|
inlinenodiscardoverridevirtual |
◆ of_bool()
| std::shared_ptr< ScmLiteral > impulse::compiler::ScmLiteral::of_bool |
( |
bool | v | ) |
|
|
inlinestatic |
◆ of_float()
| std::shared_ptr< ScmLiteral > impulse::compiler::ScmLiteral::of_float |
( |
double | v | ) |
|
|
inlinestatic |
◆ of_int()
| std::shared_ptr< ScmLiteral > impulse::compiler::ScmLiteral::of_int |
( |
int64_t | v | ) |
|
|
inlinestatic |
◆ of_str()
| std::shared_ptr< ScmLiteral > impulse::compiler::ScmLiteral::of_str |
( |
std::string | v | ) |
|
|
inlinestatic |
◆ to_scm_string()
| std::string impulse::compiler::ScmLiteral::to_scm_string |
( |
| ) |
const |
|
inlinenodiscardoverridevirtual |
◆ bool_val
| bool impulse::compiler::ScmLiteral::bool_val {false} |
◆ float_val
| double impulse::compiler::ScmLiteral::float_val {0.0} |
◆ int_val
| int64_t impulse::compiler::ScmLiteral::int_val {0} |
◆ str_val
| std::string impulse::compiler::ScmLiteral::str_val |
◆ type
| LitType impulse::compiler::ScmLiteral::type |
The documentation for this class was generated from the following file: