Lines Matching defs:Origin
69 toplevel_origin = Origin(from_client=True, from_json=True)
77 class Origin(object):
78 """Stores the possible origin of model object as a pair of bools. These are:
105 - |origin| the Origin of the type
117 origin):
123 self.origin = origin
131 self.properties = _GetProperties(self, json, namespace, origin)
137 self, '%sType' % name, json['items'], namespace, origin)
172 origin)
188 origin)
196 self.function = Function(self, function_name, json, namespace, origin)
223 origin):
240 return Property(self, p['name'], p, namespace, origin)
260 Origin(from_client=True))
268 origin)
281 def __init__(self, parent, name, json, namespace, origin):
288 self.origin = origin
316 self.type_ = Type(parent, name, json, namespace, origin)
427 def _GetTypes(parent, json, namespace, origin):
432 origin)
445 Origin(from_json=True))
458 Origin(from_client=True))
462 def _GetProperties(parent, json, namespace, origin):
467 properties[name] = Property(parent, name, property_json, namespace, origin)