public class jdk.nashorn.internal.runtime.regexp.JdkRegExp extends jdk.nashorn.internal.runtime.regexp.RegExp
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.nashorn.internal.runtime.regexp.JdkRegExp
super_class: jdk.nashorn.internal.runtime.regexp.RegExp
{
private java.util.regex.Pattern pattern;
descriptor: Ljava/util/regex/Pattern;
flags: (0x0002) ACC_PRIVATE
public void <init>(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=3
start local 0 // jdk.nashorn.internal.runtime.regexp.JdkRegExp this
start local 1 // java.lang.String source
start local 2 // java.lang.String flags
0: .line 56
aload 0 /* this */
aload 1 /* source */
aload 2 /* flags */
invokespecial jdk.nashorn.internal.runtime.regexp.RegExp.<init>:(Ljava/lang/String;Ljava/lang/String;)V
1: .line 58
iconst_0
istore 3 /* intFlags */
start local 3 // int intFlags
2: .line 60
aload 0 /* this */
invokevirtual jdk.nashorn.internal.runtime.regexp.JdkRegExp.isIgnoreCase:()Z
ifeq 4
3: .line 61
iload 3 /* intFlags */
bipush 66
ior
istore 3 /* intFlags */
4: .line 63
StackMap locals: jdk.nashorn.internal.runtime.regexp.JdkRegExp java.lang.String java.lang.String int
StackMap stack:
aload 0 /* this */
invokevirtual jdk.nashorn.internal.runtime.regexp.JdkRegExp.isMultiline:()Z
ifeq 6
5: .line 64
iload 3 /* intFlags */
bipush 8
ior
istore 3 /* intFlags */
6: .line 71
StackMap locals:
StackMap stack:
aload 1 /* source */
invokestatic jdk.nashorn.internal.runtime.regexp.RegExpScanner.scan:(Ljava/lang/String;)Ljdk/nashorn/internal/runtime/regexp/RegExpScanner;
astore 4 /* parsed */
start local 4 // jdk.nashorn.internal.runtime.regexp.RegExpScanner parsed
7: .line 72
goto 11
end local 4 // jdk.nashorn.internal.runtime.regexp.RegExpScanner parsed
StackMap locals:
StackMap stack: java.util.regex.PatternSyntaxException
8: astore 5 /* e */
start local 5 // java.util.regex.PatternSyntaxException e
9: .line 75
aload 1 /* source */
iload 3 /* intFlags */
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;I)Ljava/util/regex/Pattern;
pop
10: .line 76
aload 5 /* e */
athrow
end local 5 // java.util.regex.PatternSyntaxException e
start local 4 // jdk.nashorn.internal.runtime.regexp.RegExpScanner parsed
11: .line 79
StackMap locals: jdk.nashorn.internal.runtime.regexp.RegExpScanner
StackMap stack:
aload 4 /* parsed */
ifnull 17
12: .line 80
aload 0 /* this */
aload 4 /* parsed */
invokevirtual jdk.nashorn.internal.runtime.regexp.RegExpScanner.getJavaPattern:()Ljava/lang/String;
iload 3 /* intFlags */
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;I)Ljava/util/regex/Pattern;
putfield jdk.nashorn.internal.runtime.regexp.JdkRegExp.pattern:Ljava/util/regex/Pattern;
13: .line 81
aload 0 /* this */
aload 4 /* parsed */
invokevirtual jdk.nashorn.internal.runtime.regexp.RegExpScanner.getGroupsInNegativeLookahead:()Ljdk/nashorn/internal/runtime/BitVector;
putfield jdk.nashorn.internal.runtime.regexp.JdkRegExp.groupsInNegativeLookahead:Ljdk/nashorn/internal/runtime/BitVector;
end local 4 // jdk.nashorn.internal.runtime.regexp.RegExpScanner parsed
14: .line 83
goto 17
StackMap locals: jdk.nashorn.internal.runtime.regexp.JdkRegExp java.lang.String java.lang.String int
StackMap stack: java.util.regex.PatternSyntaxException
15: astore 4 /* e2 */
start local 4 // java.util.regex.PatternSyntaxException e2
16: .line 84
ldc "syntax"
aload 4 /* e2 */
invokevirtual java.util.regex.PatternSyntaxException.getMessage:()Ljava/lang/String;
invokestatic jdk.nashorn.internal.runtime.regexp.JdkRegExp.throwParserException:(Ljava/lang/String;Ljava/lang/String;)V
end local 4 // java.util.regex.PatternSyntaxException e2
17: .line 86
StackMap locals:
StackMap stack:
return
end local 3 // int intFlags
end local 2 // java.lang.String flags
end local 1 // java.lang.String source
end local 0 // jdk.nashorn.internal.runtime.regexp.JdkRegExp this
LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Ljdk/nashorn/internal/runtime/regexp/JdkRegExp;
0 18 1 source Ljava/lang/String;
0 18 2 flags Ljava/lang/String;
2 18 3 intFlags I
7 8 4 parsed Ljdk/nashorn/internal/runtime/regexp/RegExpScanner;
11 14 4 parsed Ljdk/nashorn/internal/runtime/regexp/RegExpScanner;
9 11 5 e Ljava/util/regex/PatternSyntaxException;
16 17 4 e2 Ljava/util/regex/PatternSyntaxException;
Exception table:
from to target type
6 7 8 Class java.util.regex.PatternSyntaxException
6 14 15 Class java.util.regex.PatternSyntaxException
Exceptions:
throws jdk.nashorn.internal.runtime.ParserException
MethodParameters:
Name Flags
source final
flags final
public jdk.nashorn.internal.runtime.regexp.RegExpMatcher match(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/nashorn/internal/runtime/regexp/RegExpMatcher;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 // jdk.nashorn.internal.runtime.regexp.JdkRegExp this
start local 1 // java.lang.String str
0: .line 90
aload 0 /* this */
getfield jdk.nashorn.internal.runtime.regexp.JdkRegExp.pattern:Ljava/util/regex/Pattern;
ifnonnull 2
1: .line 91
aconst_null
areturn
2: .line 94
StackMap locals:
StackMap stack:
new jdk.nashorn.internal.runtime.regexp.JdkRegExp$DefaultMatcher
dup
aload 0 /* this */
aload 1 /* str */
invokespecial jdk.nashorn.internal.runtime.regexp.JdkRegExp$DefaultMatcher.<init>:(Ljdk/nashorn/internal/runtime/regexp/JdkRegExp;Ljava/lang/String;)V
areturn
end local 1 // java.lang.String str
end local 0 // jdk.nashorn.internal.runtime.regexp.JdkRegExp this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/nashorn/internal/runtime/regexp/JdkRegExp;
0 3 1 str Ljava/lang/String;
MethodParameters:
Name Flags
str final
}
SourceFile: "JdkRegExp.java"
NestMembers:
jdk.nashorn.internal.runtime.regexp.JdkRegExp$DefaultMatcher
InnerClasses:
DefaultMatcher = jdk.nashorn.internal.runtime.regexp.JdkRegExp$DefaultMatcher of jdk.nashorn.internal.runtime.regexp.JdkRegExp