public class org.jruby.ext.ripper.StringTerm extends org.jruby.ext.ripper.StrTerm
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.ext.ripper.StringTerm
super_class: org.jruby.ext.ripper.StrTerm
{
private int flags;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private final char begin;
descriptor: C
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final char end;
descriptor: C
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int nest;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.util.List<org.jruby.util.ByteList> regexpFragments;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Lorg/jruby/util/ByteList;>;
private boolean regexpDynamic;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
protected org.jcodings.Encoding encodingOut;
descriptor: Lorg/jcodings/Encoding;
flags: (0x0004) ACC_PROTECTED
public void <init>(int, int, int);
descriptor: (III)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial org.jruby.ext.ripper.StrTerm.<init>:()V
1: aload 0
iload 1
putfield org.jruby.ext.ripper.StringTerm.flags:I
2: aload 0
iload 2
i2c
putfield org.jruby.ext.ripper.StringTerm.begin:C
3: aload 0
iload 3
i2c
putfield org.jruby.ext.ripper.StringTerm.end:C
4: aload 0
iconst_0
putfield org.jruby.ext.ripper.StringTerm.nest:I
5: iload 1
iconst_4
iand
ifeq 7
6: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.jruby.ext.ripper.StringTerm.regexpFragments:Ljava/util/List;
7: StackMap locals: org.jruby.ext.ripper.StringTerm int int int
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/jruby/ext/ripper/StringTerm;
0 8 1 flags I
0 8 2 begin I
0 8 3 end I
MethodParameters:
Name Flags
flags
begin
end
public int getFlags();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ext.ripper.StringTerm.flags:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/ripper/StringTerm;
protected org.jruby.util.ByteList createByteList(org.jruby.ext.ripper.RipperLexer);
descriptor: (Lorg/jruby/ext/ripper/RipperLexer;)Lorg/jruby/util/ByteList;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new org.jruby.util.ByteList
dup
getstatic org.jruby.util.ByteList.NULL_ARRAY:[B
aload 1
invokevirtual org.jruby.ext.ripper.RipperLexer.getEncoding:()Lorg/jcodings/Encoding;
invokespecial org.jruby.util.ByteList.<init>:([BLorg/jcodings/Encoding;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/ripper/StringTerm;
0 1 1 lexer Lorg/jruby/ext/ripper/RipperLexer;
MethodParameters:
Name Flags
lexer
private int endFound(org.jruby.ext.ripper.RipperLexer);
descriptor: (Lorg/jruby/ext/ripper/RipperLexer;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.ext.ripper.StringTerm.flags:I
bipush 8
iand
ifeq 5
1: aload 0
dup
getfield org.jruby.ext.ripper.StringTerm.flags:I
ldc 32768
ior
putfield org.jruby.ext.ripper.StringTerm.flags:I
2: aload 1
iconst_0
invokevirtual org.jruby.ext.ripper.RipperLexer.pushback:(I)V
3: aload 1
aload 1
getfield org.jruby.ext.ripper.RipperLexer.tokp:I
aload 1
getfield org.jruby.ext.ripper.RipperLexer.lex_p:I
invokevirtual org.jruby.ext.ripper.RipperLexer.addDelayedToken:(II)V
4: bipush 32
ireturn
5: StackMap locals:
StackMap stack:
aload 1
aconst_null
invokevirtual org.jruby.ext.ripper.RipperLexer.setStrTerm:(Lorg/jruby/ext/ripper/StrTerm;)V
6: aload 0
getfield org.jruby.ext.ripper.StringTerm.flags:I
iconst_4
iand
ifeq 11
7: aload 0
aload 1
invokevirtual org.jruby.ext.ripper.StringTerm.validateRegexp:(Lorg/jruby/ext/ripper/RipperLexer;)V
8: aload 1
sipush 383
invokevirtual org.jruby.ext.ripper.RipperLexer.dispatchScanEvent:(I)V
9: aload 1
bipush 6
invokevirtual org.jruby.ext.ripper.RipperLexer.setState:(I)V
10: sipush 383
ireturn
11: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.ext.ripper.StringTerm.flags:I
bipush 64
iand
ifeq 15
aload 1
invokevirtual org.jruby.ext.ripper.RipperLexer.isLabelSuffix:()Z
ifeq 15
12: aload 1
invokevirtual org.jruby.ext.ripper.RipperLexer.nextc:()I
pop
13: aload 1
sipush 1025
invokevirtual org.jruby.ext.ripper.RipperLexer.setState:(I)V
14: sipush 396
ireturn
15: StackMap locals:
StackMap stack:
aload 1
bipush 6
invokevirtual org.jruby.ext.ripper.RipperLexer.setState:(I)V
16: sipush 373
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/jruby/ext/ripper/StringTerm;
0 17 1 lexer Lorg/jruby/ext/ripper/RipperLexer;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
lexer
private void validateRegexp(org.jruby.ext.ripper.RipperLexer);
descriptor: (Lorg/jruby/ext/ripper/RipperLexer;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.jruby.ext.ripper.RipperLexer.getRuntime:()Lorg/jruby/Ruby;
astore 2
start local 2 1: aload 1
invokevirtual org.jruby.ext.ripper.RipperLexer.parseRegexpFlags:()Lorg/jruby/util/RegexpOptions;
astore 3
start local 3 2: aload 0
getfield org.jruby.ext.ripper.StringTerm.regexpFragments:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 5
StackMap locals: org.jruby.ext.ripper.StringTerm org.jruby.ext.ripper.RipperLexer org.jruby.Ruby org.jruby.util.RegexpOptions top java.util.Iterator
StackMap stack:
3: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.jruby.util.ByteList
astore 4
start local 4 4: aload 1
aload 2
aload 4
aload 3
invokevirtual org.jruby.ext.ripper.RipperLexer.checkRegexpFragment:(Lorg/jruby/Ruby;Lorg/jruby/util/ByteList;Lorg/jruby/util/RegexpOptions;)V
end local 4 5: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: aload 0
getfield org.jruby.ext.ripper.StringTerm.regexpDynamic:Z
ifne 8
aload 0
getfield org.jruby.ext.ripper.StringTerm.regexpFragments:Ljava/util/List;
invokeinterface java.util.List.size:()I
iconst_1
if_icmpne 8
7: aload 1
aload 2
aload 0
getfield org.jruby.ext.ripper.StringTerm.regexpFragments:Ljava/util/List;
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.jruby.util.ByteList
aload 3
invokevirtual org.jruby.ext.ripper.RipperLexer.checkRegexpSyntax:(Lorg/jruby/Ruby;Lorg/jruby/util/ByteList;Lorg/jruby/util/RegexpOptions;)V
8: StackMap locals: org.jruby.ext.ripper.StringTerm org.jruby.ext.ripper.RipperLexer org.jruby.Ruby org.jruby.util.RegexpOptions
StackMap stack:
aload 0
getfield org.jruby.ext.ripper.StringTerm.regexpFragments:Ljava/util/List;
invokeinterface java.util.List.clear:()V
9: aload 0
iconst_0
putfield org.jruby.ext.ripper.StringTerm.regexpDynamic:Z
10: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/jruby/ext/ripper/StringTerm;
0 11 1 lexer Lorg/jruby/ext/ripper/RipperLexer;
1 11 2 runtime Lorg/jruby/Ruby;
2 11 3 options Lorg/jruby/util/RegexpOptions;
4 5 4 fragment Lorg/jruby/util/ByteList;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
lexer
public int parseString(org.jruby.ext.ripper.RipperLexer, org.jruby.lexer.LexerSource);
descriptor: (Lorg/jruby/ext/ripper/RipperLexer;Lorg/jruby/lexer/LexerSource;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: aload 0
getfield org.jruby.ext.ripper.StringTerm.flags:I
ldc 32768
iand
ifeq 8
2: aload 0
getfield org.jruby.ext.ripper.StringTerm.flags:I
bipush 8
iand
ifeq 3
aload 1
invokevirtual org.jruby.ext.ripper.RipperLexer.nextc:()I
pop
3: StackMap locals: int
StackMap stack:
aload 1
bipush 6
invokevirtual org.jruby.ext.ripper.RipperLexer.setState:(I)V
4: aload 1
aconst_null
invokevirtual org.jruby.ext.ripper.RipperLexer.setStrTerm:(Lorg/jruby/ext/ripper/StrTerm;)V
5: aload 0
getfield org.jruby.ext.ripper.StringTerm.flags:I
iconst_4
iand
ifeq 6
sipush 383
goto 7
StackMap locals:
StackMap stack:
6: sipush 373
StackMap locals:
StackMap stack: int
7: ireturn
8: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.jruby.ext.ripper.StringTerm.createByteList:(Lorg/jruby/ext/ripper/RipperLexer;)Lorg/jruby/util/ByteList;
astore 5
start local 5 9: aload 1
invokevirtual org.jruby.ext.ripper.RipperLexer.nextc:()I
istore 4
start local 4 10: aload 0
getfield org.jruby.ext.ripper.StringTerm.flags:I
bipush 8
iand
ifeq 14
iload 4
invokestatic java.lang.Character.isWhitespace:(I)Z
ifeq 14
11: StackMap locals: int org.jruby.util.ByteList
StackMap stack:
aload 1
invokevirtual org.jruby.ext.ripper.RipperLexer.nextc:()I
istore 4
12: iload 4
invokestatic java.lang.Character.isWhitespace:(I)Z
ifne 11
13: iconst_1
istore 3
14: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.ext.ripper.StringTerm.flags:I
sipush 16384
iand
ifeq 17
15: aload 0
dup
getfield org.jruby.ext.ripper.StringTerm.flags:I
sipush -16385
iand
putfield org.jruby.ext.ripper.StringTerm.flags:I
16: iconst_1
istore 3
17: StackMap locals:
StackMap stack:
iload 4
aload 0
getfield org.jruby.ext.ripper.StringTerm.end:C
if_icmpne 19
aload 0
getfield org.jruby.ext.ripper.StringTerm.nest:I
ifne 19
18: aload 0
aload 1
invokevirtual org.jruby.ext.ripper.StringTerm.endFound:(Lorg/jruby/ext/ripper/RipperLexer;)I
ireturn
19: StackMap locals:
StackMap stack:
iload 3
ifeq 23
20: aload 1
iload 4
invokevirtual org.jruby.ext.ripper.RipperLexer.pushback:(I)V
21: aload 1
aload 1
getfield org.jruby.ext.ripper.RipperLexer.tokp:I
aload 1
getfield org.jruby.ext.ripper.RipperLexer.lex_p:I
invokevirtual org.jruby.ext.ripper.RipperLexer.addDelayedToken:(II)V
22: bipush 32
ireturn
23: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.ext.ripper.StringTerm.flags:I
iconst_2
iand
ifeq 30
iload 4
bipush 35
if_icmpne 30
24: aload 1
sipush 372
sipush 371
invokevirtual org.jruby.ext.ripper.RipperLexer.peekVariableName:(II)I
istore 6
start local 6 25: iload 6
ifeq 29
26: aload 0
getfield org.jruby.ext.ripper.StringTerm.flags:I
iconst_4
iand
ifeq 28
27: aload 0
iconst_1
putfield org.jruby.ext.ripper.StringTerm.regexpDynamic:Z
28: StackMap locals: int
StackMap stack:
iload 6
ireturn
29: StackMap locals:
StackMap stack:
aload 5
iload 4
invokevirtual org.jruby.util.ByteList.append:(I)Lorg/jruby/util/ByteList;
pop
end local 6 30: StackMap locals:
StackMap stack:
aload 1
iload 4
invokevirtual org.jruby.ext.ripper.RipperLexer.pushback:(I)V
31: aload 0
aload 1
aload 2
aload 5
aload 1
invokevirtual org.jruby.ext.ripper.RipperLexer.getEncoding:()Lorg/jcodings/Encoding;
invokevirtual org.jruby.ext.ripper.StringTerm.parseStringIntoBuffer:(Lorg/jruby/ext/ripper/RipperLexer;Lorg/jruby/lexer/LexerSource;Lorg/jruby/util/ByteList;Lorg/jcodings/Encoding;)I
iconst_m1
if_icmpne 37
32: aload 0
getfield org.jruby.ext.ripper.StringTerm.flags:I
iconst_4
iand
ifeq 35
33: aload 1
ldc "unterminated regexp meets end of file"
invokevirtual org.jruby.ext.ripper.RipperLexer.compile_error:(Ljava/lang/String;)V
34: goto 36
35: StackMap locals:
StackMap stack:
aload 1
ldc "unterminated string meets end of file"
invokevirtual org.jruby.ext.ripper.RipperLexer.compile_error:(Ljava/lang/String;)V
36: StackMap locals:
StackMap stack:
aload 0
dup
getfield org.jruby.ext.ripper.StringTerm.flags:I
ldc 32768
ior
putfield org.jruby.ext.ripper.StringTerm.flags:I
37: StackMap locals:
StackMap stack:
aload 1
aload 1
aload 5
aload 0
getfield org.jruby.ext.ripper.StringTerm.flags:I
invokevirtual org.jruby.ext.ripper.RipperLexer.createStr:(Lorg/jruby/util/ByteList;I)Lorg/jruby/runtime/builtin/IRubyObject;
invokevirtual org.jruby.ext.ripper.RipperLexer.setValue:(Ljava/lang/Object;)V
38: aload 0
getfield org.jruby.ext.ripper.StringTerm.flags:I
iconst_4
iand
ifeq 40
39: aload 0
getfield org.jruby.ext.ripper.StringTerm.regexpFragments:Ljava/util/List;
aload 5
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
40: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield org.jruby.ext.ripper.StringTerm.encodingOut:Lorg/jcodings/Encoding;
invokevirtual org.jruby.ext.ripper.RipperLexer.flush_string_content:(Lorg/jcodings/Encoding;)V
41: sipush 378
ireturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 42 0 this Lorg/jruby/ext/ripper/StringTerm;
0 42 1 lexer Lorg/jruby/ext/ripper/RipperLexer;
0 42 2 src Lorg/jruby/lexer/LexerSource;
1 42 3 spaceSeen Z
10 42 4 c I
9 42 5 buffer Lorg/jruby/util/ByteList;
25 30 6 token I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
lexer
src
private void mixedEscape(org.jruby.ext.ripper.RipperLexer, org.jcodings.Encoding, org.jcodings.Encoding);
descriptor: (Lorg/jruby/ext/ripper/RipperLexer;Lorg/jcodings/Encoding;Lorg/jcodings/Encoding;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
new java.lang.StringBuilder
dup
ldc " mixed within "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.jruby.ext.ripper.RipperLexer.compile_error:(Ljava/lang/String;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ext/ripper/StringTerm;
0 2 1 lexer Lorg/jruby/ext/ripper/RipperLexer;
0 2 2 foundEncoding Lorg/jcodings/Encoding;
0 2 3 parserEncoding Lorg/jcodings/Encoding;
MethodParameters:
Name Flags
lexer
foundEncoding
parserEncoding
public int parseStringIntoBuffer(org.jruby.ext.ripper.RipperLexer, org.jruby.lexer.LexerSource, org.jruby.util.ByteList, org.jcodings.Encoding);
descriptor: (Lorg/jruby/ext/ripper/RipperLexer;Lorg/jruby/lexer/LexerSource;Lorg/jruby/util/ByteList;Lorg/jcodings/Encoding;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=13, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield org.jruby.ext.ripper.StringTerm.flags:I
bipush 8
iand
ifeq 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: istore 5
start local 5 3: aload 0
getfield org.jruby.ext.ripper.StringTerm.flags:I
iconst_2
iand
ifeq 4
iconst_1
goto 5
StackMap locals: int
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: istore 6
start local 6 6: aload 0
getfield org.jruby.ext.ripper.StringTerm.flags:I
iconst_1
iand
ifeq 7
iconst_1
goto 8
StackMap locals: int
StackMap stack:
7: iconst_0
StackMap locals:
StackMap stack: int
8: istore 7
start local 7 9: aload 0
getfield org.jruby.ext.ripper.StringTerm.flags:I
iconst_4
iand
ifeq 10
iconst_1
goto 11
StackMap locals: int
StackMap stack:
10: iconst_0
StackMap locals:
StackMap stack: int
11: istore 8
start local 8 12: aload 0
getfield org.jruby.ext.ripper.StringTerm.flags:I
bipush 16
iand
ifeq 13
iconst_1
goto 14
StackMap locals: int
StackMap stack:
13: iconst_0
StackMap locals:
StackMap stack: int
14: istore 9
start local 9 15: iconst_0
istore 10
start local 10 16: goto 100
start local 11 17: StackMap locals: int int int
StackMap stack:
aload 1
invokevirtual org.jruby.ext.ripper.RipperLexer.getHeredocIndent:()I
ifle 19
18: aload 1
iload 11
invokevirtual org.jruby.ext.ripper.RipperLexer.update_heredoc_indent:(I)Z
pop
19: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.ext.ripper.StringTerm.begin:C
ifeq 22
iload 11
aload 0
getfield org.jruby.ext.ripper.StringTerm.begin:C
if_icmpne 22
20: aload 0
dup
getfield org.jruby.ext.ripper.StringTerm.nest:I
iconst_1
iadd
putfield org.jruby.ext.ripper.StringTerm.nest:I
21: goto 94
StackMap locals:
StackMap stack:
22: iload 11
aload 0
getfield org.jruby.ext.ripper.StringTerm.end:C
if_icmpne 28
23: aload 0
getfield org.jruby.ext.ripper.StringTerm.nest:I
ifne 26
24: aload 1
iload 11
invokevirtual org.jruby.ext.ripper.RipperLexer.pushback:(I)V
25: goto 102
26: StackMap locals:
StackMap stack:
aload 0
dup
getfield org.jruby.ext.ripper.StringTerm.nest:I
iconst_1
isub
putfield org.jruby.ext.ripper.StringTerm.nest:I
27: goto 94
StackMap locals:
StackMap stack:
28: iload 6
ifeq 36
iload 11
bipush 35
if_icmpne 36
aload 1
bipush 10
invokevirtual org.jruby.ext.ripper.RipperLexer.peek:(I)Z
ifne 36
29: aload 1
invokevirtual org.jruby.ext.ripper.RipperLexer.nextc:()I
istore 12
start local 12 30: iload 12
bipush 36
if_icmpeq 31
iload 12
bipush 64
if_icmpeq 31
iload 12
bipush 123
if_icmpne 34
31: StackMap locals: int
StackMap stack:
aload 1
iload 12
invokevirtual org.jruby.ext.ripper.RipperLexer.pushback:(I)V
32: aload 1
iload 11
invokevirtual org.jruby.ext.ripper.RipperLexer.pushback:(I)V
33: goto 102
34: StackMap locals:
StackMap stack:
aload 1
iload 12
invokevirtual org.jruby.ext.ripper.RipperLexer.pushback:(I)V
end local 12 35: goto 94
StackMap locals:
StackMap stack:
36: iload 11
bipush 92
if_icmpne 83
37: aload 1
invokevirtual org.jruby.ext.ripper.RipperLexer.nextc:()I
istore 11
38: iload 11
lookupswitch { // 3
10: 39
92: 43
117: 45
default: 55
}
39: StackMap locals:
StackMap stack:
iload 5
ifeq 40
goto 94
40: StackMap locals:
StackMap stack:
iload 6
ifeq 41
goto 100
41: StackMap locals:
StackMap stack:
aload 3
bipush 92
invokevirtual org.jruby.util.ByteList.append:(I)Lorg/jruby/util/ByteList;
pop
42: goto 94
43: StackMap locals:
StackMap stack:
iload 7
ifeq 94
aload 3
iload 11
invokevirtual org.jruby.util.ByteList.append:(I)Lorg/jruby/util/ByteList;
pop
44: goto 94
45: StackMap locals:
StackMap stack:
iload 6
ifne 48
46: aload 3
bipush 92
invokevirtual org.jruby.util.ByteList.append:(I)Lorg/jruby/util/ByteList;
pop
47: goto 94
48: StackMap locals:
StackMap stack:
iload 8
ifeq 51
49: aload 1
aload 3
invokevirtual org.jruby.ext.ripper.RipperLexer.readUTFEscapeRegexpLiteral:(Lorg/jruby/util/ByteList;)V
50: goto 52
51: StackMap locals:
StackMap stack:
aload 1
aload 3
iconst_1
iload 9
invokevirtual org.jruby.ext.ripper.RipperLexer.readUTFEscape:(Lorg/jruby/util/ByteList;ZZ)I
pop
52: StackMap locals:
StackMap stack:
iload 10
ifeq 100
aload 3
invokevirtual org.jruby.util.ByteList.getEncoding:()Lorg/jcodings/Encoding;
aload 4
if_acmpeq 100
53: aload 0
aload 1
aload 3
invokevirtual org.jruby.util.ByteList.getEncoding:()Lorg/jcodings/Encoding;
aload 4
invokevirtual org.jruby.ext.ripper.StringTerm.mixedEscape:(Lorg/jruby/ext/ripper/RipperLexer;Lorg/jcodings/Encoding;Lorg/jcodings/Encoding;)V
54: goto 100
55: StackMap locals:
StackMap stack:
iload 11
iconst_m1
if_icmpne 56
iconst_m1
ireturn
56: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.jruby.ext.ripper.RipperLexer.isASCII:()Z
ifne 65
57: iload 6
ifne 58
aload 3
bipush 92
invokevirtual org.jruby.util.ByteList.append:(I)Lorg/jruby/util/ByteList;
pop
58: StackMap locals:
StackMap stack:
iconst_1
istore 10
59: aload 3
invokevirtual org.jruby.util.ByteList.getEncoding:()Lorg/jcodings/Encoding;
aload 4
if_acmpeq 62
60: aload 0
aload 1
aload 3
invokevirtual org.jruby.util.ByteList.getEncoding:()Lorg/jcodings/Encoding;
aload 4
invokevirtual org.jruby.ext.ripper.StringTerm.mixedEscape:(Lorg/jruby/ext/ripper/RipperLexer;Lorg/jcodings/Encoding;Lorg/jcodings/Encoding;)V
61: goto 100
62: StackMap locals:
StackMap stack:
aload 1
iload 11
aload 3
invokevirtual org.jruby.ext.ripper.RipperLexer.tokenAddMBC:(ILorg/jruby/util/ByteList;)Z
ifne 100
63: aload 1
new java.lang.StringBuilder
dup
ldc "invalid multibyte char ("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.jruby.ext.ripper.RipperLexer.compile_error:(Ljava/lang/String;)V
64: iconst_m1
ireturn
65: StackMap locals:
StackMap stack:
iload 8
ifeq 74
66: iload 11
aload 0
getfield org.jruby.ext.ripper.StringTerm.end:C
if_icmpne 69
aload 0
iload 11
invokevirtual org.jruby.ext.ripper.StringTerm.simple_re_meta:(I)Z
ifne 69
67: aload 3
iload 11
invokevirtual org.jruby.util.ByteList.append:(I)Lorg/jruby/util/ByteList;
pop
68: goto 100
69: StackMap locals:
StackMap stack:
aload 1
iload 11
invokevirtual org.jruby.ext.ripper.RipperLexer.pushback:(I)V
70: aload 0
aload 1
aload 2
aload 3
invokevirtual org.jruby.ext.ripper.StringTerm.parseEscapeIntoBuffer:(Lorg/jruby/ext/ripper/RipperLexer;Lorg/jruby/lexer/LexerSource;Lorg/jruby/util/ByteList;)V
71: iload 10
ifeq 100
aload 3
invokevirtual org.jruby.util.ByteList.getEncoding:()Lorg/jcodings/Encoding;
aload 4
if_acmpeq 100
72: aload 0
aload 1
aload 3
invokevirtual org.jruby.util.ByteList.getEncoding:()Lorg/jcodings/Encoding;
aload 4
invokevirtual org.jruby.ext.ripper.StringTerm.mixedEscape:(Lorg/jruby/ext/ripper/RipperLexer;Lorg/jcodings/Encoding;Lorg/jcodings/Encoding;)V
73: goto 100
74: StackMap locals:
StackMap stack:
iload 6
ifeq 79
75: aload 1
iload 11
invokevirtual org.jruby.ext.ripper.RipperLexer.pushback:(I)V
76: iload 7
ifeq 77
aload 3
bipush 92
invokevirtual org.jruby.util.ByteList.append:(I)Lorg/jruby/util/ByteList;
pop
77: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.jruby.ext.ripper.RipperLexer.readEscape:()I
istore 11
78: goto 94
StackMap locals:
StackMap stack:
79: iload 5
ifeq 80
iload 11
invokestatic java.lang.Character.isWhitespace:(I)Z
ifne 94
80: StackMap locals:
StackMap stack:
iload 11
aload 0
getfield org.jruby.ext.ripper.StringTerm.end:C
if_icmpeq 94
aload 0
getfield org.jruby.ext.ripper.StringTerm.begin:C
ifeq 81
iload 11
aload 0
getfield org.jruby.ext.ripper.StringTerm.begin:C
if_icmpeq 94
81: StackMap locals:
StackMap stack:
aload 3
bipush 92
invokevirtual org.jruby.util.ByteList.append:(I)Lorg/jruby/util/ByteList;
pop
82: goto 94
StackMap locals:
StackMap stack:
83: aload 1
invokevirtual org.jruby.ext.ripper.RipperLexer.isASCII:()Z
ifne 91
84: iconst_1
istore 10
85: aload 3
invokevirtual org.jruby.util.ByteList.getEncoding:()Lorg/jcodings/Encoding;
aload 4
if_acmpeq 88
86: aload 0
aload 1
aload 3
invokevirtual org.jruby.util.ByteList.getEncoding:()Lorg/jcodings/Encoding;
aload 4
invokevirtual org.jruby.ext.ripper.StringTerm.mixedEscape:(Lorg/jruby/ext/ripper/RipperLexer;Lorg/jcodings/Encoding;Lorg/jcodings/Encoding;)V
87: goto 100
88: StackMap locals:
StackMap stack:
aload 1
iload 11
aload 3
invokevirtual org.jruby.ext.ripper.RipperLexer.tokenAddMBC:(ILorg/jruby/util/ByteList;)Z
ifne 100
89: aload 1
new java.lang.StringBuilder
dup
ldc "invalid multibyte char ("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.jruby.ext.ripper.RipperLexer.compile_error:(Ljava/lang/String;)V
90: iconst_m1
ireturn
91: StackMap locals:
StackMap stack:
iload 5
ifeq 94
iload 11
invokestatic java.lang.Character.isWhitespace:(I)Z
ifeq 94
92: aload 1
iload 11
invokevirtual org.jruby.ext.ripper.RipperLexer.pushback:(I)V
93: goto 102
94: StackMap locals:
StackMap stack:
iload 11
sipush 128
iand
ifeq 99
95: iconst_1
istore 10
96: aload 3
invokevirtual org.jruby.util.ByteList.getEncoding:()Lorg/jcodings/Encoding;
aload 4
if_acmpeq 99
97: aload 0
aload 1
aload 3
invokevirtual org.jruby.util.ByteList.getEncoding:()Lorg/jcodings/Encoding;
aload 4
invokevirtual org.jruby.ext.ripper.StringTerm.mixedEscape:(Lorg/jruby/ext/ripper/RipperLexer;Lorg/jcodings/Encoding;Lorg/jcodings/Encoding;)V
98: goto 100
99: StackMap locals:
StackMap stack:
aload 3
iload 11
invokevirtual org.jruby.util.ByteList.append:(I)Lorg/jruby/util/ByteList;
pop
end local 11 100: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.jruby.ext.ripper.RipperLexer.nextc:()I
dup
istore 11
start local 11 101: iconst_m1
if_icmpne 17
102: StackMap locals: int
StackMap stack:
aload 0
aload 3
invokevirtual org.jruby.util.ByteList.getEncoding:()Lorg/jcodings/Encoding;
putfield org.jruby.ext.ripper.StringTerm.encodingOut:Lorg/jcodings/Encoding;
103: iload 11
ireturn
end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 104 0 this Lorg/jruby/ext/ripper/StringTerm;
0 104 1 lexer Lorg/jruby/ext/ripper/RipperLexer;
0 104 2 src Lorg/jruby/lexer/LexerSource;
0 104 3 buffer Lorg/jruby/util/ByteList;
0 104 4 enc Lorg/jcodings/Encoding;
3 104 5 qwords Z
6 104 6 expand Z
9 104 7 escape Z
12 104 8 regexp Z
15 104 9 symbol Z
16 104 10 hasNonAscii Z
17 100 11 c I
101 104 11 c I
30 35 12 c2 I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
lexer
src
buffer
enc
private boolean simple_re_meta(int);
descriptor: (I)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iload 1
lookupswitch { // 11
36: 1
41: 1
42: 1
43: 1
46: 1
62: 1
63: 1
93: 1
94: 1
124: 1
125: 1
default: 2
}
1: StackMap locals:
StackMap stack:
iconst_1
ireturn
2: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ext/ripper/StringTerm;
0 3 1 c I
MethodParameters:
Name Flags
c
private void escaped(org.jruby.ext.ripper.RipperLexer, org.jruby.lexer.LexerSource, org.jruby.util.ByteList);
descriptor: (Lorg/jruby/ext/ripper/RipperLexer;Lorg/jruby/lexer/LexerSource;Lorg/jruby/util/ByteList;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokevirtual org.jruby.ext.ripper.RipperLexer.nextc:()I
dup
istore 4
start local 4 1: lookupswitch { // 2
-1: 4
92: 2
default: 5
}
2: StackMap locals: int
StackMap stack:
aload 0
aload 1
aload 2
aload 3
invokevirtual org.jruby.ext.ripper.StringTerm.parseEscapeIntoBuffer:(Lorg/jruby/ext/ripper/RipperLexer;Lorg/jruby/lexer/LexerSource;Lorg/jruby/util/ByteList;)V
3: goto 6
4: StackMap locals:
StackMap stack:
aload 1
ldc "Invalid escape character syntax"
invokevirtual org.jruby.ext.ripper.RipperLexer.compile_error:(Ljava/lang/String;)V
5: StackMap locals:
StackMap stack:
aload 3
iload 4
invokevirtual org.jruby.util.ByteList.append:(I)Lorg/jruby/util/ByteList;
pop
6: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jruby/ext/ripper/StringTerm;
0 7 1 lexer Lorg/jruby/ext/ripper/RipperLexer;
0 7 2 src Lorg/jruby/lexer/LexerSource;
0 7 3 buffer Lorg/jruby/util/ByteList;
1 7 4 c I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
lexer
src
buffer
private void parseEscapeIntoBuffer(org.jruby.ext.ripper.RipperLexer, org.jruby.lexer.LexerSource, org.jruby.util.ByteList);
descriptor: (Lorg/jruby/ext/ripper/RipperLexer;Lorg/jruby/lexer/LexerSource;Lorg/jruby/util/ByteList;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokevirtual org.jruby.ext.ripper.RipperLexer.nextc:()I
dup
istore 4
start local 4 1: lookupswitch { // 14
-1: 42
10: 2
48: 3
49: 3
50: 3
51: 3
52: 3
53: 3
54: 3
55: 3
67: 34
77: 29
99: 39
120: 17
default: 43
}
2: StackMap locals: int
StackMap stack:
goto 46
3: StackMap locals:
StackMap stack:
aload 3
bipush 92
invokevirtual org.jruby.util.ByteList.append:(I)Lorg/jruby/util/ByteList;
pop
4: aload 3
iload 4
invokevirtual org.jruby.util.ByteList.append:(I)Lorg/jruby/util/ByteList;
pop
5: iconst_0
istore 5
start local 5 6: goto 15
7: StackMap locals: int
StackMap stack:
aload 1
invokevirtual org.jruby.ext.ripper.RipperLexer.nextc:()I
istore 4
8: iload 4
iconst_m1
if_icmpne 10
9: aload 1
ldc "Invalid escape character syntax"
invokevirtual org.jruby.ext.ripper.RipperLexer.compile_error:(Ljava/lang/String;)V
10: StackMap locals:
StackMap stack:
iload 4
invokestatic org.jruby.lexer.LexingCommon.isOctChar:(I)Z
ifne 13
11: aload 1
iload 4
invokevirtual org.jruby.ext.ripper.RipperLexer.pushback:(I)V
12: goto 46
13: StackMap locals:
StackMap stack:
aload 3
iload 4
invokevirtual org.jruby.util.ByteList.append:(I)Lorg/jruby/util/ByteList;
pop
14: iinc 5 1
StackMap locals:
StackMap stack:
15: iload 5
iconst_2
if_icmplt 7
end local 5 16: goto 46
17: StackMap locals:
StackMap stack:
aload 3
bipush 92
invokevirtual org.jruby.util.ByteList.append:(I)Lorg/jruby/util/ByteList;
pop
18: aload 3
iload 4
invokevirtual org.jruby.util.ByteList.append:(I)Lorg/jruby/util/ByteList;
pop
19: aload 1
invokevirtual org.jruby.ext.ripper.RipperLexer.nextc:()I
istore 4
20: iload 4
invokestatic org.jruby.lexer.LexingCommon.isHexChar:(I)Z
ifne 22
21: aload 1
ldc "Invalid escape character syntax"
invokevirtual org.jruby.ext.ripper.RipperLexer.compile_error:(Ljava/lang/String;)V
22: StackMap locals:
StackMap stack:
aload 3
iload 4
invokevirtual org.jruby.util.ByteList.append:(I)Lorg/jruby/util/ByteList;
pop
23: aload 1
invokevirtual org.jruby.ext.ripper.RipperLexer.nextc:()I
istore 4
24: iload 4
invokestatic org.jruby.lexer.LexingCommon.isHexChar:(I)Z
ifeq 27
25: aload 3
iload 4
invokevirtual org.jruby.util.ByteList.append:(I)Lorg/jruby/util/ByteList;
pop
26: goto 46
27: StackMap locals:
StackMap stack:
aload 1
iload 4
invokevirtual org.jruby.ext.ripper.RipperLexer.pushback:(I)V
28: goto 46
29: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.jruby.ext.ripper.RipperLexer.nextc:()I
bipush 45
if_icmpeq 31
30: aload 1
ldc "Invalid escape character syntax"
invokevirtual org.jruby.ext.ripper.RipperLexer.compile_error:(Ljava/lang/String;)V
31: StackMap locals:
StackMap stack:
aload 3
iconst_3
newarray 8
dup
iconst_0
bipush 92
bastore
dup
iconst_1
bipush 77
bastore
dup
iconst_2
bipush 45
bastore
invokevirtual org.jruby.util.ByteList.append:([B)V
32: aload 0
aload 1
aload 2
aload 3
invokevirtual org.jruby.ext.ripper.StringTerm.escaped:(Lorg/jruby/ext/ripper/RipperLexer;Lorg/jruby/lexer/LexerSource;Lorg/jruby/util/ByteList;)V
33: goto 46
34: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.jruby.ext.ripper.RipperLexer.nextc:()I
bipush 45
if_icmpeq 36
35: aload 1
ldc "Invalid escape character syntax"
invokevirtual org.jruby.ext.ripper.RipperLexer.compile_error:(Ljava/lang/String;)V
36: StackMap locals:
StackMap stack:
aload 3
iconst_3
newarray 8
dup
iconst_0
bipush 92
bastore
dup
iconst_1
bipush 67
bastore
dup
iconst_2
bipush 45
bastore
invokevirtual org.jruby.util.ByteList.append:([B)V
37: aload 0
aload 1
aload 2
aload 3
invokevirtual org.jruby.ext.ripper.StringTerm.escaped:(Lorg/jruby/ext/ripper/RipperLexer;Lorg/jruby/lexer/LexerSource;Lorg/jruby/util/ByteList;)V
38: goto 46
39: StackMap locals:
StackMap stack:
aload 3
iconst_2
newarray 8
dup
iconst_0
bipush 92
bastore
dup
iconst_1
bipush 99
bastore
invokevirtual org.jruby.util.ByteList.append:([B)V
40: aload 0
aload 1
aload 2
aload 3
invokevirtual org.jruby.ext.ripper.StringTerm.escaped:(Lorg/jruby/ext/ripper/RipperLexer;Lorg/jruby/lexer/LexerSource;Lorg/jruby/util/ByteList;)V
41: goto 46
42: StackMap locals:
StackMap stack:
aload 1
ldc "Invalid escape character syntax"
invokevirtual org.jruby.ext.ripper.RipperLexer.compile_error:(Ljava/lang/String;)V
43: StackMap locals:
StackMap stack:
iload 4
bipush 92
if_icmpne 44
iload 4
aload 0
getfield org.jruby.ext.ripper.StringTerm.end:C
if_icmpeq 45
StackMap locals:
StackMap stack:
44: aload 3
bipush 92
invokevirtual org.jruby.util.ByteList.append:(I)Lorg/jruby/util/ByteList;
pop
45: StackMap locals:
StackMap stack:
aload 3
iload 4
invokevirtual org.jruby.util.ByteList.append:(I)Lorg/jruby/util/ByteList;
pop
46: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 47 0 this Lorg/jruby/ext/ripper/StringTerm;
0 47 1 lexer Lorg/jruby/ext/ripper/RipperLexer;
0 47 2 src Lorg/jruby/lexer/LexerSource;
0 47 3 buffer Lorg/jruby/util/ByteList;
1 47 4 c I
6 16 5 i I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
lexer
src
buffer
}
SourceFile: "StringTerm.java"