Files
bits-runner-builder/src/Parser/Statement/Statement.h
Rafał Grodziński 2a5085cb21 Added ValueType class
2025-07-04 18:10:24 +09:00

29 lines
398 B
C++

#ifndef STATEMENT_H
#define STATEMENT_H
#include <iostream>
using namespace std;
enum class StatementKind {
EXPRESSION,
BLOCK,
RETURN,
FUNCTION,
VARIABLE,
ASSIGNMENT,
REPEAT,
META_EXTERN_FUNCTION
};
class Statement {
private:
StatementKind kind;
public:
Statement(StatementKind kind);
virtual ~Statement() { }
StatementKind getKind();
};
#endif