aboutsummaryrefslogtreecommitdiffstats
path: root/test/yarp/snapshots/whitequark/arg.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/yarp/snapshots/whitequark/arg.txt')
-rw-r--r--test/yarp/snapshots/whitequark/arg.txt38
1 files changed, 19 insertions, 19 deletions
diff --git a/test/yarp/snapshots/whitequark/arg.txt b/test/yarp/snapshots/whitequark/arg.txt
index a3ca01bdeb..d87f10db23 100644
--- a/test/yarp/snapshots/whitequark/arg.txt
+++ b/test/yarp/snapshots/whitequark/arg.txt
@@ -1,16 +1,16 @@
-@ ProgramNode (location: (0...37))
+@ ProgramNode (location: (1,0)-(3,20))
├── locals: []
└── statements:
- @ StatementsNode (location: (0...37))
+ @ StatementsNode (location: (1,0)-(3,20))
└── body: (length: 2)
- ├── @ DefNode (location: (0...15))
+ ├── @ DefNode (location: (1,0)-(1,15))
│ ├── name: :f
- │ ├── name_loc: (4...5) = "f"
+ │ ├── name_loc: (1,4)-(1,5) = "f"
│ ├── receiver: ∅
│ ├── parameters:
- │ │ @ ParametersNode (location: (6...9))
+ │ │ @ ParametersNode (location: (1,6)-(1,9))
│ │ ├── requireds: (length: 1)
- │ │ │ └── @ RequiredParameterNode (location: (6...9))
+ │ │ │ └── @ RequiredParameterNode (location: (1,6)-(1,9))
│ │ │ └── name: :foo
│ │ ├── optionals: (length: 0)
│ │ ├── rest: ∅
@@ -20,22 +20,22 @@
│ │ └── block: ∅
│ ├── body: ∅
│ ├── locals: [:foo]
- │ ├── def_keyword_loc: (0...3) = "def"
+ │ ├── def_keyword_loc: (1,0)-(1,3) = "def"
│ ├── operator_loc: ∅
- │ ├── lparen_loc: (5...6) = "("
- │ ├── rparen_loc: (9...10) = ")"
+ │ ├── lparen_loc: (1,5)-(1,6) = "("
+ │ ├── rparen_loc: (1,9)-(1,10) = ")"
│ ├── equal_loc: ∅
- │ └── end_keyword_loc: (12...15) = "end"
- └── @ DefNode (location: (17...37))
+ │ └── end_keyword_loc: (1,12)-(1,15) = "end"
+ └── @ DefNode (location: (3,0)-(3,20))
├── name: :f
- ├── name_loc: (21...22) = "f"
+ ├── name_loc: (3,4)-(3,5) = "f"
├── receiver: ∅
├── parameters:
- │ @ ParametersNode (location: (23...31))
+ │ @ ParametersNode (location: (3,6)-(3,14))
│ ├── requireds: (length: 2)
- │ │ ├── @ RequiredParameterNode (location: (23...26))
+ │ │ ├── @ RequiredParameterNode (location: (3,6)-(3,9))
│ │ │ └── name: :foo
- │ │ └── @ RequiredParameterNode (location: (28...31))
+ │ │ └── @ RequiredParameterNode (location: (3,11)-(3,14))
│ │ └── name: :bar
│ ├── optionals: (length: 0)
│ ├── rest: ∅
@@ -45,9 +45,9 @@
│ └── block: ∅
├── body: ∅
├── locals: [:foo, :bar]
- ├── def_keyword_loc: (17...20) = "def"
+ ├── def_keyword_loc: (3,0)-(3,3) = "def"
├── operator_loc: ∅
- ├── lparen_loc: (22...23) = "("
- ├── rparen_loc: (31...32) = ")"
+ ├── lparen_loc: (3,5)-(3,6) = "("
+ ├── rparen_loc: (3,14)-(3,15) = ")"
├── equal_loc: ∅
- └── end_keyword_loc: (34...37) = "end"
+ └── end_keyword_loc: (3,17)-(3,20) = "end"