Lines Matching refs:properties

141     properties = OrderedDict()
145 properties[k] = v
147 'properties': properties,
169 properties = OrderedDict()
172 properties['deprecated'] = self.node.GetProperty('deprecated')
175 properties[property_name.lower()] = True
182 if 'options' not in properties:
183 properties['options'] = {}
184 properties['options'][option_name] = sanitizer(self.node.GetProperty(
191 properties['description'] = parent_comment
196 properties['parameters'] = parameters
198 properties['returns'] = return_type
199 properties['name'] = name
201 properties['type'] = 'function'
203 properties = Typeref(self.node.GetProperty('TYPEREF'),
204 self.node, properties).process(callbacks)
207 if properties['type'] == 'integer':
209 elif properties['type'] == 'double':
211 properties['enum'] = enum_values
212 return name, properties
227 properties = self.additional_properties
228 result = properties
231 properties['optional'] = True
237 properties['type'] = 'array'
238 properties['items'] = OrderedDict()
239 properties = properties['items']
243 properties['type'] = 'string'
245 properties['type'] = 'boolean'
247 properties['type'] = 'number'
249 properties['type'] = 'integer'
251 properties['type'] = 'any'
253 properties['type'] = 'object'
254 if 'additionalProperties' not in properties:
255 properties['additionalProperties'] = OrderedDict()
256 properties['additionalProperties']['type'] = 'any'
259 properties['isInstanceOf'] = instance_of
261 properties['type'] = 'binary'
262 properties['isInstanceOf'] = 'ArrayBuffer'
264 properties['type'] = 'object'
265 properties['isInstanceOf'] = 'FileEntry'
266 if 'additionalProperties' not in properties:
267 properties['additionalProperties'] = OrderedDict()
268 properties['additionalProperties']['type'] = 'any'
271 properties['choices'] = [Typeref(node.GetProperty('TYPEREF'),
277 properties['type'] = 'function'
281 name = properties.get('name', None)
282 description = properties.get('description', None)
283 properties.update(callbacks[self.typeref])
285 properties['description'] = description
287 properties['name'] = name
289 properties['$ref'] = self.typeref
390 name, properties = Member(member).process(self.callbacks)
391 members.append(properties)