Implements indexing, currently can only be used with strings
This commit is contained in:
@@ -52,6 +52,10 @@ public:
|
||||
virtual bool operator !=(ScriptType* b){
|
||||
return ! (operator==(b));
|
||||
}
|
||||
|
||||
virtual bool CanBeIndexedWith(ScriptType* indexer);
|
||||
|
||||
virtual ScriptType* GetIndexedType(ScriptType* indexer);
|
||||
};
|
||||
|
||||
class NumericScriptType : public ScriptType{
|
||||
|
||||
Reference in New Issue
Block a user