MCPcopy Create free account
hub / github.com/KhronosGroup/OpenCOLLADA / end

Method end

Externals/LibXML/python/generator.py:155–185  ·  view source on GitHub ↗
(self, tag)

Source from the content-addressed store, hash-verified

153 enum(attrs['type'],attrs['name'],attrs['value'])
154
155 def end(self, tag):
156 if debug:
157 print "end %s" % tag
158 if tag == 'function':
159 if self.function != None:
160 function(self.function, self.function_descr,
161 self.function_return, self.function_args,
162 self.function_file, self.function_cond)
163 self.in_function = 0
164 elif tag == 'arg':
165 if self.in_function == 1:
166 self.function_args.append([self.function_arg_name,
167 self.function_arg_type,
168 self.function_arg_info])
169 elif tag == 'return':
170 if self.in_function == 1:
171 self.function_return = [self.function_return_type,
172 self.function_return_info,
173 self.function_return_field]
174 elif tag == 'info':
175 str = ''
176 for c in self._data:
177 str = str + c
178 if self.in_function == 1:
179 self.function_descr = str
180 elif tag == 'cond':
181 str = ''
182 for c in self._data:
183 str = str + c
184 if self.in_function == 1:
185 self.function_cond = str
186
187
188def function(name, desc, ret, args, file, cond):

Callers 15

getVariableMethod · 0.45
removeVariableMethod · 0.45
setVariableMethod · 0.45
getFunctionMethod · 0.45
existsFunctionMethod · 0.45
addFunctionMethod · 0.45
findVariableMethod · 0.45
findFunctionMethod · 0.45
appendSymbolTableMethod · 0.45
toLowerCaseMethod · 0.45
toUpperCaseMethod · 0.45
visitMethod · 0.45

Calls 1

functionFunction · 0.85

Tested by

no test coverage detected