2019-07-24 11:27:29 +00:00
|
|
|
.class public final Lcom/discord/utilities/textprocessing/Rules$createSoftHyphenRule$1;
|
|
|
|
.super Lcom/discord/simpleast/core/parser/Rule;
|
|
|
|
.source "Rules.kt"
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
|
|
value = Lcom/discord/utilities/textprocessing/Rules;->createSoftHyphenRule()Lcom/discord/simpleast/core/parser/Rule;
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x19
|
|
|
|
name = null
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Lcom/discord/simpleast/core/parser/Rule<",
|
|
|
|
"TT;",
|
|
|
|
"Lcom/discord/simpleast/core/node/a<",
|
|
|
|
"TT;>;TS;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field final synthetic this$0:Lcom/discord/utilities/textprocessing/Rules;
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method constructor <init>(Lcom/discord/utilities/textprocessing/Rules;Ljava/util/regex/Pattern;)V
|
|
|
|
.locals 0
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Ljava/util/regex/Pattern;",
|
|
|
|
")V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
iput-object p1, p0, Lcom/discord/utilities/textprocessing/Rules$createSoftHyphenRule$1;->this$0:Lcom/discord/utilities/textprocessing/Rules;
|
|
|
|
|
|
|
|
invoke-direct {p0, p2}, Lcom/discord/simpleast/core/parser/Rule;-><init>(Ljava/util/regex/Pattern;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public final parse(Ljava/util/regex/Matcher;Lcom/discord/simpleast/core/parser/Parser;Ljava/lang/Object;)Lcom/discord/simpleast/core/parser/ParseSpec;
|
|
|
|
.locals 1
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Ljava/util/regex/Matcher;",
|
|
|
|
"Lcom/discord/simpleast/core/parser/Parser<",
|
|
|
|
"TT;-",
|
|
|
|
"Lcom/discord/simpleast/core/node/a<",
|
|
|
|
"TT;>;TS;>;TS;)",
|
|
|
|
"Lcom/discord/simpleast/core/parser/ParseSpec<",
|
|
|
|
"TT;",
|
|
|
|
"Lcom/discord/simpleast/core/node/a<",
|
|
|
|
"TT;>;TS;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
const-string v0, "matcher"
|
|
|
|
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
const-string p1, "parser"
|
|
|
|
|
|
|
|
invoke-static {p2, p1}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
2019-08-17 08:22:04 +00:00
|
|
|
sget-object p1, Lcom/discord/simpleast/core/parser/ParseSpec;->Ab:Lcom/discord/simpleast/core/parser/ParseSpec$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
new-instance p1, Lcom/discord/simpleast/core/node/a;
|
|
|
|
|
|
|
|
const-string p2, ""
|
|
|
|
|
|
|
|
invoke-direct {p1, p2}, Lcom/discord/simpleast/core/node/a;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
check-cast p1, Lcom/discord/simpleast/core/node/Node;
|
|
|
|
|
|
|
|
invoke-static {p1, p3}, Lcom/discord/simpleast/core/parser/ParseSpec$a;->a(Lcom/discord/simpleast/core/node/Node;Ljava/lang/Object;)Lcom/discord/simpleast/core/parser/ParseSpec;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
.end method
|