|
libscratchcpp
A library for C++ based Scratch project players
|
The CompilerValue class represents a local value in compiled code. More...
#include <scratchcpp/compilervalue.h>

Public Member Functions | |
| CompilerValue (Compiler::StaticType type) | |
| CompilerValue (const CompilerValue &)=delete | |
| virtual | ~CompilerValue () |
| Compiler::StaticType | type () const |
| void | setType (Compiler::StaticType type) |
| virtual bool | isConst () const |
The CompilerValue class represents a local value in compiled code.
| CompilerValue::CompilerValue | ( | Compiler::StaticType | type | ) |
Constructs CompilerValue.
|
delete |
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in libscratchcpp::CompilerConstant.
| void CompilerValue::setType | ( | Compiler::StaticType | type | ) |
Sets the type of this value.
| Compiler::StaticType CompilerValue::type | ( | ) | const |
Returns the type of this value.