rope.base.oi.memorydb ===================== .. py:module:: rope.base.oi.memorydb Classes ------- .. autoapisummary:: rope.base.oi.memorydb.MemoryDB rope.base.oi.memorydb.FileInfo rope.base.oi.memorydb.ScopeInfo Module Contents --------------- .. py:class:: MemoryDB(project, persist=None) Bases: :py:obj:`rope.base.oi.objectdb.FileDict` dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object's (key, value) pairs dict(iterable) -> new dictionary initialized as if via: d = {} for k, v in iterable: d[k] = v dict(**kwargs) -> new dictionary initialized with the name=value pairs in the keyword argument list. For example: dict(one=1, two=2) .. py:attribute:: project .. py:attribute:: files .. py:method:: keys() D.keys() -> a set-like object providing a view on D's keys .. py:method:: create(path) .. py:method:: rename(file, newfile) .. py:method:: write() .. py:property:: compress .. py:property:: persist .. py:class:: FileInfo(scopes) Bases: :py:obj:`rope.base.oi.objectdb.FileInfo` dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object's (key, value) pairs dict(iterable) -> new dictionary initialized as if via: d = {} for k, v in iterable: d[k] = v dict(**kwargs) -> new dictionary initialized with the name=value pairs in the keyword argument list. For example: dict(one=1, two=2) .. py:attribute:: scopes .. py:method:: create_scope(key) .. py:method:: keys() D.keys() -> a set-like object providing a view on D's keys .. py:class:: ScopeInfo Bases: :py:obj:`rope.base.oi.objectdb.ScopeInfo` .. py:attribute:: call_info .. py:attribute:: per_name .. py:method:: get_per_name(name) .. py:method:: save_per_name(name, value) .. py:method:: get_returned(parameters) .. py:method:: get_call_infos() .. py:method:: add_call(parameters, returned)