From 1b524f75401a6318fbaf3fee0bfcbe59348f2e51 Mon Sep 17 00:00:00 2001 From: _ov4 Date: Mon, 2 Feb 2026 10:08:22 +0000 Subject: Added STRING --- include/cps/AST.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include/cps/AST.h') diff --git a/include/cps/AST.h b/include/cps/AST.h index de57024..f07e937 100644 --- a/include/cps/AST.h +++ b/include/cps/AST.h @@ -32,6 +32,13 @@ public: bool getVal() const { return Val; } }; +class StringExprAST : public ExprAST { + std::string Val; +public: + StringExprAST(const std::string &Val) : Val(Val) {} + const std::string &getVal() const { return Val; } +}; + class VariableExprAST : public ExprAST { std::string Name; public: -- cgit v1.3.1-4-g156e