Last active
May 29, 2016 03:00
-
-
Save sejr/eeb89b00a3b0a4619d3c3dbd146454d2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class ExpressionAST { | |
| public: | |
| virtual ~ExpressionAST() {} | |
| }; | |
| // Function call | |
| class FunctionCallAST : public ExpressionAST { | |
| std::string m_callee; | |
| std::vector<std::unique_ptr<ExpressionAST> > m_arguments; | |
| public: | |
| FunctionCallAST( | |
| const std::string &callee, | |
| std::vector<std::unique_ptr<ExpressionAST> > arguments) : | |
| m_callee(callee), m_arguments(std::move(arguments)) {} | |
| }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment