Added ValueType class
This commit is contained in:
@@ -1,14 +1,16 @@
|
||||
#include "Parser/Statement/Statement.h"
|
||||
|
||||
class ValueType;
|
||||
|
||||
class StatementMetaExternFunction: public Statement {
|
||||
private:
|
||||
string name;
|
||||
vector<pair<string, ValueType>> arguments;
|
||||
ValueType returnValueType;
|
||||
vector<pair<string, shared_ptr<ValueType>>> arguments;
|
||||
shared_ptr<ValueType> returnValueType;
|
||||
|
||||
public:
|
||||
StatementMetaExternFunction(string name, vector<pair<string, ValueType>> arguments, ValueType returnValueType);
|
||||
StatementMetaExternFunction(string name, vector<pair<string, shared_ptr<ValueType>>> arguments, shared_ptr<ValueType> returnValueType);
|
||||
string getName();
|
||||
vector<pair<string, ValueType>> getArguments();
|
||||
ValueType getReturnValueType();
|
||||
vector<pair<string, shared_ptr<ValueType>>> getArguments();
|
||||
shared_ptr<ValueType> getReturnValueType();
|
||||
};
|
||||
Reference in New Issue
Block a user