@@ -2962,6 +2962,36 @@ control/conditionals.rb:
29622962# 68| 0: [ReservedWord] else
29632963# 69| 1: [Identifier] c
29642964# 70| 4: [ReservedWord] end
2965+ # 73| 17: [If] If
2966+ # 73| 0: [ReservedWord] if
2967+ # 73| 1: [Binary] Binary
2968+ # 73| 0: [Identifier] a
2969+ # 73| 1: [ReservedWord] &&
2970+ # 73| 2: [Identifier] b
2971+ # 73| 2: [Then] Then
2972+ # 73| 0: [ReservedWord] then
2973+ # 74| 1: [Identifier] c
2974+ # 75| 3: [ReservedWord] end
2975+ # 78| 18: [If] If
2976+ # 78| 0: [ReservedWord] if
2977+ # 78| 1: [Binary] Binary
2978+ # 78| 0: [Identifier] a
2979+ # 79| 1: [ReservedWord] &&
2980+ # 79| 2: [Identifier] b
2981+ # 79| 2: [Then] Then
2982+ # 80| 0: [ReservedWord] then
2983+ # 81| 1: [Identifier] c
2984+ # 82| 3: [ReservedWord] end
2985+ # 85| 19: [If] If
2986+ # 85| 0: [ReservedWord] if
2987+ # 85| 1: [Binary] Binary
2988+ # 85| 0: [Identifier] a
2989+ # 85| 1: [ReservedWord] &&
2990+ # 86| 2: [Identifier] b
2991+ # 86| 2: [Then] Then
2992+ # 87| 0: [ReservedWord] then
2993+ # 88| 1: [Identifier] c
2994+ # 89| 3: [ReservedWord] end
29652995# 1| [Comment] # Define some variables used below
29662996# 9| [Comment] # If expr with no else
29672997# 14| [Comment] # If expr with single else
@@ -2974,6 +3004,9 @@ control/conditionals.rb:
29743004# 57| [Comment] # Ternary if expr
29753005# 60| [Comment] # If expr with empty else (treated as no else)
29763006# 66| [Comment] # If expr with empty then (treated as no then)
3007+ # 72| [Comment] # If expr with && on same line as condition and then
3008+ # 77| [Comment] # If expr with && at the start of a separate line before then
3009+ # 84| [Comment] # If expr with && at end of line
29773010control/loops.rb:
29783011# 1| [Program] Program
29793012# 2| 0: [Assignment] Assignment
0 commit comments