diff options
Diffstat (limited to 'c_parser/include/ast_expression.hpp')
-rw-r--r-- | c_parser/include/ast_expression.hpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/c_parser/include/ast_expression.hpp b/c_parser/include/ast_expression.hpp new file mode 100644 index 0000000..f67d2d7 --- /dev/null +++ b/c_parser/include/ast_expression.hpp @@ -0,0 +1,24 @@ +#ifndef AST_EXPRESSION_HPP +#define AST_EXPRESSION_HPP + +#include "ast.hpp" + +#include <string> +#include <iostream> + +class Expression : public Base { +private: +public: + Expression() {} + + virtual void print() const { + + } + + virtual void push(const Base* _base) const { + std::cerr << "Can't call this function for this type" << std::endl; + (void)_base; + } +}; + +#endif |