aboutsummaryrefslogtreecommitdiffstats
path: root/test/yarp/snapshots/whitequark/kwnilarg.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/yarp/snapshots/whitequark/kwnilarg.txt')
-rw-r--r--test/yarp/snapshots/whitequark/kwnilarg.txt70
1 files changed, 35 insertions, 35 deletions
diff --git a/test/yarp/snapshots/whitequark/kwnilarg.txt b/test/yarp/snapshots/whitequark/kwnilarg.txt
index 40c7371e0b..42c0815710 100644
--- a/test/yarp/snapshots/whitequark/kwnilarg.txt
+++ b/test/yarp/snapshots/whitequark/kwnilarg.txt
@@ -1,84 +1,84 @@
-@ ProgramNode (location: (0...46))
+@ ProgramNode (location: (1,0)-(5,13))
├── locals: []
└── statements:
- @ StatementsNode (location: (0...46))
+ @ StatementsNode (location: (1,0)-(5,13))
└── body: (length: 3)
- ├── @ LambdaNode (location: (0...12))
+ ├── @ LambdaNode (location: (1,0)-(1,12))
│ ├── locals: []
- │ ├── operator_loc: (0...2) = "->"
- │ ├── opening_loc: (10...11) = "{"
- │ ├── closing_loc: (11...12) = "}"
+ │ ├── operator_loc: (1,0)-(1,2) = "->"
+ │ ├── opening_loc: (1,10)-(1,11) = "{"
+ │ ├── closing_loc: (1,11)-(1,12) = "}"
│ ├── parameters:
- │ │ @ BlockParametersNode (location: (2...9))
+ │ │ @ BlockParametersNode (location: (1,2)-(1,9))
│ │ ├── parameters:
- │ │ │ @ ParametersNode (location: (3...8))
+ │ │ │ @ ParametersNode (location: (1,3)-(1,8))
│ │ │ ├── requireds: (length: 0)
│ │ │ ├── optionals: (length: 0)
│ │ │ ├── rest: ∅
│ │ │ ├── posts: (length: 0)
│ │ │ ├── keywords: (length: 0)
│ │ │ ├── keyword_rest:
- │ │ │ │ @ NoKeywordsParameterNode (location: (3...8))
- │ │ │ │ ├── operator_loc: (3...5) = "**"
- │ │ │ │ └── keyword_loc: (5...8) = "nil"
+ │ │ │ │ @ NoKeywordsParameterNode (location: (1,3)-(1,8))
+ │ │ │ │ ├── operator_loc: (1,3)-(1,5) = "**"
+ │ │ │ │ └── keyword_loc: (1,5)-(1,8) = "nil"
│ │ │ └── block: ∅
│ │ ├── locals: (length: 0)
- │ │ ├── opening_loc: (2...3) = "("
- │ │ └── closing_loc: (8...9) = ")"
+ │ │ ├── opening_loc: (1,2)-(1,3) = "("
+ │ │ └── closing_loc: (1,8)-(1,9) = ")"
│ └── body: ∅
- ├── @ DefNode (location: (14...31))
+ ├── @ DefNode (location: (3,0)-(3,17))
│ ├── name: :f
- │ ├── name_loc: (18...19) = "f"
+ │ ├── name_loc: (3,4)-(3,5) = "f"
│ ├── receiver: ∅
│ ├── parameters:
- │ │ @ ParametersNode (location: (20...25))
+ │ │ @ ParametersNode (location: (3,6)-(3,11))
│ │ ├── requireds: (length: 0)
│ │ ├── optionals: (length: 0)
│ │ ├── rest: ∅
│ │ ├── posts: (length: 0)
│ │ ├── keywords: (length: 0)
│ │ ├── keyword_rest:
- │ │ │ @ NoKeywordsParameterNode (location: (20...25))
- │ │ │ ├── operator_loc: (20...22) = "**"
- │ │ │ └── keyword_loc: (22...25) = "nil"
+ │ │ │ @ NoKeywordsParameterNode (location: (3,6)-(3,11))
+ │ │ │ ├── operator_loc: (3,6)-(3,8) = "**"
+ │ │ │ └── keyword_loc: (3,8)-(3,11) = "nil"
│ │ └── block: ∅
│ ├── body: ∅
│ ├── locals: []
- │ ├── def_keyword_loc: (14...17) = "def"
+ │ ├── def_keyword_loc: (3,0)-(3,3) = "def"
│ ├── operator_loc: ∅
- │ ├── lparen_loc: (19...20) = "("
- │ ├── rparen_loc: (25...26) = ")"
+ │ ├── lparen_loc: (3,5)-(3,6) = "("
+ │ ├── rparen_loc: (3,11)-(3,12) = ")"
│ ├── equal_loc: ∅
- │ └── end_keyword_loc: (28...31) = "end"
- └── @ CallNode (location: (33...46))
+ │ └── end_keyword_loc: (3,14)-(3,17) = "end"
+ └── @ CallNode (location: (5,0)-(5,13))
├── receiver: ∅
├── call_operator_loc: ∅
- ├── message_loc: (33...34) = "m"
+ ├── message_loc: (5,0)-(5,1) = "m"
├── opening_loc: ∅
├── arguments: ∅
├── closing_loc: ∅
├── block:
- │ @ BlockNode (location: (35...46))
+ │ @ BlockNode (location: (5,2)-(5,13))
│ ├── locals: []
│ ├── parameters:
- │ │ @ BlockParametersNode (location: (37...44))
+ │ │ @ BlockParametersNode (location: (5,4)-(5,11))
│ │ ├── parameters:
- │ │ │ @ ParametersNode (location: (38...43))
+ │ │ │ @ ParametersNode (location: (5,5)-(5,10))
│ │ │ ├── requireds: (length: 0)
│ │ │ ├── optionals: (length: 0)
│ │ │ ├── rest: ∅
│ │ │ ├── posts: (length: 0)
│ │ │ ├── keywords: (length: 0)
│ │ │ ├── keyword_rest:
- │ │ │ │ @ NoKeywordsParameterNode (location: (38...43))
- │ │ │ │ ├── operator_loc: (38...40) = "**"
- │ │ │ │ └── keyword_loc: (40...43) = "nil"
+ │ │ │ │ @ NoKeywordsParameterNode (location: (5,5)-(5,10))
+ │ │ │ │ ├── operator_loc: (5,5)-(5,7) = "**"
+ │ │ │ │ └── keyword_loc: (5,7)-(5,10) = "nil"
│ │ │ └── block: ∅
│ │ ├── locals: (length: 0)
- │ │ ├── opening_loc: (37...38) = "|"
- │ │ └── closing_loc: (43...44) = "|"
+ │ │ ├── opening_loc: (5,4)-(5,5) = "|"
+ │ │ └── closing_loc: (5,10)-(5,11) = "|"
│ ├── body: ∅
- │ ├── opening_loc: (35...36) = "{"
- │ └── closing_loc: (45...46) = "}"
+ │ ├── opening_loc: (5,2)-(5,3) = "{"
+ │ └── closing_loc: (5,12)-(5,13) = "}"
├── flags: ∅
└── name: "m"