libscratchcpp
A library for C++ based Scratch project players
Toggle main menu visibility
Loading...
Searching...
No Matches
compilervalue.h
Go to the documentation of this file.
1
// SPDX-License-Identifier: Apache-2.0
2
3
#pragma once
4
5
#include "
compiler.h
"
6
7
namespace
libscratchcpp
8
{
9
10
class
CompilerValuePrivate;
11
13
class
LIBSCRATCHCPP_EXPORT
CompilerValue
14
{
15
public
:
16
CompilerValue
(
Compiler::StaticType
type
);
17
CompilerValue
(
const
CompilerValue
&) =
delete
;
18
virtual
~CompilerValue
() { }
19
20
Compiler::StaticType
type()
const
;
21
void
setType(
Compiler::StaticType
type);
22
23
virtual
bool
isConst
()
const
{
return
false
; };
24
25
private
:
26
spimpl::unique_impl_ptr<CompilerValuePrivate> impl;
27
};
28
29
}
// namespace libscratchcpp
libscratchcpp::CompilerValue::type
Compiler::StaticType type() const
Definition
compilervalue.cpp:16
libscratchcpp::CompilerValue::~CompilerValue
virtual ~CompilerValue()
Definition
compilervalue.h:18
libscratchcpp::CompilerValue::CompilerValue
CompilerValue(const CompilerValue &)=delete
libscratchcpp::CompilerValue::isConst
virtual bool isConst() const
Definition
compilervalue.h:23
libscratchcpp::CompilerValue::CompilerValue
CompilerValue(Compiler::StaticType type)
Definition
compilervalue.cpp:10
libscratchcpp::Compiler::StaticType
StaticType
Definition
compiler.h:36
compiler.h
LIBSCRATCHCPP_EXPORT
#define LIBSCRATCHCPP_EXPORT
Definition
global.h:17
libscratchcpp
The main namespace of the library.
Definition
asset.h:10
include
scratchcpp
compilervalue.h
Generated by
1.17.0