diff options
Diffstat (limited to 'test/prism/snapshots/seattlerb/parse_def_special_name.txt')
-rw-r--r-- | test/prism/snapshots/seattlerb/parse_def_special_name.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/prism/snapshots/seattlerb/parse_def_special_name.txt b/test/prism/snapshots/seattlerb/parse_def_special_name.txt new file mode 100644 index 0000000000..dfbfe8a391 --- /dev/null +++ b/test/prism/snapshots/seattlerb/parse_def_special_name.txt @@ -0,0 +1,18 @@ +@ ProgramNode (location: (1,0)-(1,13)) +├── locals: [] +└── statements: + @ StatementsNode (location: (1,0)-(1,13)) + └── body: (length: 1) + └── @ DefNode (location: (1,0)-(1,13)) + ├── name: :next + ├── name_loc: (1,4)-(1,8) = "next" + ├── receiver: ∅ + ├── parameters: ∅ + ├── body: ∅ + ├── locals: [] + ├── def_keyword_loc: (1,0)-(1,3) = "def" + ├── operator_loc: ∅ + ├── lparen_loc: ∅ + ├── rparen_loc: ∅ + ├── equal_loc: ∅ + └── end_keyword_loc: (1,10)-(1,13) = "end" |