Home
last modified time | relevance | path

Searched refs:json_type (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/devtools/scripts/
DCodeGeneratorFrontend.py72 def get_js(json_type): argument
73 if json_type == "boolean":
75 elif json_type == "string":
77 elif json_type == "array":
79 elif json_type == "object":
81 elif json_type == "integer":
83 elif json_type == "number":
85 elif json_type == "any":
88 raise Exception("Unknown type: %s" % json_type)
92 def __init__(self, json_type): argument
[all …]
/external/chromium_org/tools/json_schema_compiler/
Dmodel.py179 json_type = json.get('type', None)
180 if json_type == 'array':
187 elif 'enum' in json and json_type == 'string':
190 elif json_type == 'any':
192 elif json_type == 'binary':
194 elif json_type == 'boolean':
196 elif json_type == 'integer':
198 elif (json_type == 'double' or
199 json_type == 'number'):
201 elif json_type == 'string':
[all …]
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DCodeGeneratorInspector.py177 def get(json_type): argument
178 if json_type == "boolean":
180 elif json_type == "string":
182 elif json_type == "array":
184 elif json_type == "object":
186 elif json_type == "integer":
188 elif json_type == "number":
190 elif json_type == "any":
193 raise Exception("Unknown type: %s" % json_type)
800 json_type = type_data.get_json_type()
[all …]