diff options
| author | _ov4 <hausemasterstream@gmail.com> | 2026-03-27 01:50:32 +0000 |
|---|---|---|
| committer | _ov4 <hausemasterstream@gmail.com> | 2026-03-27 01:50:32 +0000 |
| commit | f2b051ae3e28135cc02589f3f698c43743cca48e (patch) | |
| tree | 91582f514eda6665c8283875dd0b3ee491cc62ea /include/cps/AST.h | |
| parent | 15f30a397a222e9256d41e8b8a7b6fff454b02da (diff) | |
feat: generalize typed array support
Diffstat (limited to 'include/cps/AST.h')
| -rw-r--r-- | include/cps/AST.h | 7 |
1 files changed, 7 insertions, 0 deletions
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: |
