2020-11-21 22:11:07 +00:00
|
|
|
.class public final Ly/s/c;
|
2020-11-12 02:11:44 +00:00
|
|
|
.super Ljava/lang/Object;
|
2020-11-13 19:18:44 +00:00
|
|
|
.source "Regex.kt"
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
# interfaces
|
2020-11-13 19:18:44 +00:00
|
|
|
.implements Lkotlin/text/MatchResult;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2020-11-13 19:18:44 +00:00
|
|
|
.field public a:Ljava/util/List;
|
2020-11-12 02:11:44 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2020-11-13 19:18:44 +00:00
|
|
|
"Ljava/util/List<",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
">;"
|
2020-11-12 02:11:44 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2020-11-13 19:18:44 +00:00
|
|
|
.field public final b:Ljava/util/regex/Matcher;
|
|
|
|
|
|
|
|
.field public final c:Ljava/lang/CharSequence;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
2020-11-13 19:18:44 +00:00
|
|
|
.method public constructor <init>(Ljava/util/regex/Matcher;Ljava/lang/CharSequence;)V
|
2020-11-12 02:11:44 +00:00
|
|
|
.locals 1
|
|
|
|
|
2020-11-13 19:18:44 +00:00
|
|
|
const-string v0, "matcher"
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-21 22:11:07 +00:00
|
|
|
invoke-static {p1, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-13 19:18:44 +00:00
|
|
|
const-string v0, "input"
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-21 22:11:07 +00:00
|
|
|
invoke-static {p2, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
2020-11-21 22:11:07 +00:00
|
|
|
iput-object p1, p0, Ly/s/c;->b:Ljava/util/regex/Matcher;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-21 22:11:07 +00:00
|
|
|
iput-object p2, p0, Ly/s/c;->c:Ljava/lang/CharSequence;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2020-11-13 19:18:44 +00:00
|
|
|
.method public getGroupValues()Ljava/util/List;
|
|
|
|
.locals 1
|
2020-11-12 02:11:44 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"()",
|
2020-11-13 19:18:44 +00:00
|
|
|
"Ljava/util/List<",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
">;"
|
2020-11-12 02:11:44 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2020-11-21 22:11:07 +00:00
|
|
|
iget-object v0, p0, Ly/s/c;->a:Ljava/util/List;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-13 19:18:44 +00:00
|
|
|
if-nez v0, :cond_0
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-21 22:11:07 +00:00
|
|
|
new-instance v0, Ly/s/c$a;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-21 22:11:07 +00:00
|
|
|
invoke-direct {v0, p0}, Ly/s/c$a;-><init>(Ly/s/c;)V
|
2020-11-13 19:18:44 +00:00
|
|
|
|
2020-11-21 22:11:07 +00:00
|
|
|
iput-object v0, p0, Ly/s/c;->a:Ljava/util/List;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-13 19:18:44 +00:00
|
|
|
:cond_0
|
2020-11-21 22:11:07 +00:00
|
|
|
iget-object v0, p0, Ly/s/c;->a:Ljava/util/List;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-21 22:11:07 +00:00
|
|
|
invoke-static {v0}, Ly/m/c/j;->checkNotNull(Ljava/lang/Object;)V
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
.method public getRange()Lkotlin/ranges/IntRange;
|
|
|
|
.locals 2
|
|
|
|
|
2020-11-21 22:11:07 +00:00
|
|
|
iget-object v0, p0, Ly/s/c;->b:Ljava/util/regex/Matcher;
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/util/regex/Matcher;->start()I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/util/regex/Matcher;->end()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
2020-11-21 22:11:07 +00:00
|
|
|
invoke-static {v1, v0}, Ly/p/e;->until(II)Lkotlin/ranges/IntRange;
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public getValue()Ljava/lang/String;
|
|
|
|
.locals 2
|
|
|
|
|
2020-11-21 22:11:07 +00:00
|
|
|
iget-object v0, p0, Ly/s/c;->b:Ljava/util/regex/Matcher;
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/util/regex/Matcher;->group()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
const-string v1, "matchResult.group()"
|
|
|
|
|
2020-11-21 22:11:07 +00:00
|
|
|
invoke-static {v0, v1}, Ly/m/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public next()Lkotlin/text/MatchResult;
|
|
|
|
.locals 4
|
|
|
|
|
2020-11-21 22:11:07 +00:00
|
|
|
iget-object v0, p0, Ly/s/c;->b:Ljava/util/regex/Matcher;
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/util/regex/Matcher;->end()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
2020-11-21 22:11:07 +00:00
|
|
|
iget-object v1, p0, Ly/s/c;->b:Ljava/util/regex/Matcher;
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
invoke-virtual {v1}, Ljava/util/regex/Matcher;->end()I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
2020-11-21 22:11:07 +00:00
|
|
|
iget-object v2, p0, Ly/s/c;->b:Ljava/util/regex/Matcher;
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
invoke-virtual {v2}, Ljava/util/regex/Matcher;->start()I
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
if-ne v1, v2, :cond_0
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
|
2020-11-21 22:11:07 +00:00
|
|
|
iget-object v1, p0, Ly/s/c;->c:Ljava/lang/CharSequence;
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
invoke-interface {v1}, Ljava/lang/CharSequence;->length()I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
if-gt v0, v1, :cond_2
|
|
|
|
|
2020-11-21 22:11:07 +00:00
|
|
|
iget-object v1, p0, Ly/s/c;->b:Ljava/util/regex/Matcher;
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
invoke-virtual {v1}, Ljava/util/regex/Matcher;->pattern()Ljava/util/regex/Pattern;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2020-11-21 22:11:07 +00:00
|
|
|
iget-object v3, p0, Ly/s/c;->c:Ljava/lang/CharSequence;
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
invoke-virtual {v1, v3}, Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
const-string v3, "matcher.pattern().matcher(input)"
|
|
|
|
|
2020-11-21 22:11:07 +00:00
|
|
|
invoke-static {v1, v3}, Ly/m/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-11-13 19:18:44 +00:00
|
|
|
|
2020-11-21 22:11:07 +00:00
|
|
|
iget-object v3, p0, Ly/s/c;->c:Ljava/lang/CharSequence;
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
invoke-virtual {v1, v0}, Ljava/util/regex/Matcher;->find(I)Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_1
|
2020-11-21 22:11:07 +00:00
|
|
|
new-instance v2, Ly/s/c;
|
2020-11-13 19:18:44 +00:00
|
|
|
|
2020-11-21 22:11:07 +00:00
|
|
|
invoke-direct {v2, v1, v3}, Ly/s/c;-><init>(Ljava/util/regex/Matcher;Ljava/lang/CharSequence;)V
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
:cond_2
|
|
|
|
:goto_1
|
|
|
|
return-object v2
|
|
|
|
.end method
|