热汗舞蹈 v1.24.1.0版本的 MD5 值为:f1dc6ef07903515a73f51f41f372123e
以下内容为反编译后的 e.java 源代码,内容仅作参考
package e0;
import ch.qos.logback.core.pattern.parser.TokenStream;
import ch.qos.logback.core.spi.ScanException;
import d0.l;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class e<E> extends k0.e {
public static final Map<String, String> f29813c;
public final List<g> f29814a;
public int f29815b;
static {
HashMap hashMap = new HashMap();
f29813c = hashMap;
hashMap.put(g.f29819f.c().toString(), d0.g.class.getName());
hashMap.put("replace", l.class.getName());
}
public e(String str) throws ScanException {
this(str, new f0.d());
}
public e(String str, f0.c cVar) throws ScanException {
this.f29815b = 0;
try {
this.f29814a = new TokenStream(str, cVar).h();
} catch (IllegalArgumentException e10) {
throw new ScanException("Failed to initialize Parser", e10);
}
}
public c F() throws ScanException {
g O = O();
N(O, "a LEFT_PARENTHESIS or KEYWORD");
int b10 = O.b();
if (b10 != 1004) {
if (b10 == 1005) {
L();
return G(O.c().toString());
}
throw new IllegalStateException("Unexpected token " + O);
}
return J();
}
public c G(String str) throws ScanException {
b bVar = new b(str);
bVar.i(H());
g P = P();
if (P != null && P.b() == 41) {
g 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 ScanException(str2);
}
public d H() throws ScanException {
d K = K();
if (K == null) {
return null;
}
d I = I();
if (I != null) {
K.c(I);
}
return K;
}
public d I() throws ScanException {
if (O() == null) {
return null;
}
return H();
}
public c J() throws ScanException {
f fVar = new f(P().c());
g O = O();
if (O != null && O.b() == 1006) {
fVar.g(O.a());
L();
}
return fVar;
}
public d K() throws ScanException {
g 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();
g O2 = O();
N(O2, "a FORMAT_MODIFIER, SIMPLE_KEYWORD or COMPOUND_KEYWORD");
if (O2.b() == 1002) {
d0.e e10 = d0.e.e(O2.c());
L();
c F = F();
F.e(e10);
return F;
}
return F();
}
public void L() {
this.f29815b++;
}
public d0.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(g gVar, String str) {
if (gVar != null) {
return;
}
throw new IllegalStateException("All tokens consumed but was expecting " + str);
}
public g O() {
if (this.f29815b < this.f29814a.size()) {
return this.f29814a.get(this.f29815b);
}
return null;
}
public g P() {
if (this.f29815b < this.f29814a.size()) {
List<g> list = this.f29814a;
int i10 = this.f29815b;
this.f29815b = i10 + 1;
return list.get(i10);
}
return null;
}
public d Q() throws ScanException {
return H();
}
}