File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -1119,20 +1119,50 @@ nodes:
1119
1119
fields :
1120
1120
- name : begin_keyword_loc
1121
1121
type : location?
1122
+ comment : |
1123
+ Represents the location of the `begin` keyword.
1124
+
1125
+ begin x end
1126
+ ^^^^^
1122
1127
- name : statements
1123
1128
type : node?
1124
1129
kind : StatementsNode
1130
+ comment : |
1131
+ Represents the statements within the begin block.
1132
+
1133
+ begin x end
1134
+ ^
1125
1135
- name : rescue_clause
1126
1136
type : node?
1127
1137
kind : RescueNode
1138
+ comment : |
1139
+ Represents the rescue clause within the begin block.
1140
+
1141
+ begin x; rescue y; end
1142
+ ^^^^^^^^
1128
1143
- name : else_clause
1129
1144
type : node?
1130
1145
kind : ElseNode
1146
+ comment : |
1147
+ Represents the else clause within the begin block.
1148
+
1149
+ begin x; rescue y; else z; end
1150
+ ^^^^^^
1131
1151
- name : ensure_clause
1132
1152
type : node?
1133
1153
kind : EnsureNode
1154
+ comment : |
1155
+ Represents the ensure clause within the begin block.
1156
+
1157
+ begin x; ensure y; end
1158
+ ^^^^^^^^
1134
1159
- name : end_keyword_loc
1135
1160
type : location?
1161
+ comment : |
1162
+ Represents the location of the `end` keyword.
1163
+
1164
+ begin x end
1165
+ ^^^
1136
1166
newline : false
1137
1167
comment : |
1138
1168
Represents a begin statement.
You can’t perform that action at this time.
0 commit comments