30 lines
484 B
C++
30 lines
484 B
C++
#pragma once
|
|
|
|
#include "../Statement.h"
|
|
|
|
#include <vector>
|
|
|
|
namespace AST
|
|
{
|
|
|
|
class Expression;
|
|
|
|
class ExpressionList : public Statement
|
|
{
|
|
|
|
public:
|
|
|
|
explicit ExpressionList (const Expression * pExpr);
|
|
virtual ~ExpressionList (void);
|
|
|
|
virtual EStatementType getStatementType (void) const { return(EXPRESSION_LIST); }
|
|
|
|
const std::vector<const Expression *> & getExpressions(void) const { return(m_aExpressions); }
|
|
|
|
private:
|
|
|
|
std::vector<const Expression *> m_aExpressions;
|
|
};
|
|
|
|
}
|