More fixes for boundscope

This commit is contained in:
2019-05-28 18:50:23 +02:00
parent 2c84c1e229
commit 6185f755a4
6 changed files with 58 additions and 20 deletions

View File

@@ -20,9 +20,19 @@ public:
_class = c;
}
virtual ~ScriptType() = default;
const TypeClass GetClass(){
return _class;
}
virtual bool operator ==(ScriptType b){
return _class == b._class;
};
virtual bool operator !=(ScriptType b){
return ! (operator==(b));
}
};
class NumericScriptType : public ScriptType{