mirror of
https://codeberg.org/ProgramSnail/lang_2023.git
synced 2025-12-06 06:58:45 +00:00
returned / brounght value handling in execute_visitor (fixes)
This commit is contained in:
parent
f6b50b16ae
commit
bad48a1da0
5 changed files with 113 additions and 58 deletions
|
|
@ -16,6 +16,9 @@ using IdType = size_t;
|
|||
const std::string ClassInternalVarName = "self";
|
||||
const size_t MaxOperatorPrecedence = 4;
|
||||
|
||||
struct ValueReturnedMarker {};
|
||||
struct ValueBroughtMarker {};
|
||||
|
||||
enum class ReferenceModifier { Reference = 0, UniqueReference = 1, Dereference = 2 };
|
||||
enum class IsConstModifier { Const = 0, Var = 1 };
|
||||
enum class ClassInternalsModifier { Static = 0, Const = 1, Var = 2};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue