diff options
Diffstat (limited to 'test/prism/snapshots/seattlerb/defn_oneliner_noargs.txt')
-rw-r--r-- | test/prism/snapshots/seattlerb/defn_oneliner_noargs.txt | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/test/prism/snapshots/seattlerb/defn_oneliner_noargs.txt b/test/prism/snapshots/seattlerb/defn_oneliner_noargs.txt new file mode 100644 index 0000000000..54555b1a23 --- /dev/null +++ b/test/prism/snapshots/seattlerb/defn_oneliner_noargs.txt @@ -0,0 +1,30 @@ +@ ProgramNode (location: (1,0)-(1,17)) +├── locals: [] +└── statements: + @ StatementsNode (location: (1,0)-(1,17)) + └── body: (length: 1) + └── @ DefNode (location: (1,0)-(1,17)) + ├── name: :exec + ├── name_loc: (1,4)-(1,8) = "exec" + ├── receiver: ∅ + ├── parameters: ∅ + ├── body: + │ @ StatementsNode (location: (1,11)-(1,17)) + │ └── body: (length: 1) + │ └── @ CallNode (location: (1,11)-(1,17)) + │ ├── flags: variable_call, ignore_visibility + │ ├── receiver: ∅ + │ ├── call_operator_loc: ∅ + │ ├── name: :system + │ ├── message_loc: (1,11)-(1,17) = "system" + │ ├── opening_loc: ∅ + │ ├── arguments: ∅ + │ ├── closing_loc: ∅ + │ └── block: ∅ + ├── locals: [] + ├── def_keyword_loc: (1,0)-(1,3) = "def" + ├── operator_loc: ∅ + ├── lparen_loc: ∅ + ├── rparen_loc: ∅ + ├── equal_loc: (1,9)-(1,10) = "=" + └── end_keyword_loc: ∅ |