public final class org.jruby.util.Numeric$RationalPatterns
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.jruby.util.Numeric$RationalPatterns
super_class: java.lang.Object
{
public static final org.joni.Regex rat_pat;
descriptor: Lorg/joni/Regex;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.joni.Regex an_e_pat;
descriptor: Lorg/joni/Regex;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.joni.Regex a_dot_pat;
descriptor: Lorg/joni/Regex;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=8, locals=5, args_size=0
0: ldc "\\s*"
astore 0
start local 0 1: ldc "(?:\\d(?:_\\d|\\d)*)"
astore 1
start local 1 2: new java.lang.StringBuilder
dup
ldc "(?:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "?\\.)?"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "(?:[eE][-+]?"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ")?"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
start local 2 3: aload 1
astore 3
start local 3 4: new java.lang.StringBuilder
dup
ldc "\\A"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "([-+])?("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ")(?:\\/("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "))?"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 4
start local 4 5: new org.joni.Regex
dup
aload 4
invokevirtual java.lang.String.getBytes:()[B
iconst_0
aload 4
invokevirtual java.lang.String.length:()I
iconst_0
getstatic org.jcodings.specific.ASCIIEncoding.INSTANCE:Lorg/jcodings/specific/ASCIIEncoding;
getstatic org.joni.WarnCallback.NONE:Lorg/joni/WarnCallback;
invokespecial org.joni.Regex.<init>:([BIIILorg/jcodings/Encoding;Lorg/joni/WarnCallback;)V
putstatic org.jruby.util.Numeric$RationalPatterns.rat_pat:Lorg/joni/Regex;
6: new org.joni.Regex
dup
ldc "[Ee]"
invokevirtual java.lang.String.getBytes:()[B
iconst_0
iconst_4
iconst_0
getstatic org.jcodings.specific.ASCIIEncoding.INSTANCE:Lorg/jcodings/specific/ASCIIEncoding;
getstatic org.joni.WarnCallback.NONE:Lorg/joni/WarnCallback;
invokespecial org.joni.Regex.<init>:([BIIILorg/jcodings/Encoding;Lorg/joni/WarnCallback;)V
putstatic org.jruby.util.Numeric$RationalPatterns.an_e_pat:Lorg/joni/Regex;
7: new org.joni.Regex
dup
ldc "\\."
invokevirtual java.lang.String.getBytes:()[B
iconst_0
iconst_2
iconst_0
getstatic org.jcodings.specific.ASCIIEncoding.INSTANCE:Lorg/jcodings/specific/ASCIIEncoding;
getstatic org.joni.WarnCallback.NONE:Lorg/joni/WarnCallback;
invokespecial org.joni.Regex.<init>:([BIIILorg/jcodings/Encoding;Lorg/joni/WarnCallback;)V
putstatic org.jruby.util.Numeric$RationalPatterns.a_dot_pat:Lorg/joni/Regex;
end local 4 end local 3 end local 2 end local 1 end local 0 8: return
LocalVariableTable:
Start End Slot Name Signature
1 8 0 WS Ljava/lang/String;
2 8 1 DIGITS Ljava/lang/String;
3 8 2 NUMERATOR Ljava/lang/String;
4 8 3 DENOMINATOR Ljava/lang/String;
5 8 4 PATTERN Ljava/lang/String;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/util/Numeric$RationalPatterns;
}
SourceFile: "Numeric.java"
NestHost: org.jruby.util.Numeric
InnerClasses:
public final RationalPatterns = org.jruby.util.Numeric$RationalPatterns of org.jruby.util.Numeric