Lines Matching refs:obj
22 function transform({obj, kind, name, children, timestamp, rect, bounds, highlight, rects_transform,… property
30 var childs = call(childrenFunc, obj);
60 var kindResolved = call(kind, obj);
61 var nameResolved = call(name, obj);
62 var rectResolved = call(rect, obj);
65 call(stableId, obj);
71 obj: obj, property
72 timestamp: call(timestamp, obj),
74 …bounds: call(bounds, obj) || transformed_children.map((e) => e.bounds).find((e) => true) || undefi…
77 highlight: call(highlight, obj),
78 chips: call(chips, obj),
80 visible: call(visible, obj),
84 flattened: call(flattened, obj),
95 function transform_json(obj, name, options) { argument
101 if (skip && skip.includes(obj)) {
103 } else if ((formatted = formatter(obj))) {
105 } else if (Array.isArray(obj)) {
106 obj.forEach((e, i) => {
109 } else if (typeof obj == 'string') {
110 children.push(transform_json(null, obj, options));
111 } else if (typeof obj == 'number' || typeof obj == 'boolean') {
112 children.push(transform_json(null, ""+obj, options));
113 } else if (obj && typeof obj == 'object') {
114 Object.keys(obj).forEach((key) => {
115 children.push(transform_json(obj[key], key, options));