summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/whitequark/forwarded_restarg.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/prism/snapshots/whitequark/forwarded_restarg.txt')
-rw-r--r--test/prism/snapshots/whitequark/forwarded_restarg.txt49
1 files changed, 0 insertions, 49 deletions
diff --git a/test/prism/snapshots/whitequark/forwarded_restarg.txt b/test/prism/snapshots/whitequark/forwarded_restarg.txt
deleted file mode 100644
index 17ff8894af..0000000000
--- a/test/prism/snapshots/whitequark/forwarded_restarg.txt
+++ /dev/null
@@ -1,49 +0,0 @@
-@ ProgramNode (location: (1,0)-(1,23))
-├── locals: []
-└── statements:
- @ StatementsNode (location: (1,0)-(1,23))
- └── body: (length: 1)
- └── @ DefNode (location: (1,0)-(1,23))
- ├── name: :foo
- ├── name_loc: (1,4)-(1,7) = "foo"
- ├── receiver: ∅
- ├── parameters:
- │ @ ParametersNode (location: (1,8)-(1,9))
- │ ├── requireds: (length: 0)
- │ ├── optionals: (length: 0)
- │ ├── rest:
- │ │ @ RestParameterNode (location: (1,8)-(1,9))
- │ │ ├── flags: ∅
- │ │ ├── name: ∅
- │ │ ├── name_loc: ∅
- │ │ └── operator_loc: (1,8)-(1,9) = "*"
- │ ├── posts: (length: 0)
- │ ├── keywords: (length: 0)
- │ ├── keyword_rest: ∅
- │ └── block: ∅
- ├── body:
- │ @ StatementsNode (location: (1,12)-(1,18))
- │ └── body: (length: 1)
- │ └── @ CallNode (location: (1,12)-(1,18))
- │ ├── flags: ignore_visibility
- │ ├── receiver: ∅
- │ ├── call_operator_loc: ∅
- │ ├── name: :bar
- │ ├── message_loc: (1,12)-(1,15) = "bar"
- │ ├── opening_loc: (1,15)-(1,16) = "("
- │ ├── arguments:
- │ │ @ ArgumentsNode (location: (1,16)-(1,17))
- │ │ ├── flags: ∅
- │ │ └── arguments: (length: 1)
- │ │ └── @ SplatNode (location: (1,16)-(1,17))
- │ │ ├── operator_loc: (1,16)-(1,17) = "*"
- │ │ └── expression: ∅
- │ ├── closing_loc: (1,17)-(1,18) = ")"
- │ └── block: ∅
- ├── locals: []
- ├── def_keyword_loc: (1,0)-(1,3) = "def"
- ├── operator_loc: ∅
- ├── lparen_loc: (1,7)-(1,8) = "("
- ├── rparen_loc: (1,9)-(1,10) = ")"
- ├── equal_loc: ∅
- └── end_keyword_loc: (1,20)-(1,23) = "end"