MCPcopy Create free account
hub / github.com/dataease/SQLBot / $anchor_evaluate

Function $anchor_evaluate

frontend/public/swagger-ui-bundle.js:52891–52899  ·  view source on GitHub ↗
(s, o)

Source from the content-addressed store, hash-verified

52889 const o = getHash(s)
52890 return tp('#', o)
52891 },
52892 $anchor_evaluate = (s, o) => {
52893 const i = ((s) => {
52894 if (!isAnchor(s)) throw new Zw(s)
52895 return s
52896 })(s),
52897 a = traversal_find((s) => uE(s) && serializers_value(s.$anchor) === i, o)
52898 if (bc(a)) throw new Qw(`Evaluation failed on token: "${i}"`)
52899 return a
52900 },
52901 traversal_filter = (s, o) => {
52902 const i = new PredicateVisitor({ predicate: s })

Callers 3

uri_evaluateFunction · 0.85
SchemaElementMethod · 0.85
SchemaElementMethod · 0.85

Calls 5

isAnchorFunction · 0.85
traversal_findFunction · 0.85
uEFunction · 0.85
serializers_valueFunction · 0.85
bcFunction · 0.50

Tested by

no test coverage detected