libscratchcpp
A library for C++ based Scratch project players
Loading...
Searching...
No Matches
compilerlocalvariable.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
7namespace libscratchcpp
8{
9
10class CompilerLocalVariablePrivate;
11
14{
15 public:
18
19 CompilerValue *ptr() const;
21
22 private:
23 spimpl::unique_impl_ptr<CompilerLocalVariablePrivate> impl;
24};
25
26} // namespace libscratchcpp
CompilerLocalVariable(const CompilerLocalVariable &)=delete
Compiler::StaticType type() const
Definition compilerlocalvariable.cpp:20
CompilerValue * ptr() const
Definition compilerlocalvariable.cpp:15
CompilerLocalVariable(CompilerValue *ptr)
Definition compilerlocalvariable.cpp:10
The CompilerValue class represents a local value in compiled code.
Definition compilervalue.h:14
StaticType
Definition compiler.h:36
#define LIBSCRATCHCPP_EXPORT
Definition global.h:17
The main namespace of the library.
Definition asset.h:10