diff options
Diffstat (limited to 'test/prism/snapshots/seattlerb/stabby_proc_scope.txt')
-rw-r--r-- | test/prism/snapshots/seattlerb/stabby_proc_scope.txt | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/test/prism/snapshots/seattlerb/stabby_proc_scope.txt b/test/prism/snapshots/seattlerb/stabby_proc_scope.txt new file mode 100644 index 0000000000..898f823f24 --- /dev/null +++ b/test/prism/snapshots/seattlerb/stabby_proc_scope.txt @@ -0,0 +1,31 @@ +@ ProgramNode (location: (1,0)-(1,11)) +├── locals: [] +└── statements: + @ StatementsNode (location: (1,0)-(1,11)) + └── body: (length: 1) + └── @ LambdaNode (location: (1,0)-(1,11)) + ├── locals: [:a, :b] + ├── operator_loc: (1,0)-(1,2) = "->" + ├── opening_loc: (1,9)-(1,10) = "{" + ├── closing_loc: (1,10)-(1,11) = "}" + ├── parameters: + │ @ BlockParametersNode (location: (1,2)-(1,8)) + │ ├── parameters: + │ │ @ ParametersNode (location: (1,3)-(1,4)) + │ │ ├── requireds: (length: 1) + │ │ │ └── @ RequiredParameterNode (location: (1,3)-(1,4)) + │ │ │ ├── flags: ∅ + │ │ │ └── name: :a + │ │ ├── optionals: (length: 0) + │ │ ├── rest: ∅ + │ │ ├── posts: (length: 0) + │ │ ├── keywords: (length: 0) + │ │ ├── keyword_rest: ∅ + │ │ └── block: ∅ + │ ├── locals: (length: 1) + │ │ └── @ BlockLocalVariableNode (location: (1,6)-(1,7)) + │ │ ├── flags: ∅ + │ │ └── name: :b + │ ├── opening_loc: (1,2)-(1,3) = "(" + │ └── closing_loc: (1,7)-(1,8) = ")" + └── body: ∅ |