mirror of
https://codeberg.org/ProgramSnail/lang_2023.git
synced 2026-01-25 13:07:13 +00:00
part of execute_visitor, fixes
This commit is contained in:
parent
359a65310b
commit
fcff4f9103
7 changed files with 249 additions and 65 deletions
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
#include <cstdlib>
|
||||
#include <vector>
|
||||
#include <string>
|
||||
#include <unordered_map>
|
||||
|
||||
namespace utils {
|
||||
|
|
@ -10,6 +11,8 @@ using std::size_t;
|
|||
|
||||
using IdType = size_t;
|
||||
|
||||
const std::string ClassInternalVarName = "self";
|
||||
|
||||
enum class ReferenceModifier { Reference = 0, UniqueReference = 1 };
|
||||
enum class IsConstModifier { Const = 0, Var = 1 };
|
||||
enum class ClassModifier { Struct = 0, Class = 1 };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue