@@ -951,8 +951,8 @@ control/cases.rb:
951951# 87| getBranch: [InClause] in ... then ...
952952# 87| getPattern: [IntegerLiteral] 5
953953# 88| getBranch: [InClause] in ... then ...
954- # 88| getPattern: [VariableReferencePattern ] ^...
955- # 88| getVariableAccess : [LocalVariableAccess] foo
954+ # 88| getPattern: [ReferencePattern ] ^...
955+ # 88| getValue : [LocalVariableAccess] foo
956956# 89| getBranch: [InClause] in ... then ...
957957# 89| getPattern: [StringLiteral] "string"
958958# 89| getComponent: [StringTextComponent] string
@@ -1049,8 +1049,8 @@ control/cases.rb:
10491049# 111| getBranch: [InClause] in ... then ...
10501050# 111| getPattern: [AlternativePattern] ... | ...
10511051# 111| getAlternative: [IntegerLiteral] 5
1052- # 111| getAlternative: [VariableReferencePattern ] ^...
1053- # 111| getVariableAccess : [LocalVariableAccess] foo
1052+ # 111| getAlternative: [ReferencePattern ] ^...
1053+ # 111| getValue : [LocalVariableAccess] foo
10541054# 111| getAlternative: [StringLiteral] "string"
10551055# 111| getComponent: [StringTextComponent] string
10561056# 111| getAlternative: [LocalVariableAccess] var
@@ -1145,17 +1145,31 @@ control/cases.rb:
11451145# 147| getValue: [MethodCall] call to expr
11461146# 147| getReceiver: [Self, SelfVariableAccess] self
11471147# 148| getBranch: [InClause] in ... then ...
1148- # 148| getPattern: [VariableReferencePattern ] ^...
1149- # 148| getVariableAccess : [LocalVariableAccess] foo
1148+ # 148| getPattern: [ReferencePattern ] ^...
1149+ # 148| getValue : [LocalVariableAccess] foo
11501150# 149| getBranch: [InClause] in ... then ...
1151- # 149| getPattern: [VariableReferencePattern ] ^...
1152- # 149| getVariableAccess : [GlobalVariableAccess] $foo
1151+ # 149| getPattern: [ReferencePattern ] ^...
1152+ # 149| getValue : [GlobalVariableAccess] $foo
11531153# 150| getBranch: [InClause] in ... then ...
1154- # 150| getPattern: [VariableReferencePattern ] ^...
1155- # 150| getVariableAccess : [InstanceVariableAccess] @foo
1154+ # 150| getPattern: [ReferencePattern ] ^...
1155+ # 150| getValue : [InstanceVariableAccess] @foo
11561156# 151| getBranch: [InClause] in ... then ...
1157- # 151| getPattern: [VariableReferencePattern] ^...
1158- # 151| getVariableAccess: [ClassVariableAccess] @@foo
1157+ # 151| getPattern: [ReferencePattern] ^...
1158+ # 151| getValue: [ClassVariableAccess] @@foo
1159+ # 154| getStmt: [CaseExpr] case ...
1160+ # 154| getValue: [MethodCall] call to expr
1161+ # 154| getReceiver: [Self, SelfVariableAccess] self
1162+ # 155| getBranch: [InClause] in ... then ...
1163+ # 155| getPattern: [ReferencePattern] ^...
1164+ # 155| getValue: [LocalVariableAccess] foo
1165+ # 156| getBranch: [InClause] in ... then ...
1166+ # 156| getPattern: [ReferencePattern] ^...
1167+ # 156| getValue: [InstanceVariableAccess] @foo
1168+ # 157| getBranch: [InClause] in ... then ...
1169+ # 157| getPattern: [ReferencePattern] ^...
1170+ # 157| getValue: [AddExpr] ... + ...
1171+ # 157| getAnOperand/getLeftOperand/getReceiver: [IntegerLiteral] 1
1172+ # 157| getAnOperand/getArgument/getRightOperand: [IntegerLiteral] 1
11591173modules/classes.rb:
11601174# 2| [Toplevel] classes.rb
11611175# 3| getStmt: [ClassDeclaration] Foo
0 commit comments