28 lines
1 KiB
Java
28 lines
1 KiB
Java
package com.discord.utilities.textprocessing;
|
|
|
|
import c.a.u.b.a.a;
|
|
import com.discord.simpleast.core.parser.ParseSpec;
|
|
import com.discord.simpleast.core.parser.Parser;
|
|
import com.discord.simpleast.core.parser.Rule;
|
|
import d0.z.d.m;
|
|
import java.util.regex.Matcher;
|
|
import java.util.regex.Pattern;
|
|
/* compiled from: Rules.kt */
|
|
public final class Rules$createSoftHyphenRule$1 extends Rule<T, a<T>, S> {
|
|
public final /* synthetic */ Rules this$0;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public Rules$createSoftHyphenRule$1(Rules rules, Pattern pattern) {
|
|
super(pattern);
|
|
this.this$0 = rules;
|
|
}
|
|
|
|
@Override // com.discord.simpleast.core.parser.Rule
|
|
public ParseSpec<T, S> parse(Matcher matcher, Parser<T, ? super a<T>, S> parser, S s2) {
|
|
m.checkNotNullParameter(matcher, "matcher");
|
|
m.checkNotNullParameter(parser, "parser");
|
|
a aVar = new a("");
|
|
m.checkNotNullParameter(aVar, "node");
|
|
return new ParseSpec<>(aVar, s2);
|
|
}
|
|
}
|