2023-09-14 19:43:13 +03:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <vector>
|
|
|
|
|
#include <string>
|
|
|
|
|
#include <set>
|
|
|
|
|
#include "dvm.h"
|
2025-06-04 13:08:38 +03:00
|
|
|
#include "types.h"
|
2023-09-14 19:43:13 +03:00
|
|
|
|
|
|
|
|
SgExpression* createAndSetNext(const int side, const int variant, SgExpression *p);
|
|
|
|
|
std::vector<SgExpression*> genSubscripts(const std::vector<std::pair<int, int>> &shadowRenew, const std::vector<std::pair<int, int>> &shadowRenewShifts);
|
|
|
|
|
std::pair<SgExpression*, SgExpression*> genShadowSpec(SgFile *file, const std::pair<std::string, const std::vector<std::pair<int, int>>> &shadowSpecs);
|
|
|
|
|
void correctShadowSpec(SgExpression *spec, const std::vector<std::pair<int, int>> &shadowSpecs);
|