diff options
Diffstat (limited to 'test/prism/snapshots/yield.txt')
-rw-r--r-- | test/prism/snapshots/yield.txt | 103 |
1 files changed, 0 insertions, 103 deletions
diff --git a/test/prism/snapshots/yield.txt b/test/prism/snapshots/yield.txt deleted file mode 100644 index e9680c3b2d..0000000000 --- a/test/prism/snapshots/yield.txt +++ /dev/null @@ -1,103 +0,0 @@ -@ ProgramNode (location: (1,0)-(7,28)) -├── locals: [] -└── statements: - @ StatementsNode (location: (1,0)-(7,28)) - └── body: (length: 4) - ├── @ DefNode (location: (1,0)-(1,19)) - │ ├── name: :foo - │ ├── name_loc: (1,4)-(1,7) = "foo" - │ ├── receiver: ∅ - │ ├── parameters: ∅ - │ ├── body: - │ │ @ StatementsNode (location: (1,9)-(1,14)) - │ │ └── body: (length: 1) - │ │ └── @ YieldNode (location: (1,9)-(1,14)) - │ │ ├── keyword_loc: (1,9)-(1,14) = "yield" - │ │ ├── lparen_loc: ∅ - │ │ ├── arguments: ∅ - │ │ └── rparen_loc: ∅ - │ ├── locals: [] - │ ├── def_keyword_loc: (1,0)-(1,3) = "def" - │ ├── operator_loc: ∅ - │ ├── lparen_loc: ∅ - │ ├── rparen_loc: ∅ - │ ├── equal_loc: ∅ - │ └── end_keyword_loc: (1,16)-(1,19) = "end" - ├── @ DefNode (location: (3,0)-(3,21)) - │ ├── name: :foo - │ ├── name_loc: (3,4)-(3,7) = "foo" - │ ├── receiver: ∅ - │ ├── parameters: ∅ - │ ├── body: - │ │ @ StatementsNode (location: (3,9)-(3,16)) - │ │ └── body: (length: 1) - │ │ └── @ YieldNode (location: (3,9)-(3,16)) - │ │ ├── keyword_loc: (3,9)-(3,14) = "yield" - │ │ ├── lparen_loc: (3,14)-(3,15) = "(" - │ │ ├── arguments: ∅ - │ │ └── rparen_loc: (3,15)-(3,16) = ")" - │ ├── locals: [] - │ ├── def_keyword_loc: (3,0)-(3,3) = "def" - │ ├── operator_loc: ∅ - │ ├── lparen_loc: ∅ - │ ├── rparen_loc: ∅ - │ ├── equal_loc: ∅ - │ └── end_keyword_loc: (3,18)-(3,21) = "end" - ├── @ DefNode (location: (5,0)-(5,22)) - │ ├── name: :foo - │ ├── name_loc: (5,4)-(5,7) = "foo" - │ ├── receiver: ∅ - │ ├── parameters: ∅ - │ ├── body: - │ │ @ StatementsNode (location: (5,9)-(5,17)) - │ │ └── body: (length: 1) - │ │ └── @ YieldNode (location: (5,9)-(5,17)) - │ │ ├── keyword_loc: (5,9)-(5,14) = "yield" - │ │ ├── lparen_loc: (5,14)-(5,15) = "(" - │ │ ├── arguments: - │ │ │ @ ArgumentsNode (location: (5,15)-(5,16)) - │ │ │ ├── flags: ∅ - │ │ │ └── arguments: (length: 1) - │ │ │ └── @ IntegerNode (location: (5,15)-(5,16)) - │ │ │ ├── flags: decimal - │ │ │ └── value: 1 - │ │ └── rparen_loc: (5,16)-(5,17) = ")" - │ ├── locals: [] - │ ├── def_keyword_loc: (5,0)-(5,3) = "def" - │ ├── operator_loc: ∅ - │ ├── lparen_loc: ∅ - │ ├── rparen_loc: ∅ - │ ├── equal_loc: ∅ - │ └── end_keyword_loc: (5,19)-(5,22) = "end" - └── @ DefNode (location: (7,0)-(7,28)) - ├── name: :foo - ├── name_loc: (7,4)-(7,7) = "foo" - ├── receiver: ∅ - ├── parameters: ∅ - ├── body: - │ @ StatementsNode (location: (7,9)-(7,23)) - │ └── body: (length: 1) - │ └── @ YieldNode (location: (7,9)-(7,23)) - │ ├── keyword_loc: (7,9)-(7,14) = "yield" - │ ├── lparen_loc: (7,14)-(7,15) = "(" - │ ├── arguments: - │ │ @ ArgumentsNode (location: (7,15)-(7,22)) - │ │ ├── flags: ∅ - │ │ └── arguments: (length: 3) - │ │ ├── @ IntegerNode (location: (7,15)-(7,16)) - │ │ │ ├── flags: decimal - │ │ │ └── value: 1 - │ │ ├── @ IntegerNode (location: (7,18)-(7,19)) - │ │ │ ├── flags: decimal - │ │ │ └── value: 2 - │ │ └── @ IntegerNode (location: (7,21)-(7,22)) - │ │ ├── flags: decimal - │ │ └── value: 3 - │ └── rparen_loc: (7,22)-(7,23) = ")" - ├── locals: [] - ├── def_keyword_loc: (7,0)-(7,3) = "def" - ├── operator_loc: ∅ - ├── lparen_loc: ∅ - ├── rparen_loc: ∅ - ├── equal_loc: ∅ - └── end_keyword_loc: (7,25)-(7,28) = "end" |