Lines Matching refs:obj
17 function transform({obj, kind, name, children, timestamp, rect, bounds, highlight, rects_transform,… property
25 var childs = call(childrenFunc, obj);
55 var kindResolved = call(kind, obj);
56 var nameResolved = call(name, obj);
57 var rectResolved = call(rect, obj);
60 call(stableId, obj);
66 obj: obj, property
67 timestamp: call(timestamp, obj),
69 …bounds: call(bounds, obj) || transformed_children.map((e) => e.bounds).find((e) => true) || undefi…
72 highlight: call(highlight, obj),
73 chips: call(chips, obj),
75 visible: call(visible, obj),
79 flattened: call(flattened, obj),
90 function transform_json(obj, name, options) { argument
96 if (skip && skip.includes(obj)) {
98 } else if ((formatted = formatter(obj))) {
100 } else if (Array.isArray(obj)) {
101 obj.forEach((e, i) => {
104 } else if (typeof obj == 'string') {
105 children.push(transform_json(null, obj, options));
106 } else if (typeof obj == 'number' || typeof obj == 'boolean') {
107 children.push(transform_json(null, ""+obj, options));
108 } else if (obj && typeof obj == 'object') {
109 Object.keys(obj).forEach((key) => {
110 children.push(transform_json(obj[key], key, options));