2019-12-06 03:29:40 +00:00
|
|
|
.class public final Lcom/discord/utilities/search/query/parsing/QueryParser$1;
|
2019-07-24 11:27:29 +00:00
|
|
|
.super Lcom/discord/simpleast/core/parser/Rule;
|
|
|
|
.source "QueryParser.java"
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
|
|
value = Lcom/discord/utilities/search/query/parsing/QueryParser;->getFromFilterRule(Ljava/lang/String;)Lcom/discord/simpleast/core/parser/Rule;
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
2019-12-06 03:29:40 +00:00
|
|
|
accessFlags = 0x9
|
2019-07-24 11:27:29 +00:00
|
|
|
name = null
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Lcom/discord/simpleast/core/parser/Rule<",
|
|
|
|
"Landroid/content/Context;",
|
|
|
|
"Lcom/discord/utilities/search/query/node/QueryNode;",
|
|
|
|
"Ljava/lang/Void;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public final synthetic val$localizedFrom:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public constructor <init>(Ljava/util/regex/Pattern;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 0
|
|
|
|
|
|
|
|
iput-object p2, p0, Lcom/discord/utilities/search/query/parsing/QueryParser$1;->val$localizedFrom:Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-direct {p0, p1}, Lcom/discord/simpleast/core/parser/Rule;-><init>(Ljava/util/regex/Pattern;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public bridge synthetic parse(Ljava/util/regex/Matcher;Lcom/discord/simpleast/core/parser/Parser;Ljava/lang/Object;)Lcom/discord/simpleast/core/parser/ParseSpec;
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 0
|
2019-12-06 03:29:40 +00:00
|
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
|
|
.end annotation
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
check-cast p3, Ljava/lang/Void;
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1, p2, p3}, Lcom/discord/utilities/search/query/parsing/QueryParser$1;->parse(Ljava/util/regex/Matcher;Lcom/discord/simpleast/core/parser/Parser;Ljava/lang/Void;)Lcom/discord/simpleast/core/parser/ParseSpec;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
.end method
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public parse(Ljava/util/regex/Matcher;Lcom/discord/simpleast/core/parser/Parser;Ljava/lang/Void;)Lcom/discord/simpleast/core/parser/ParseSpec;
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 1
|
2019-12-06 03:29:40 +00:00
|
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
|
|
.end annotation
|
|
|
|
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Ljava/util/regex/Matcher;",
|
|
|
|
"Lcom/discord/simpleast/core/parser/Parser<",
|
|
|
|
"Landroid/content/Context;",
|
|
|
|
"-",
|
|
|
|
"Lcom/discord/utilities/search/query/node/QueryNode;",
|
|
|
|
"Ljava/lang/Void;",
|
|
|
|
">;",
|
|
|
|
"Ljava/lang/Void;",
|
|
|
|
")",
|
|
|
|
"Lcom/discord/simpleast/core/parser/ParseSpec<",
|
|
|
|
"Landroid/content/Context;",
|
|
|
|
"Lcom/discord/utilities/search/query/node/QueryNode;",
|
|
|
|
"Ljava/lang/Void;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
new-instance p1, Lcom/discord/utilities/search/query/node/filter/FilterNode;
|
|
|
|
|
|
|
|
sget-object p2, Lcom/discord/utilities/search/query/FilterType;->FROM:Lcom/discord/utilities/search/query/FilterType;
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/utilities/search/query/parsing/QueryParser$1;->val$localizedFrom:Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-direct {p1, p2, v0}, Lcom/discord/utilities/search/query/node/filter/FilterNode;-><init>(Lcom/discord/utilities/search/query/FilterType;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
invoke-static {p1, p3}, Lcom/discord/simpleast/core/parser/ParseSpec;->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
|