Add sources
This commit is contained in:
29
src/AST/Statements/ExpressionList.h
Normal file
29
src/AST/Statements/ExpressionList.h
Normal file
@@ -0,0 +1,29 @@
|
||||
#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;
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user