MCPcopy Index your code
hub / github.com/dataease/SQLBot / ObjectElement

Method ObjectElement

frontend/public/swagger-ui-bundle.js:46176–46196  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

46174 (this.ignoredFields = o || []),
46175 'function' == typeof i && (this.fieldPatternPredicate = i))
46176 }
46177 ObjectElement(s) {
46178 return (
46179 s.forEach((s, o, i) => {
46180 if (
46181 !this.ignoredFields.includes(serializers_value(o)) &&
46182 this.fieldPatternPredicate(serializers_value(o))
46183 ) {
46184 const a = this.specPath(s),
46185 u = this.toRefractedElement(a, s),
46186 _ = new Su.Pr(cloneDeep(o), u)
46187 ;(this.copyMetaAndAttributes(i, _),
46188 _.classes.push('patterned-field'),
46189 this.element.content.push(_))
46190 } else
46191 this.ignoredFields.includes(serializers_value(o)) ||
46192 this.element.content.push(cloneDeep(i))
46193 }),
46194 this.copyMetaAndAttributes(s, this.element),
46195 qu
46196 )
46197 }
46198 }
46199 const Jd = class MapVisitor extends Wd {

Callers

nothing calls this directly

Calls 7

serializers_valueFunction · 0.85
cloneDeepFunction · 0.85
forEachMethod · 0.45
includesMethod · 0.45
toRefractedElementMethod · 0.45
copyMetaAndAttributesMethod · 0.45
pushMethod · 0.45

Tested by

no test coverage detected