aboutsummaryrefslogtreecommitdiffstats
path: root/test/yarp/snapshots/seattlerb/dstr_lex_state.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/yarp/snapshots/seattlerb/dstr_lex_state.txt')
-rw-r--r--test/yarp/snapshots/seattlerb/dstr_lex_state.txt30
1 files changed, 15 insertions, 15 deletions
diff --git a/test/yarp/snapshots/seattlerb/dstr_lex_state.txt b/test/yarp/snapshots/seattlerb/dstr_lex_state.txt
index 2ced434569..60d9eff91e 100644
--- a/test/yarp/snapshots/seattlerb/dstr_lex_state.txt
+++ b/test/yarp/snapshots/seattlerb/dstr_lex_state.txt
@@ -1,32 +1,32 @@
-@ ProgramNode (location: (0...8))
+@ ProgramNode (location: (1,0)-(1,8))
├── locals: []
└── statements:
- @ StatementsNode (location: (0...8))
+ @ StatementsNode (location: (1,0)-(1,8))
└── body: (length: 1)
- └── @ InterpolatedStringNode (location: (0...8))
- ├── opening_loc: (0...1) = "\""
+ └── @ InterpolatedStringNode (location: (1,0)-(1,8))
+ ├── opening_loc: (1,0)-(1,1) = "\""
├── parts: (length: 1)
- │ └── @ EmbeddedStatementsNode (location: (1...7))
- │ ├── opening_loc: (1...3) = "\#{"
+ │ └── @ EmbeddedStatementsNode (location: (1,1)-(1,7))
+ │ ├── opening_loc: (1,1)-(1,3) = "\#{"
│ ├── statements:
- │ │ @ StatementsNode (location: (3...6))
+ │ │ @ StatementsNode (location: (1,3)-(1,6))
│ │ └── body: (length: 1)
- │ │ └── @ CallNode (location: (3...6))
+ │ │ └── @ CallNode (location: (1,3)-(1,6))
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
- │ │ ├── message_loc: (3...4) = "p"
+ │ │ ├── message_loc: (1,3)-(1,4) = "p"
│ │ ├── opening_loc: ∅
│ │ ├── arguments:
- │ │ │ @ ArgumentsNode (location: (4...6))
+ │ │ │ @ ArgumentsNode (location: (1,4)-(1,6))
│ │ │ └── arguments: (length: 1)
- │ │ │ └── @ SymbolNode (location: (4...6))
- │ │ │ ├── opening_loc: (4...5) = ":"
- │ │ │ ├── value_loc: (5...6) = "a"
+ │ │ │ └── @ SymbolNode (location: (1,4)-(1,6))
+ │ │ │ ├── opening_loc: (1,4)-(1,5) = ":"
+ │ │ │ ├── value_loc: (1,5)-(1,6) = "a"
│ │ │ ├── closing_loc: ∅
│ │ │ └── unescaped: "a"
│ │ ├── closing_loc: ∅
│ │ ├── block: ∅
│ │ ├── flags: ∅
│ │ └── name: "p"
- │ └── closing_loc: (6...7) = "}"
- └── closing_loc: (7...8) = "\""
+ │ └── closing_loc: (1,6)-(1,7) = "}"
+ └── closing_loc: (1,7)-(1,8) = "\""