Implements binding binary expressions

This commit is contained in:
2019-05-21 22:15:51 +02:00
parent c8183e5405
commit 62e938e039
5 changed files with 135 additions and 4 deletions

View File

@@ -20,7 +20,7 @@ public:
_class = c;
}
explicit virtual operator TypeClass(){
TypeClass GetClass(){
return _class;
}
};
@@ -35,6 +35,14 @@ public:
_awareOfFloat = floatAware;
_isFloat = isFloat;
}
bool IsAwareOfFloat(){
return _awareOfFloat;
}
bool IsFloat(){
return _isFloat;
}
};
#endif //PORYGONLANG_SCRIPTTYPE_HPP