Split expressions into separate files
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#include "StatementExpression.h"
|
||||
|
||||
#include "Parser/Expression.h"
|
||||
#include "Parser/Expression/Expression.h"
|
||||
|
||||
StatementExpression::StatementExpression(shared_ptr<Expression> expression):
|
||||
Statement(StatementKind::EXPRESSION), expression(expression) { }
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "Parser/Parser.h"
|
||||
#include "Parser/Statement/Statement.h"
|
||||
|
||||
class StatementMetaExternFunction: public Statement {
|
||||
private:
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "Parser/Statement/StatementReturn.h"
|
||||
|
||||
#include "Parser/Expression.h"
|
||||
#include "Parser/Expression/Expression.h"
|
||||
|
||||
StatementReturn::StatementReturn(shared_ptr<Expression> expression):
|
||||
Statement(StatementKind::RETURN), expression(expression) { }
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "StatementVariable.h"
|
||||
|
||||
#include "Parser/Expression.h"
|
||||
#include "Parser/Expression/Expression.h"
|
||||
|
||||
static string valueTypeToString(ValueType valueType) {
|
||||
switch (valueType) {
|
||||
|
||||
Reference in New Issue
Block a user