@@ -28,7 +28,7 @@ def __init__(self, cursor: Cursor):
2828 self .name : str = cursor .displayname
2929
3030 def __repr__ (self ) -> str :
31- return "<py_cppmodel .Unmodelled {} {}>" .format (self .name , self .location )
31+ return "<xyz.cppmodel .Unmodelled {} {}>" .format (self .name , self .location )
3232
3333
3434class Type :
@@ -44,7 +44,7 @@ def __init__(self, cindex_type):
4444 self .pointee = None
4545
4646 def __repr__ (self ) -> str :
47- return "<py_cppmodel .Type {}>" .format (self .name )
47+ return "<xyz.cppmodel .Type {}>" .format (self .name )
4848
4949
5050class Member :
@@ -53,7 +53,7 @@ def __init__(self, cursor: Cursor):
5353 self .name : str = cursor .spelling
5454
5555 def __repr__ (self ) -> str :
56- return "<py_cppmodel .Member {} {}>" .format (self .type , self .name )
56+ return "<xyz.cppmodel .Member {} {}>" .format (self .type , self .name )
5757
5858
5959class FunctionArgument :
@@ -63,8 +63,8 @@ def __init__(self, type: Type, name: Optional[str] = None):
6363
6464 def __repr__ (self ) -> str :
6565 if self .name is None :
66- return "<py_cppmodel .FunctionArgument self.type.name>"
67- return "<py_cppmodel .FunctionArgument {} {}>" .format (self .type , self .name )
66+ return "<xyz.cppmodel .FunctionArgument self.type.name>"
67+ return "<xyz.cppmodel .FunctionArgument {} {}>" .format (self .type , self .name )
6868
6969
7070class _Function :
@@ -101,7 +101,7 @@ def __init__(self, cursor, namespaces=[]):
101101
102102 def __repr__ (self ) -> str :
103103 s = _Function .__repr__ (self )
104- return "<py_cppmodel .Function {}>" .format (s )
104+ return "<xyz.cppmodel .Function {}>" .format (s )
105105
106106 def __eq__ (self , f ) -> bool :
107107 if self .name != f .name :
@@ -132,7 +132,7 @@ def __repr__(self) -> str:
132132 s = "virtual {} = 0" .format (s )
133133 elif self .is_virtual :
134134 s = "virtual {}" .format (s )
135- return "<py_cppmodel .Method {}>" .format (s )
135+ return "<xyz.cppmodel .Method {}>" .format (s )
136136
137137
138138class Class :
@@ -163,7 +163,7 @@ def __init__(self, cursor: Cursor, namespaces: List[str]):
163163 self .base_classes .append (c .type .spelling )
164164
165165 def __repr__ (self ) -> str :
166- return "<py_cppmodel .Class {}>" .format (self .name )
166+ return "<xyz.cppmodel .Class {}>" .format (self .name )
167167
168168
169169class Model :
@@ -193,7 +193,7 @@ def is_error_in_current_file(diagnostic: Diagnostic) -> bool:
193193 self ._add_child_nodes (translation_unit .cursor , [])
194194
195195 def __repr__ (self ) -> str :
196- return "<py_cppmodel .Model filename={}, classes={}, functions={}>" .format (
196+ return "<xyz.cppmodel .Model filename={}, classes={}, functions={}>" .format (
197197 self .filename ,
198198 [c .name for c in self .classes ],
199199 [f .name for f in self .functions ],
0 commit comments