Permalink
Browse files

content: Include json encoded struct in CompletionResult.String()

  • Loading branch information...
1 parent fd65bba commit 3cbac91618877ae88c15fb9424b364920c3a5a99 @quarnster committed Mar 31, 2013
View

Large diffs are not rendered by default.

Oops, something went wrong.
View

Large diffs are not rendered by default.

Oops, something went wrong.
View

Large diffs are not rendered by default.

Oops, something went wrong.
View

Large diffs are not rendered by default.

Oops, something went wrong.
View

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -1,23 +1,44 @@
Fields:
+ // {"Name":{"Relative":"m_Module"},"Type":{"Name":{"Relative":"asIScriptModule *"}}}
asIScriptModule * m_Module //
+ // {"Name":{"Relative":"mEvStat"},"Type":{"Name":{"Relative":"ev_stat"}}}
ev_stat mEvStat //
+ // {"Name":{"Relative":"mLastmod"},"Type":{"Name":{"Relative":"long long"}}}
long long mLastmod //
+ // {"Name":{"Relative":"mListeners"},"Type":{"Name":{"Relative":"std::vector\u003cSmartPointer\u003cResourceUpdatedListener\u003e \u003e"}}}
std::vector<SmartPointer<ResourceUpdatedListener> > mListeners //
+ // {"Name":{"Relative":"mMutex"},"Type":{"Name":{"Relative":"Mutex"}}}
Mutex mMutex //
+ // {"Name":{"Relative":"mName"},"Type":{"Name":{"Relative":"StringID"}}}
StringID mName //
+ // {"Name":{"Relative":"mRefCount"},"Type":{"Name":{"Relative":"int"}}}
int mRefCount //
Methods:
+ // {"Name":{"Relative":"AddRef"},"Returns":[{"Name":{},"Type":{"Name":{"Relative":"void"}}}]}
void AddRef() //
+ // {"Name":{"Relative":"AddResourceUpdatedListener"},"Returns":[{"Name":{},"Type":{"Name":{"Relative":"void"}}}],"Parameters":[{"Name":{},"Type":{"Name":{"Relative":"ResourceUpdatedListener *listener"}}}]}
void AddResourceUpdatedListener(ResourceUpdatedListener *listener ) //
+ // {"Name":{"Relative":"DelRef"},"Returns":[{"Name":{},"Type":{"Name":{"Relative":"void"}}}]}
void DelRef() //
+ // {"Name":{"Relative":"GetFunction"},"Returns":[{"Name":{},"Type":{"Name":{"Relative":"asIScriptFunction *"}}}],"Parameters":[{"Name":{},"Type":{"Name":{"Relative":"const std::string &decl"}}}]}
asIScriptFunction * GetFunction(const std::string &decl ) //
+ // {"Name":{"Relative":"GetName"},"Returns":[{"Name":{},"Type":{"Name":{"Relative":"StringID"}}}]}
StringID GetName() //
+ // {"Name":{"Relative":"GetReferenceCount"},"Returns":[{"Name":{},"Type":{"Name":{"Relative":"int"}}}]}
int GetReferenceCount() //
+ // {"Name":{"Relative":"OnUpdated"},"Returns":[{"Name":{},"Type":{"Name":{"Relative":"void"}}}]}
void OnUpdated() //
+ // {"Name":{"Relative":"Open"},"Returns":[{"Name":{},"Type":{"Name":{"Relative":"std::istream *"}}}]}
std::istream * Open() //
+ // {"Name":{"Relative":"ReadAsString"},"Returns":[{"Name":{},"Type":{"Name":{"Relative":"void"}}}],"Parameters":[{"Name":{},"Type":{"Name":{"Relative":"char **data"}}},{"Name":{},"Type":{"Name":{"Relative":"int *size"}}}]}
void ReadAsString(char **data , int *size ) //
+ // {"Name":{"Relative":"Reload"},"Returns":[{"Name":{},"Type":{"Name":{"Relative":"void"}}}]}
void Reload() //
+ // {"Name":{"Relative":"Resource::Reload"},"Returns":[{"Name":{},"Type":{"Name":{"Relative":"void"}}}]}
void Resource::Reload() //
+ // {"Name":{"Relative":"RemoveResourceUpdatedListener"},"Returns":[{"Name":{},"Type":{"Name":{"Relative":"void"}}}],"Parameters":[{"Name":{},"Type":{"Name":{"Relative":"ResourceUpdatedListener *listener"}}}]}
void RemoveResourceUpdatedListener(ResourceUpdatedListener *listener ) //
+ // {"Name":{"Relative":"SetName"},"Returns":[{"Name":{},"Type":{"Name":{"Relative":"void"}}}],"Parameters":[{"Name":{},"Type":{"Name":{"Relative":"StringID"}}}]}
void SetName(StringID ) //
+ // {"Name":{"Relative":"Update"},"Returns":[{"Name":{},"Type":{"Name":{"Relative":"void"}}}]}
void Update() //
View

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -1,36 +1,71 @@
Methods:
+ // {"Name":{"Relative":"assign"},"Returns":[{"Name":{},"Type":{"Name":{"Relative":"void"}}}],"Parameters":[{"Name":{},"Type":{"Name":{"Relative":"size_type __n"}}},{"Name":{},"Type":{"Name":{"Relative":"const value_type &__val"}}}]}
void assign(size_type __n , const value_type &__val ) //
+ // {"Name":{"Relative":"assign"},"Returns":[{"Name":{},"Type":{"Name":{"Relative":"void"}}}],"Parameters":[{"Name":{},"Type":{"Name":{"Relative":"_InputIterator __first"}}},{"Name":{},"Type":{"Name":{"Relative":"_InputIterator __last"}}}]}
void assign(_InputIterator __first , _InputIterator __last ) //
+ // {"Name":{"Relative":"at"},"Returns":[{"Name":{},"Type":{"Name":{"Relative":"reference"}}}],"Parameters":[{"Name":{},"Type":{"Name":{"Relative":"size_type __n"}}}]}
reference at(size_type __n ) //
+ // {"Name":{"Relative":"at"},"Returns":[{"Name":{},"Type":{"Name":{"Relative":"const_reference"}}}],"Parameters":[{"Name":{},"Type":{"Name":{"Relative":"size_type __n"}}}]}
const_reference at(size_type __n ) //
+ // {"Name":{"Relative":"back"},"Returns":[{"Name":{},"Type":{"Name":{"Relative":"reference"}}}]}
reference back() //
+ // {"Name":{"Relative":"back"},"Returns":[{"Name":{},"Type":{"Name":{"Relative":"const_reference"}}}]}
const_reference back() //
+ // {"Name":{"Relative":"begin"},"Returns":[{"Name":{},"Type":{"Name":{"Relative":"iterator"}}}]}
iterator begin() //
+ // {"Name":{"Relative":"begin"},"Returns":[{"Name":{},"Type":{"Name":{"Relative":"const_iterator"}}}]}
const_iterator begin() //
+ // {"Name":{"Relative":"capacity"},"Returns":[{"Name":{},"Type":{"Name":{"Relative":"size_type"}}}]}
size_type capacity() //
+ // {"Name":{"Relative":"clear"},"Returns":[{"Name":{},"Type":{"Name":{"Relative":"void"}}}]}
void clear() //
+ // {"Name":{"Relative":"data"},"Returns":[{"Name":{},"Type":{"Name":{"Relative":"pointer"}}}]}
pointer data() //
+ // {"Name":{"Relative":"data"},"Returns":[{"Name":{},"Type":{"Name":{"Relative":"const_pointer"}}}]}
const_pointer data() //
+ // {"Name":{"Relative":"empty"},"Returns":[{"Name":{},"Type":{"Name":{"Relative":"bool"}}}]}
bool empty() //
+ // {"Name":{"Relative":"end"},"Returns":[{"Name":{},"Type":{"Name":{"Relative":"iterator"}}}]}
iterator end() //
+ // {"Name":{"Relative":"end"},"Returns":[{"Name":{},"Type":{"Name":{"Relative":"const_iterator"}}}]}
const_iterator end() //
+ // {"Name":{"Relative":"erase"},"Returns":[{"Name":{},"Type":{"Name":{"Relative":"iterator"}}}],"Parameters":[{"Name":{},"Type":{"Name":{"Relative":"iterator __position"}}}]}
iterator erase(iterator __position ) //
+ // {"Name":{"Relative":"erase"},"Returns":[{"Name":{},"Type":{"Name":{"Relative":"iterator"}}}],"Parameters":[{"Name":{},"Type":{"Name":{"Relative":"iterator __first"}}},{"Name":{},"Type":{"Name":{"Relative":"iterator __last"}}}]}
iterator erase(iterator __first , iterator __last ) //
+ // {"Name":{"Relative":"front"},"Returns":[{"Name":{},"Type":{"Name":{"Relative":"reference"}}}]}
reference front() //
+ // {"Name":{"Relative":"front"},"Returns":[{"Name":{},"Type":{"Name":{"Relative":"const_reference"}}}]}
const_reference front() //
+ // {"Name":{"Relative":"get_allocator"},"Returns":[{"Name":{},"Type":{"Name":{"Relative":"allocator_type"}}}]}
allocator_type get_allocator() //
+ // {"Name":{"Relative":"insert"},"Returns":[{"Name":{},"Type":{"Name":{"Relative":"iterator"}}}],"Parameters":[{"Name":{},"Type":{"Name":{"Relative":"iterator __position"}}},{"Name":{},"Type":{"Name":{"Relative":"const value_type &__x"}}}]}
iterator insert(iterator __position , const value_type &__x ) //
+ // {"Name":{"Relative":"insert"},"Returns":[{"Name":{},"Type":{"Name":{"Relative":"void"}}}],"Parameters":[{"Name":{},"Type":{"Name":{"Relative":"iterator __position"}}},{"Name":{},"Type":{"Name":{"Relative":"size_type __n"}}},{"Name":{},"Type":{"Name":{"Relative":"const value_type &__x"}}}]}
void insert(iterator __position , size_type __n , const value_type &__x ) //
+ // {"Name":{"Relative":"insert"},"Returns":[{"Name":{},"Type":{"Name":{"Relative":"void"}}}],"Parameters":[{"Name":{},"Type":{"Name":{"Relative":"iterator __position"}}},{"Name":{},"Type":{"Name":{"Relative":"_InputIterator __first"}}},{"Name":{},"Type":{"Name":{"Relative":"_InputIterator __last"}}}]}
void insert(iterator __position , _InputIterator __first , _InputIterator __last ) //
+ // {"Name":{"Relative":"max_size"},"Returns":[{"Name":{},"Type":{"Name":{"Relative":"size_type"}}}]}
size_type max_size() //
+ // {"Name":{"Relative":"pop_back"},"Returns":[{"Name":{},"Type":{"Name":{"Relative":"void"}}}]}
void pop_back() //
+ // {"Name":{"Relative":"push_back"},"Returns":[{"Name":{},"Type":{"Name":{"Relative":"void"}}}],"Parameters":[{"Name":{},"Type":{"Name":{"Relative":"const value_type &__x"}}}]}
void push_back(const value_type &__x ) //
+ // {"Name":{"Relative":"rbegin"},"Returns":[{"Name":{},"Type":{"Name":{"Relative":"reverse_iterator"}}}]}
reverse_iterator rbegin() //
+ // {"Name":{"Relative":"rbegin"},"Returns":[{"Name":{},"Type":{"Name":{"Relative":"const_reverse_iterator"}}}]}
const_reverse_iterator rbegin() //
+ // {"Name":{"Relative":"rend"},"Returns":[{"Name":{},"Type":{"Name":{"Relative":"reverse_iterator"}}}]}
reverse_iterator rend() //
+ // {"Name":{"Relative":"rend"},"Returns":[{"Name":{},"Type":{"Name":{"Relative":"const_reverse_iterator"}}}]}
const_reverse_iterator rend() //
+ // {"Name":{"Relative":"reserve"},"Returns":[{"Name":{},"Type":{"Name":{"Relative":"void"}}}],"Parameters":[{"Name":{},"Type":{"Name":{"Relative":"size_type __n"}}}]}
void reserve(size_type __n ) //
+ // {"Name":{"Relative":"resize"},"Returns":[{"Name":{},"Type":{"Name":{"Relative":"void"}}}],"Parameters":[{"Name":{},"Type":{"Name":{"Relative":"size_type __new_size"}}},{"Name":{},"Type":{"Name":{"Relative":"value_type __x"}}}]}
void resize(size_type __new_size , value_type __x ) //
+ // {"Name":{"Relative":"size"},"Returns":[{"Name":{},"Type":{"Name":{"Relative":"size_type"}}}]}
size_type size() //
+ // {"Name":{"Relative":"swap"},"Returns":[{"Name":{},"Type":{"Name":{"Relative":"void"}}}],"Parameters":[{"Name":{},"Type":{"Name":{"Relative":"std::vector\u003cStringID, std::allocator\u003cStringID\u003e \u003e &__x"}}}]}
void swap(std::vector<StringID, std::allocator<StringID> > &__x ) //
+ // {"Name":{"Relative":"vector"},"Returns":[{"Name":{},"Type":{"Name":{"Relative":"void"}}}],"Parameters":[{"Name":{},"Type":{"Name":{"Relative":"_InputIterator __first"}}},{"Name":{},"Type":{"Name":{"Relative":"_InputIterator __last"}}},{"Name":{},"Type":{"Name":{"Relative":"const allocator_type &__a"}}}]}
void vector(_InputIterator __first , _InputIterator __last , const allocator_type &__a ) //
View
@@ -1,6 +1,10 @@
Fields:
+ // {"Name":{"Relative":"mID"},"Type":{"Name":{"Relative":"unsigned int"}}}
unsigned int mID //
Methods:
+ // {"Name":{"Relative":"GetID"},"Returns":[{"Name":{},"Type":{"Name":{"Relative":"unsigned int"}}}]}
unsigned int GetID() //
+ // {"Name":{"Relative":"GetName"},"Returns":[{"Name":{},"Type":{"Name":{"Relative":"const std::string &"}}}]}
const std::string & GetName() //
+ // {"Name":{"Relative":"Load"},"Returns":[{"Name":{},"Type":{"Name":{"Relative":"void"}}}],"Parameters":[{"Name":{},"Type":{"Name":{"Relative":"const std::string &name"}}}]}
void Load(const std::string &name ) //
@@ -1,5 +1,8 @@
Fields:
+ // {"Name":{"Relative":"argc"},"Type":{"Name":{"Relative":"int"}}}
int argc //
+ // {"Name":{"Relative":"argv"},"Type":{"Name":{"Relative":"const char **"}}}
const char ** argv //
Methods:
+ // {"Name":{"Relative":"main"},"Returns":[{"Name":{},"Type":{"Name":{"Relative":"int"}}}],"Parameters":[{"Name":{},"Type":{"Name":{"Relative":"int argc"}}},{"Name":{},"Type":{"Name":{"Relative":"const char **argv"}}}]}
int main(int argc , const char **argv ) //
@@ -1,2 +1,3 @@
Fields:
+ // {"Name":{"Relative":"value"},"Type":{"Name":{"Relative":"float"}}}
float value //
@@ -1,5 +1,9 @@
Fields:
+ // {"Name":{"Relative":"_value"},"Type":{"Name":{"Relative":"float"}}}
float _value //
+ // {"Name":{"Relative":"privateVariable"},"Type":{"Name":{"Relative":"int"}}}
int privateVariable //
+ // {"Name":{"Relative":"protectedVariable"},"Type":{"Name":{"Relative":"int"}}}
int protectedVariable //
+ // {"Name":{"Relative":"publicVariable"},"Type":{"Name":{"Relative":"int"}}}
int publicVariable //
@@ -1,9 +1,16 @@
Fields:
+ // {"Name":{"Relative":"MyCategoryMethod"},"Type":{"Name":{"Relative":"void"}}}
void MyCategoryMethod //
+ // {"Name":{"Relative":"myworld"},"Type":{"Name":{"Relative":"void"}}}
void myworld //
+ // {"Name":{"Relative":"something"},"Type":{"Name":{"Relative":"void"}}}
void something //
+ // {"Name":{"Relative":"value"},"Type":{"Name":{"Relative":"float"}}}
float value //
+ // {"Name":{"Relative":"world2"},"Type":{"Name":{"Relative":"World *"}}}
World * world2 //
Methods:
+ // {"Name":{},"Returns":[{"Name":{},"Type":{"Name":{"Relative":"void"}}}],"Parameters":[{"Name":{"Relative":"setValue"},"Type":{"Name":{"Relative":"(float)"}}}]}
void ((float) setValue) //
+ // {"Name":{},"Returns":[{"Name":{},"Type":{"Name":{"Relative":"void"}}}],"Parameters":[{"Name":{"Relative":"setWorld2"},"Type":{"Name":{"Relative":"(World *)"}}}]}
void ((World *) setWorld2) //
Oops, something went wrong.

0 comments on commit 3cbac91

Please sign in to comment.