libscratchcpp
A library for C++ based Scratch project players
Loading...
Searching...
No Matches
libscratchcpp::CompilerValue Class Reference

The CompilerValue class represents a local value in compiled code. More...

#include <scratchcpp/compilervalue.h>

Inheritance diagram for libscratchcpp::CompilerValue:

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
 

Detailed Description

The CompilerValue class represents a local value in compiled code.

Constructor & Destructor Documentation

◆ CompilerValue() [1/2]

CompilerValue::CompilerValue ( Compiler::StaticType type)

Constructs CompilerValue.

◆ CompilerValue() [2/2]

libscratchcpp::CompilerValue::CompilerValue ( const CompilerValue & )
delete

◆ ~CompilerValue()

virtual libscratchcpp::CompilerValue::~CompilerValue ( )
inlinevirtual

Member Function Documentation

◆ isConst()

virtual bool libscratchcpp::CompilerValue::isConst ( ) const
inlinevirtual

◆ setType()

void CompilerValue::setType ( Compiler::StaticType type)

Sets the type of this value.

◆ type()

Compiler::StaticType CompilerValue::type ( ) const

Returns the type of this value.


The documentation for this class was generated from the following files: