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:
11191119 fields :
11201120 - name : begin_keyword_loc
11211121 type : location?
1122+ comment : |
1123+ Represents the location of the `begin` keyword.
1124+
1125+ begin x end
1126+ ^^^^^
11221127 - name : statements
11231128 type : node?
11241129 kind : StatementsNode
1130+ comment : |
1131+ Represents the statements within the begin block.
1132+
1133+ begin x end
1134+ ^
11251135 - name : rescue_clause
11261136 type : node?
11271137 kind : RescueNode
1138+ comment : |
1139+ Represents the rescue clause within the begin block.
1140+
1141+ begin x; rescue y; end
1142+ ^^^^^^^^
11281143 - name : else_clause
11291144 type : node?
11301145 kind : ElseNode
1146+ comment : |
1147+ Represents the else clause within the begin block.
1148+
1149+ begin x; rescue y; else z; end
1150+ ^^^^^^
11311151 - name : ensure_clause
11321152 type : node?
11331153 kind : EnsureNode
1154+ comment : |
1155+ Represents the ensure clause within the begin block.
1156+
1157+ begin x; ensure y; end
1158+ ^^^^^^^^
11341159 - name : end_keyword_loc
11351160 type : location?
1161+ comment : |
1162+ Represents the location of the `end` keyword.
1163+
1164+ begin x end
1165+ ^^^
11361166 newline : false
11371167 comment : |
11381168 Represents a begin statement.
You can’t perform that action at this time.
0 commit comments