H.U -> H._rtiToString

This commit is contained in:
shenjack 2024-03-23 09:29:35 +08:00
parent 23e24f7121
commit 5ba56d54e7
Signed by: shenjack
GPG Key ID: 7B1134A979775551

View File

@ -777,7 +777,7 @@
}
},
H = {
hN: function hN() {},
Js_Const: function hN() {},
jb(a) {
return new H.dn(a)
},
@ -895,8 +895,8 @@
},
lr(a) {
var s, r, q, p
if (a instanceof P.m) return H.U(H.Z(a), null)
if (J.aA(a) === C.R || t.cC.b(a)) {
if (a instanceof P.m) return H._rtiToString(H.Z(a), null)
if (J.get_interceptor(a) === C.R || t.cC.b(a)) {
s = C.q(a)
r = s !== "Object" && s !== ""
if (r) return s
@ -908,7 +908,7 @@
if (r) return p
}
}
return H.U(H.Z(a), null)
return H._rtiToString(H.Z(a), null)
},
j6(a) {
var s, r, q, p, o = a.length
@ -1029,7 +1029,7 @@
s = a.$D
r = s == null
q = !r ? s() : null
p = J.aA(a)
p = J.get_interceptor(a)
o = p.$C
if (typeof o == "string") o = p[o]
if (r) {
@ -1403,7 +1403,7 @@
Closure_forwardCallTo(a, b, c, d) {
var s, r, q, p, o, n = "receiver"
if (c) return H.Closure_forwardInterceptedCallTo(a, b, d)
console.log("b", b)
console.log("Closure_forwardCallTo", a, b, c, d);
s = b.length
r = d || s >= 27
if (r) return H.l_(s, d, a, b)
@ -2099,7 +2099,7 @@
return s != null ? s : H.i3(a)
}
if (Array.isArray(a)) return H.aj(a)
return H.i3(J.aA(a))
return H.i3(J.get_interceptor(a))
},
aj(a) {
var s = a[v.arrayRti],
@ -2212,7 +2212,7 @@
if (a == null) return H.hb(r)
s = r.r
if (a instanceof P.m) return !!a[s]
return !!J.aA(a)[s]
return !!J.get_interceptor(a)[s]
},
mF(a) {
var s, r = this
@ -2221,7 +2221,7 @@
if (Array.isArray(a)) return true
s = r.r
if (a instanceof P.m) return !!a[s]
return !!J.aA(a)[s]
return !!J.get_interceptor(a)[s]
},
p6(a) {
var s = this
@ -2236,11 +2236,11 @@
H.jA(a, s)
},
jA(a, b) {
throw H.b(H.m5(H.jn(a, H.instanceOrFunctionType(a, b), H.U(b, null))))
throw H.b(H.m5(H.jn(a, H.instanceOrFunctionType(a, b), H._rtiToString(b, null))))
},
jn(a, b, c) {
var s = P.b4(a),
r = H.U(b == null ? H.Z(a) : b, null)
r = H._rtiToString(b == null ? H.Z(a) : b, null)
return s + ": type '" + H.d(r) + "' is not a subtype of type '" + H.d(c) + "'"
},
m5(a) {
@ -2348,7 +2348,7 @@
},
mU(a, b) {
var s, r, q
for (s = "", r = "", q = 0; q < a.length; ++q, r = ", ") s += C.b.Z(r, H.U(a[q], b))
for (s = "", r = "", q = 0; q < a.length; ++q, r = ", ") s += C.b.Z(r, H._rtiToString(a[q], b))
return s
},
jB(a4, a5, a6) {
@ -2369,7 +2369,7 @@
if (!(j === n)) h = j === m
else h = true
else h = true
if (!h) l += C.b.Z(" extends ", H.U(j, a5))
if (!h) l += C.b.Z(" extends ", H._rtiToString(j, a5))
}
l += ">"
} else {
@ -2384,11 +2384,11 @@
c = d.length
b = g.c
a = b.length
a0 = H.U(o, a5)
for (a1 = "", a2 = "", p = 0; p < e; ++p, a2 = a3) a1 += C.b.Z(a2, H.U(f[p], a5))
a0 = H._rtiToString(o, a5)
for (a1 = "", a2 = "", p = 0; p < e; ++p, a2 = a3) a1 += C.b.Z(a2, H._rtiToString(f[p], a5))
if (c > 0) {
a1 += a2 + "["
for (a2 = "", p = 0; p < c; ++p, a2 = a3) a1 += C.b.Z(a2, H.U(d[p], a5))
for (a2 = "", p = 0; p < c; ++p, a2 = a3) a1 += C.b.Z(a2, H._rtiToString(d[p], a5))
a1 += "]"
}
if (a > 0) {
@ -2396,7 +2396,7 @@
for (a2 = "", p = 0; p < a; p += 3, a2 = a3) {
a1 += a2
if (b[p + 1]) a1 += "required "
a1 += J.eb(H.U(b[p + 2], a5), " ") + b[p]
a1 += J.eb(H._rtiToString(b[p + 2], a5), " ") + b[p]
}
a1 += "}"
}
@ -2406,7 +2406,7 @@
}
return l + "(" + a1 + ") => " + H.d(a0)
},
U(a, b) {
_rtiToString(a, b) {
var s, r, q, p, o, n, m = a.y
if (m === 5) return "erased"
if (m === 2) return "dynamic"
@ -2414,16 +2414,16 @@
if (m === 1) return "Never"
if (m === 4) return "any"
if (m === 6) {
s = H.U(a.z, b)
s = H._rtiToString(a.z, b)
return s
}
if (m === 7) {
r = a.z
s = H.U(r, b)
s = H._rtiToString(r, b)
q = r.y
return J.eb(q === 11 || q === 12 ? C.b.Z("(", s) + ")" : s, "?")
}
if (m === 8) return "FutureOr<" + H.d(H.U(a.z, b)) + ">"
if (m === 8) return "FutureOr<" + H.d(H._rtiToString(a.z, b)) + ">"
if (m === 9) {
p = H.mZ(a.z)
o = a.Q
@ -3277,7 +3277,7 @@
}
return b
},
aA(a) {
get_interceptor(a) {
if (typeof a == "number") {
if (Math.floor(a) == a) return J.bP.prototype
return J.cX.prototype
@ -3349,7 +3349,7 @@
a3(a, b) {
if (a == null) return b == null
if (typeof a != "object") return b != null && a === b
return J.aA(a).a_(a, b)
return J.get_interceptor(a).a_(a, b)
},
ao(a, b) {
if (typeof b === "number")
@ -3399,7 +3399,7 @@
return J.al(a).gac(a)
},
ec(a) {
return J.aA(a).gF(a)
return J.get_interceptor(a).gF(a)
},
a9(a) {
return J.al(a).gB(a)
@ -3423,7 +3423,7 @@
return J.al(a).bv(a, b, c)
},
kM(a, b) {
return J.aA(a).aq(a, b)
return J.get_interceptor(a).aq(a, b)
},
iF(a, b, c) {
return J.aB(a).bF(a, b, c)
@ -3453,7 +3453,7 @@
return J.nb(a).dE(a, b)
},
aD(a) {
return J.aA(a).j(a)
return J.get_interceptor(a).j(a)
},
ef(a) {
return J.a2(a).dF(a)
@ -5623,7 +5623,7 @@
}
var w = [B, C, D, F, G, H, J, K, M, N, O, P, Q, S, T, V, W, X, Y];
var $ = {}
H.hN.prototype = {}
H.Js_Const.prototype = {}
J.I.prototype = {
a_(a, b) {
return a === b
@ -6948,7 +6948,7 @@
H.dP.prototype = {}
H.e2.prototype = {
j(a) {
return H.U(this.a, null)
return H._rtiToString(this.a, null)
}
}
H.dN.prototype = {
@ -10729,7 +10729,7 @@
r = hunkHelpers.inherit,
q = hunkHelpers.inheritMany
r(P.m, null)
q(P.m, [H.hN, J.I, J.bB, P.n, P.cg, H.aG, P.r, H.a5, P.cV, H.bJ, H.dC, H.bi, P.bV, H.bD, H.eD, H.fc, H.eY, H.bI, H.cp, H.fM, P.bb, H.eI, H.d1, H.b8, H.ch, H.dH, H.dv, H.fT, H.a1, H.dP, H.e2, P._TimerImpl, P.dI, P.cE, P.dL, P.bs, P.v, P.dJ, P.c6, P.dt, P.du, P.dX, P.h5, P.cu, P.fL, P.dS, P.k, P.e4, P.c4, P.cK, P.fr, P.fq, P.h2, P.h1, P.b2, P.b3, P.df, P.c5, P.fw, P.ey, P.u, P.dZ, P.bh, W.ep, W.hL, W.bt, W.bM, W.c0, W.co, W.e0, W.bK, W.fs, W.fQ, W.e5, P.fU, P.fk, P.W, P.eX, P.fJ, O.b6, O.eA, O.cS, O.ei, O.ej, O.en, O.el, O.fb, O.f5, Y.ag, N.cP, N.f0, S.dd, G.cY, G.d3, G.cH, Q.dV, V.dk, V.eC, D.f2, D.f1, Y.dm])
q(P.m, [H.Js_Const, J.I, J.bB, P.n, P.cg, H.aG, P.r, H.a5, P.cV, H.bJ, H.dC, H.bi, P.bV, H.bD, H.eD, H.fc, H.eY, H.bI, H.cp, H.fM, P.bb, H.eI, H.d1, H.b8, H.ch, H.dH, H.dv, H.fT, H.a1, H.dP, H.e2, P._TimerImpl, P.dI, P.cE, P.dL, P.bs, P.v, P.dJ, P.c6, P.dt, P.du, P.dX, P.h5, P.cu, P.fL, P.dS, P.k, P.e4, P.c4, P.cK, P.fr, P.fq, P.h2, P.h1, P.b2, P.b3, P.df, P.c5, P.fw, P.ey, P.u, P.dZ, P.bh, W.ep, W.hL, W.bt, W.bM, W.c0, W.co, W.e0, W.bK, W.fs, W.fQ, W.e5, P.fU, P.fk, P.W, P.eX, P.fJ, O.b6, O.eA, O.cS, O.ei, O.ej, O.en, O.el, O.fb, O.f5, Y.ag, N.cP, N.f0, S.dd, G.cY, G.d3, G.cH, Q.dV, V.dk, V.eC, D.f2, D.f1, Y.dm])
q(J.I, [J.cW, J.bQ, J.as, J.p, J.aJ, J.ar, H.bX, H.A, W.cQ, W.aE, W.eo, W.dM, W.er, W.es, W.c, W.bL, W.d4, W.dT, W.dW, W.e6, P.bR])
q(J.as, [J.dh, J.av, J.ad])
r(J.eE, J.p)