30 lines
603 B
C++
30 lines
603 B
C++
/* The scully programming language.
|
|
*
|
|
* Copyright (c) Peter Dahlberg, Markus Hauschild and Florian Sattler, 2013.
|
|
* Licensed under the GNU GPL v2.
|
|
*/
|
|
|
|
#ifndef FUNCTIONCALLEXPRESSION_H
|
|
#define FUNCTIONCALLEXPRESSION_H
|
|
|
|
#include <string>
|
|
#include "AST/ValueList.h"
|
|
|
|
class FunctionCallExpression : public Expression
|
|
{
|
|
public:
|
|
FunctionCallExpression(std::string id, ValueList* values);
|
|
virtual ~FunctionCallExpression();
|
|
virtual void accept(ASTVisitor* visitor);
|
|
|
|
std::string getId();
|
|
ValueList* getValues();
|
|
|
|
private:
|
|
std::string id_;
|
|
ValueList* values_;
|
|
|
|
};
|
|
|
|
#endif // FUNCTIONCALLEXPRESSION_H
|