blob: d43307246323aeff38fdcb32243e49ddc58c58d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
#ifndef PRIMITIVES_HPP
#define PRIMITIVES_HPP
#include "ast.hpp"
#include <cstdint>
class ParamList : public BaseList {
public:
ParamList();
ParamList(const Base* _param);
};
class Declarator : public BasePrimitive {
public:
Declarator(const std::string& _id);
virtual void printxml() const;
};
class Parameter : public BasePrimitive {
public:
Parameter(const std::string& _id);
virtual void printxml() const;
};
class Immediate : public BasePrimitive {
protected:
int32_t imm;
public:
Immediate(const int32_t& _imm);
virtual void printasm() const override;
};
#endif
|