BTGO游戏盒 v3.4.80版本的 MD5 值为:000032bab1addaabfdc671ee6a7087ab

以下内容为反编译后的 f.java 源代码,内容仅作参考


package g0;

import f0.l;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import m0.n;

public class f<E> extends m0.e {

    public static final Map<String, String> f22337c;

    public final List<h> f22338a;

    public int f22339b;

    static {
        HashMap hashMap = new HashMap();
        f22337c = hashMap;
        hashMap.put(h.f22343f.c().toString(), f0.g.class.getName());
        hashMap.put("replace", l.class.getName());
    }

    public f(String str) throws n {
        this(str, new h0.d());
    }

    public f(String str, h0.c cVar) throws n {
        this.f22339b = 0;
        try {
            this.f22338a = new i(str, cVar).h();
        } catch (IllegalArgumentException e10) {
            throw new n("Failed to initialize Parser", e10);
        }
    }

    public c F() throws n {
        h O = O();
        N(O, "a LEFT_PARENTHESIS or KEYWORD");
        int b10 = O.b();
        if (b10 == 1004) {
            return J();
        }
        if (b10 == 1005) {
            L();
            return G(O.c().toString());
        }
        throw new IllegalStateException("Unexpected token " + O);
    }

    public c G(String str) throws n {
        b bVar = new b(str);
        bVar.i(H());
        h P = P();
        if (P != null && P.b() == 41) {
            h O = O();
            if (O != null && O.b() == 1006) {
                bVar.g(O.a());
                L();
            }
            return bVar;
        }
        String str2 = "Expecting RIGHT_PARENTHESIS token but got " + P;
        addError(str2);
        addError("See also http://logback.qos.ch/codes.html#missingRightParenthesis");
        throw new n(str2);
    }

    public d H() throws n {
        d K = K();
        if (K == null) {
            return null;
        }
        d I = I();
        if (I != null) {
            K.c(I);
        }
        return K;
    }

    public d I() throws n {
        if (O() == null) {
            return null;
        }
        return H();
    }

    public c J() throws n {
        g gVar = new g(P().c());
        h O = O();
        if (O != null && O.b() == 1006) {
            gVar.g(O.a());
            L();
        }
        return gVar;
    }

    public d K() throws n {
        h O = O();
        N(O, "a LITERAL or '%'");
        int b10 = O.b();
        if (b10 != 37) {
            if (b10 != 1000) {
                return null;
            }
            L();
            return new d(0, O.c());
        }
        L();
        h O2 = O();
        N(O2, "a FORMAT_MODIFIER, SIMPLE_KEYWORD or COMPOUND_KEYWORD");
        if (O2.b() != 1002) {
            return F();
        }
        f0.e e10 = f0.e.e(O2.c());
        L();
        c F = F();
        F.e(e10);
        return F;
    }

    public void L() {
        this.f22339b++;
    }

    public f0.b<E> M(d dVar, Map<String, String> map) {
        a aVar = new a(dVar, map);
        aVar.setContext(this.context);
        return aVar.G();
    }

    public void N(h hVar, String str) {
        if (hVar != null) {
            return;
        }
        throw new IllegalStateException("All tokens consumed but was expecting " + str);
    }

    public h O() {
        if (this.f22339b < this.f22338a.size()) {
            return this.f22338a.get(this.f22339b);
        }
        return null;
    }

    public h P() {
        if (this.f22339b >= this.f22338a.size()) {
            return null;
        }
        List<h> list = this.f22338a;
        int i10 = this.f22339b;
        this.f22339b = i10 + 1;
        return list.get(i10);
    }

    public d Q() throws n {
        return H();
    }
}