Files
scully/inc/AST/ValueList.h

28 lines
534 B
C
Raw Normal View History

2013-06-02 09:47:27 +02:00
/* The scully programming language.
*
* Copyright (c) Peter Dahlberg, Markus Hauschild and Florian Sattler, 2013.
* Licensed under the GNU GPL v2.
*/
2013-06-01 02:10:29 +02:00
#ifndef VALUELIST_H
#define VALUELIST_H
#include "AST/ASTElement.h"
#include "AST/Expression.h"
#include <vector>
class ValueList : public ASTElement {
public:
ValueList();
~ValueList();
virtual void accept(ASTVisitor* visitor);
void addValue(Expression* expr);
std::vector<Expression*> getValues();
private:
std::vector<Expression*> values_;
};
#endif // VALUELIST_H