diff options
author | harasho <[email protected]> | 2025-05-29 14:05:28 +0900 |
---|---|---|
committer | git <[email protected]> | 2025-06-03 14:07:43 +0000 |
commit | 5f247416b6b46b6f99c9f5229fab36ba721fd975 () | |
tree | 3f3ae6679d4bf457d7cbb788e3ef4f4cd953ee4a /prism | |
parent | 34b407a4a89e69dd04f692e2b29efa2816d4664a (diff) |
[ruby/prism] Document ClassNode fields - Adds documentation for the fields of the `ClassNode`. - Part of #2123
https://.com/ruby/prism/commit/99615b43ac
-rw-r--r-- | prism/config.yml | 30 |
1 files changed, 30 insertions, 0 deletions
@@ -1828,6 +1828,11 @@ nodes: type: constant[] - name: class_keyword_loc type: location - name: constant_path type: node kind: @@ -1836,18 +1841,43 @@ nodes: - on error: CallNode # class 0.X end - name: inheritance_operator_loc type: location? - name: superclass type: node? kind: non-void expression - name: body type: node? kind: - StatementsNode - BeginNode - name: end_keyword_loc type: location - name: name type: constant comment: | Represents a class declaration involving the `class` keyword. |