From f2b051ae3e28135cc02589f3f698c43743cca48e Mon Sep 17 00:00:00 2001 From: _ov4 Date: Fri, 27 Mar 2026 01:50:32 +0000 Subject: feat: generalize typed array support --- 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 f07e937..f24d987 100644 --- a/include/cps/AST.h +++ b/include/cps/AST.h @@ -32,6 +32,13 @@ public: bool getVal() const { return Val; } }; +class CharExprAST : public ExprAST { + char Val; +public: + CharExprAST(char Val) : Val(Val) {} + char getVal() const { return Val; } +}; + class StringExprAST : public ExprAST { std::string Val; public: -- cgit v1.3.1-4-g156e