[ruby/prism] Rename to lefts/rights
https://github.com/ruby/prism/commit/e6deed05a5
This commit is contained in:
parent
922f48f081
commit
018f0a9c5f
@ -116,9 +116,9 @@ module Prism
|
||||
while (param = param_stack.pop)
|
||||
case param
|
||||
when MultiTargetNode
|
||||
param_stack.concat(param.posts.reverse)
|
||||
param_stack.concat(param.rights.reverse)
|
||||
param_stack << param.rest
|
||||
param_stack.concat(param.requireds.reverse)
|
||||
param_stack.concat(param.lefts.reverse)
|
||||
when RequiredParameterNode
|
||||
sorted << param.name
|
||||
when SplatNode
|
||||
|
@ -1922,11 +1922,11 @@ nodes:
|
||||
^^^^^^^^^^^^^^
|
||||
- name: MultiTargetNode
|
||||
fields:
|
||||
- name: requireds
|
||||
- name: lefts
|
||||
type: node[]
|
||||
- name: rest
|
||||
type: node?
|
||||
- name: posts
|
||||
- name: rights
|
||||
type: node[]
|
||||
- name: lparen_loc
|
||||
type: location?
|
||||
@ -1939,11 +1939,11 @@ nodes:
|
||||
^^^^^^
|
||||
- name: MultiWriteNode
|
||||
fields:
|
||||
- name: requireds
|
||||
- name: lefts
|
||||
type: node[]
|
||||
- name: rest
|
||||
type: node?
|
||||
- name: posts
|
||||
- name: rights
|
||||
type: node[]
|
||||
- name: lparen_loc
|
||||
type: location?
|
||||
|
@ -3612,9 +3612,9 @@ pm_multi_target_node_create(pm_parser_t *parser) {
|
||||
.type = PM_MULTI_TARGET_NODE,
|
||||
.location = { .start = NULL, .end = NULL }
|
||||
},
|
||||
.requireds = PM_EMPTY_NODE_LIST,
|
||||
.lefts = PM_EMPTY_NODE_LIST,
|
||||
.rest = NULL,
|
||||
.posts = PM_EMPTY_NODE_LIST,
|
||||
.rights = PM_EMPTY_NODE_LIST,
|
||||
.lparen_loc = PM_OPTIONAL_LOCATION_NOT_PROVIDED_VALUE,
|
||||
.rparen_loc = PM_OPTIONAL_LOCATION_NOT_PROVIDED_VALUE
|
||||
};
|
||||
@ -3630,12 +3630,12 @@ pm_multi_target_node_targets_append(pm_parser_t *parser, pm_multi_target_node_t
|
||||
node->rest = target;
|
||||
} else {
|
||||
pm_parser_err_node(parser, target, PM_ERR_MULTI_ASSIGN_MULTI_SPLATS);
|
||||
pm_node_list_append(&node->posts, target);
|
||||
pm_node_list_append(&node->rights, target);
|
||||
}
|
||||
} else if (node->rest == NULL) {
|
||||
pm_node_list_append(&node->requireds, target);
|
||||
pm_node_list_append(&node->lefts, target);
|
||||
} else {
|
||||
pm_node_list_append(&node->posts, target);
|
||||
pm_node_list_append(&node->rights, target);
|
||||
}
|
||||
|
||||
if (node->base.location.start == NULL || (node->base.location.start > target->location.start)) {
|
||||
@ -3674,9 +3674,9 @@ pm_multi_write_node_create(pm_parser_t *parser, pm_multi_target_node_t *target,
|
||||
.end = value->location.end
|
||||
}
|
||||
},
|
||||
.requireds = target->requireds,
|
||||
.lefts = target->lefts,
|
||||
.rest = target->rest,
|
||||
.posts = target->posts,
|
||||
.rights = target->rights,
|
||||
.lparen_loc = target->lparen_loc,
|
||||
.rparen_loc = target->rparen_loc,
|
||||
.operator_loc = PM_LOCATION_TOKEN_VALUE(operator),
|
||||
@ -10189,7 +10189,7 @@ parse_required_destructured_parameter(pm_parser_t *parser) {
|
||||
|
||||
// If we get here then we have a trailing comma. In this case we'll
|
||||
// create an implicit splat node.
|
||||
if (node->requireds.size > 0 && match1(parser, PM_TOKEN_PARENTHESIS_RIGHT)) {
|
||||
if (node->lefts.size > 0 && match1(parser, PM_TOKEN_PARENTHESIS_RIGHT)) {
|
||||
param = (pm_node_t *) pm_splat_node_create(parser, &parser->previous, NULL);
|
||||
pm_multi_target_node_targets_append(parser, node, param);
|
||||
break;
|
||||
|
@ -23,7 +23,7 @@ module Prism
|
||||
RUBY
|
||||
|
||||
node = Prism.parse(source).value.statements.body.first
|
||||
assert_equal("Foo::Bar::Baz::Qux", node.requireds.first.full_name)
|
||||
assert_equal("Foo::Bar::Baz::Qux", node.lefts.first.full_name)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
@ -224,7 +224,7 @@ module Prism
|
||||
|
||||
def test_ClassVariableTargetNode
|
||||
assert_location(ClassVariableTargetNode, "@@foo, @@bar = baz", 0...5) do |node|
|
||||
node.requireds.first
|
||||
node.lefts.first
|
||||
end
|
||||
end
|
||||
|
||||
@ -252,7 +252,7 @@ module Prism
|
||||
|
||||
def test_ConstantPathTargetNode
|
||||
assert_location(ConstantPathTargetNode, "::Foo, ::Bar = baz", 0...5) do |node|
|
||||
node.requireds.first
|
||||
node.lefts.first
|
||||
end
|
||||
end
|
||||
|
||||
@ -281,7 +281,7 @@ module Prism
|
||||
|
||||
def test_ConstantTargetNode
|
||||
assert_location(ConstantTargetNode, "Foo, Bar = baz", 0...3) do |node|
|
||||
node.requireds.first
|
||||
node.lefts.first
|
||||
end
|
||||
end
|
||||
|
||||
@ -379,7 +379,7 @@ module Prism
|
||||
|
||||
def test_GlobalVariableTargetNode
|
||||
assert_location(GlobalVariableTargetNode, "$foo, $bar = baz", 0...4) do |node|
|
||||
node.requireds.first
|
||||
node.lefts.first
|
||||
end
|
||||
end
|
||||
|
||||
@ -457,7 +457,7 @@ module Prism
|
||||
|
||||
def test_InstanceVariableTargetNode
|
||||
assert_location(InstanceVariableTargetNode, "@foo, @bar = baz", 0...4) do |node|
|
||||
node.requireds.first
|
||||
node.lefts.first
|
||||
end
|
||||
end
|
||||
|
||||
@ -548,7 +548,7 @@ module Prism
|
||||
|
||||
def test_LocalVariableTargetNode
|
||||
assert_location(LocalVariableTargetNode, "foo, bar = baz", 0...3) do |node|
|
||||
node.requireds.first
|
||||
node.lefts.first
|
||||
end
|
||||
end
|
||||
|
||||
@ -578,7 +578,7 @@ module Prism
|
||||
|
||||
def test_MultiTargetNode
|
||||
assert_location(MultiTargetNode, "for foo, bar in baz do end", 4...12, &:index)
|
||||
assert_location(MultiTargetNode, "foo, (bar, baz) = qux", 5...15) { |node| node.requireds.last }
|
||||
assert_location(MultiTargetNode, "foo, (bar, baz) = qux", 5...15) { |node| node.lefts.last }
|
||||
assert_location(MultiTargetNode, "def foo((bar)); end", 8...13) do |node|
|
||||
node.parameters.requireds.first
|
||||
end
|
||||
|
@ -407,7 +407,7 @@
|
||||
│ ├── flags: ∅
|
||||
│ └── name: :[]=
|
||||
├── @ MultiWriteNode (location: (41,0)-(41,21))
|
||||
│ ├── requireds: (length: 2)
|
||||
│ ├── lefts: (length: 2)
|
||||
│ │ ├── @ CallNode (location: (41,0)-(41,6))
|
||||
│ │ │ ├── receiver:
|
||||
│ │ │ │ @ CallNode (location: (41,0)-(41,3))
|
||||
@ -459,7 +459,7 @@
|
||||
│ │ ├── flags: ∅
|
||||
│ │ └── name: :[]=
|
||||
│ ├── rest: ∅
|
||||
│ ├── posts: (length: 0)
|
||||
│ ├── rights: (length: 0)
|
||||
│ ├── lparen_loc: ∅
|
||||
│ ├── rparen_loc: ∅
|
||||
│ ├── operator_loc: (41,15)-(41,16) = "="
|
||||
|
@ -56,7 +56,7 @@
|
||||
├── @ ForNode (location: (7,0)-(9,3))
|
||||
│ ├── index:
|
||||
│ │ @ MultiTargetNode (location: (7,4)-(7,7))
|
||||
│ │ ├── requireds: (length: 2)
|
||||
│ │ ├── lefts: (length: 2)
|
||||
│ │ │ ├── @ LocalVariableTargetNode (location: (7,4)-(7,5))
|
||||
│ │ │ │ ├── name: :i
|
||||
│ │ │ │ └── depth: 1
|
||||
@ -64,7 +64,7 @@
|
||||
│ │ │ ├── name: :j
|
||||
│ │ │ └── depth: 1
|
||||
│ │ ├── rest: ∅
|
||||
│ │ ├── posts: (length: 0)
|
||||
│ │ ├── rights: (length: 0)
|
||||
│ │ ├── lparen_loc: ∅
|
||||
│ │ └── rparen_loc: ∅
|
||||
│ ├── collection:
|
||||
@ -90,7 +90,7 @@
|
||||
├── @ ForNode (location: (11,0)-(13,3))
|
||||
│ ├── index:
|
||||
│ │ @ MultiTargetNode (location: (11,4)-(11,9))
|
||||
│ │ ├── requireds: (length: 3)
|
||||
│ │ ├── lefts: (length: 3)
|
||||
│ │ │ ├── @ LocalVariableTargetNode (location: (11,4)-(11,5))
|
||||
│ │ │ │ ├── name: :i
|
||||
│ │ │ │ └── depth: 1
|
||||
@ -101,7 +101,7 @@
|
||||
│ │ │ ├── name: :k
|
||||
│ │ │ └── depth: 1
|
||||
│ │ ├── rest: ∅
|
||||
│ │ ├── posts: (length: 0)
|
||||
│ │ ├── rights: (length: 0)
|
||||
│ │ ├── lparen_loc: ∅
|
||||
│ │ └── rparen_loc: ∅
|
||||
│ ├── collection:
|
||||
|
@ -499,7 +499,7 @@
|
||||
│ ├── flags: ∅
|
||||
│ └── name: :b
|
||||
├── @ MultiWriteNode (location: (41,0)-(41,23))
|
||||
│ ├── requireds: (length: 2)
|
||||
│ ├── lefts: (length: 2)
|
||||
│ │ ├── @ CallNode (location: (41,0)-(41,7))
|
||||
│ │ │ ├── receiver:
|
||||
│ │ │ │ @ CallNode (location: (41,0)-(41,3))
|
||||
@ -541,7 +541,7 @@
|
||||
│ │ ├── flags: ∅
|
||||
│ │ └── name: :bar=
|
||||
│ ├── rest: ∅
|
||||
│ ├── posts: (length: 0)
|
||||
│ ├── rights: (length: 0)
|
||||
│ ├── lparen_loc: ∅
|
||||
│ ├── rparen_loc: ∅
|
||||
│ ├── operator_loc: (41,17)-(41,18) = "="
|
||||
|
@ -11,13 +11,13 @@
|
||||
│ │ @ ParametersNode (location: (1,8)-(1,18))
|
||||
│ │ ├── requireds: (length: 1)
|
||||
│ │ │ └── @ MultiTargetNode (location: (1,8)-(1,18))
|
||||
│ │ │ ├── requireds: (length: 2)
|
||||
│ │ │ ├── lefts: (length: 2)
|
||||
│ │ │ │ ├── @ RequiredParameterNode (location: (1,9)-(1,12))
|
||||
│ │ │ │ │ └── name: :bar
|
||||
│ │ │ │ └── @ RequiredParameterNode (location: (1,14)-(1,17))
|
||||
│ │ │ │ └── name: :baz
|
||||
│ │ │ ├── rest: ∅
|
||||
│ │ │ ├── posts: (length: 0)
|
||||
│ │ │ ├── rights: (length: 0)
|
||||
│ │ │ ├── lparen_loc: (1,8)-(1,9) = "("
|
||||
│ │ │ └── rparen_loc: (1,17)-(1,18) = ")"
|
||||
│ │ ├── optionals: (length: 0)
|
||||
@ -42,13 +42,13 @@
|
||||
│ │ @ ParametersNode (location: (4,8)-(4,44))
|
||||
│ │ ├── requireds: (length: 1)
|
||||
│ │ │ └── @ MultiTargetNode (location: (4,8)-(4,18))
|
||||
│ │ │ ├── requireds: (length: 2)
|
||||
│ │ │ ├── lefts: (length: 2)
|
||||
│ │ │ │ ├── @ RequiredParameterNode (location: (4,9)-(4,12))
|
||||
│ │ │ │ │ └── name: :bar
|
||||
│ │ │ │ └── @ RequiredParameterNode (location: (4,14)-(4,17))
|
||||
│ │ │ │ └── name: :baz
|
||||
│ │ │ ├── rest: ∅
|
||||
│ │ │ ├── posts: (length: 0)
|
||||
│ │ │ ├── rights: (length: 0)
|
||||
│ │ │ ├── lparen_loc: (4,8)-(4,9) = "("
|
||||
│ │ │ └── rparen_loc: (4,17)-(4,18) = ")"
|
||||
│ │ ├── optionals: (length: 1)
|
||||
@ -62,13 +62,13 @@
|
||||
│ │ ├── rest: ∅
|
||||
│ │ ├── posts: (length: 1)
|
||||
│ │ │ └── @ MultiTargetNode (location: (4,34)-(4,44))
|
||||
│ │ │ ├── requireds: (length: 2)
|
||||
│ │ │ ├── lefts: (length: 2)
|
||||
│ │ │ │ ├── @ RequiredParameterNode (location: (4,35)-(4,38))
|
||||
│ │ │ │ │ └── name: :bin
|
||||
│ │ │ │ └── @ RequiredParameterNode (location: (4,40)-(4,43))
|
||||
│ │ │ │ └── name: :bag
|
||||
│ │ │ ├── rest: ∅
|
||||
│ │ │ ├── posts: (length: 0)
|
||||
│ │ │ ├── rights: (length: 0)
|
||||
│ │ │ ├── lparen_loc: (4,34)-(4,35) = "("
|
||||
│ │ │ └── rparen_loc: (4,43)-(4,44) = ")"
|
||||
│ │ ├── keywords: (length: 0)
|
||||
|
@ -353,13 +353,13 @@
|
||||
│ │ @ ParametersNode (location: (27,4)-(27,14))
|
||||
│ │ ├── requireds: (length: 1)
|
||||
│ │ │ └── @ MultiTargetNode (location: (27,4)-(27,10))
|
||||
│ │ │ ├── requireds: (length: 2)
|
||||
│ │ │ ├── lefts: (length: 2)
|
||||
│ │ │ │ ├── @ RequiredParameterNode (location: (27,5)-(27,6))
|
||||
│ │ │ │ │ └── name: :a
|
||||
│ │ │ │ └── @ RequiredParameterNode (location: (27,8)-(27,9))
|
||||
│ │ │ │ └── name: :b
|
||||
│ │ │ ├── rest: ∅
|
||||
│ │ │ ├── posts: (length: 0)
|
||||
│ │ │ ├── rights: (length: 0)
|
||||
│ │ │ ├── lparen_loc: (27,4)-(27,5) = "("
|
||||
│ │ │ └── rparen_loc: (27,9)-(27,10) = ")"
|
||||
│ │ ├── optionals: (length: 0)
|
||||
|
@ -19,12 +19,12 @@
|
||||
│ │ │ @ ParametersNode (location: (1,5)-(1,11))
|
||||
│ │ │ ├── requireds: (length: 1)
|
||||
│ │ │ │ └── @ MultiTargetNode (location: (1,5)-(1,11))
|
||||
│ │ │ │ ├── requireds: (length: 0)
|
||||
│ │ │ │ ├── lefts: (length: 0)
|
||||
│ │ │ │ ├── rest:
|
||||
│ │ │ │ │ @ SplatNode (location: (1,6)-(1,7))
|
||||
│ │ │ │ │ ├── operator_loc: (1,6)-(1,7) = "*"
|
||||
│ │ │ │ │ └── expression: ∅
|
||||
│ │ │ │ ├── posts: (length: 1)
|
||||
│ │ │ │ ├── rights: (length: 1)
|
||||
│ │ │ │ │ └── @ RequiredParameterNode (location: (1,9)-(1,10))
|
||||
│ │ │ │ │ └── name: :a
|
||||
│ │ │ │ ├── lparen_loc: (1,5)-(1,6) = "("
|
||||
|
@ -19,14 +19,14 @@
|
||||
│ │ │ @ ParametersNode (location: (1,5)-(1,11))
|
||||
│ │ │ ├── requireds: (length: 1)
|
||||
│ │ │ │ └── @ MultiTargetNode (location: (1,5)-(1,11))
|
||||
│ │ │ │ ├── requireds: (length: 1)
|
||||
│ │ │ │ ├── lefts: (length: 1)
|
||||
│ │ │ │ │ └── @ RequiredParameterNode (location: (1,6)-(1,7))
|
||||
│ │ │ │ │ └── name: :b
|
||||
│ │ │ │ ├── rest:
|
||||
│ │ │ │ │ @ SplatNode (location: (1,9)-(1,10))
|
||||
│ │ │ │ │ ├── operator_loc: (1,9)-(1,10) = "*"
|
||||
│ │ │ │ │ └── expression: ∅
|
||||
│ │ │ │ ├── posts: (length: 0)
|
||||
│ │ │ │ ├── rights: (length: 0)
|
||||
│ │ │ │ ├── lparen_loc: (1,5)-(1,6) = "("
|
||||
│ │ │ │ └── rparen_loc: (1,10)-(1,11) = ")"
|
||||
│ │ │ ├── optionals: (length: 0)
|
||||
|
@ -19,7 +19,7 @@
|
||||
│ │ │ @ ParametersNode (location: (1,5)-(1,15))
|
||||
│ │ │ ├── requireds: (length: 1)
|
||||
│ │ │ │ └── @ MultiTargetNode (location: (1,5)-(1,15))
|
||||
│ │ │ │ ├── requireds: (length: 1)
|
||||
│ │ │ │ ├── lefts: (length: 1)
|
||||
│ │ │ │ │ └── @ RequiredParameterNode (location: (1,6)-(1,7))
|
||||
│ │ │ │ │ └── name: :a
|
||||
│ │ │ │ ├── rest:
|
||||
@ -28,7 +28,7 @@
|
||||
│ │ │ │ │ └── expression:
|
||||
│ │ │ │ │ @ RequiredParameterNode (location: (1,10)-(1,11))
|
||||
│ │ │ │ │ └── name: :b
|
||||
│ │ │ │ ├── posts: (length: 1)
|
||||
│ │ │ │ ├── rights: (length: 1)
|
||||
│ │ │ │ │ └── @ RequiredParameterNode (location: (1,13)-(1,14))
|
||||
│ │ │ │ │ └── name: :c
|
||||
│ │ │ │ ├── lparen_loc: (1,5)-(1,6) = "("
|
||||
|
@ -19,14 +19,14 @@
|
||||
│ │ │ @ ParametersNode (location: (1,5)-(1,9))
|
||||
│ │ │ ├── requireds: (length: 1)
|
||||
│ │ │ │ └── @ MultiTargetNode (location: (1,5)-(1,9))
|
||||
│ │ │ │ ├── requireds: (length: 0)
|
||||
│ │ │ │ ├── lefts: (length: 0)
|
||||
│ │ │ │ ├── rest:
|
||||
│ │ │ │ │ @ SplatNode (location: (1,6)-(1,8))
|
||||
│ │ │ │ │ ├── operator_loc: (1,6)-(1,7) = "*"
|
||||
│ │ │ │ │ └── expression:
|
||||
│ │ │ │ │ @ RequiredParameterNode (location: (1,7)-(1,8))
|
||||
│ │ │ │ │ └── name: :a
|
||||
│ │ │ │ ├── posts: (length: 0)
|
||||
│ │ │ │ ├── rights: (length: 0)
|
||||
│ │ │ │ ├── lparen_loc: (1,5)-(1,6) = "("
|
||||
│ │ │ │ └── rparen_loc: (1,8)-(1,9) = ")"
|
||||
│ │ │ ├── optionals: (length: 0)
|
||||
|
@ -19,7 +19,7 @@
|
||||
│ │ │ @ ParametersNode (location: (1,5)-(1,12))
|
||||
│ │ │ ├── requireds: (length: 1)
|
||||
│ │ │ │ └── @ MultiTargetNode (location: (1,5)-(1,12))
|
||||
│ │ │ │ ├── requireds: (length: 1)
|
||||
│ │ │ │ ├── lefts: (length: 1)
|
||||
│ │ │ │ │ └── @ RequiredParameterNode (location: (1,6)-(1,7))
|
||||
│ │ │ │ │ └── name: :b
|
||||
│ │ │ │ ├── rest:
|
||||
@ -28,7 +28,7 @@
|
||||
│ │ │ │ │ └── expression:
|
||||
│ │ │ │ │ @ RequiredParameterNode (location: (1,10)-(1,11))
|
||||
│ │ │ │ │ └── name: :c
|
||||
│ │ │ │ ├── posts: (length: 0)
|
||||
│ │ │ │ ├── rights: (length: 0)
|
||||
│ │ │ │ ├── lparen_loc: (1,5)-(1,6) = "("
|
||||
│ │ │ │ └── rparen_loc: (1,11)-(1,12) = ")"
|
||||
│ │ │ ├── optionals: (length: 0)
|
||||
|
@ -19,13 +19,13 @@
|
||||
│ │ │ @ ParametersNode (location: (1,5)-(1,11))
|
||||
│ │ │ ├── requireds: (length: 1)
|
||||
│ │ │ │ └── @ MultiTargetNode (location: (1,5)-(1,11))
|
||||
│ │ │ │ ├── requireds: (length: 2)
|
||||
│ │ │ │ ├── lefts: (length: 2)
|
||||
│ │ │ │ │ ├── @ RequiredParameterNode (location: (1,6)-(1,7))
|
||||
│ │ │ │ │ │ └── name: :a
|
||||
│ │ │ │ │ └── @ RequiredParameterNode (location: (1,9)-(1,10))
|
||||
│ │ │ │ │ └── name: :b
|
||||
│ │ │ │ ├── rest: ∅
|
||||
│ │ │ │ ├── posts: (length: 0)
|
||||
│ │ │ │ ├── rights: (length: 0)
|
||||
│ │ │ │ ├── lparen_loc: (1,5)-(1,6) = "("
|
||||
│ │ │ │ └── rparen_loc: (1,10)-(1,11) = ")"
|
||||
│ │ │ ├── optionals: (length: 0)
|
||||
|
@ -19,13 +19,13 @@
|
||||
│ │ │ @ ParametersNode (location: (1,5)-(1,14))
|
||||
│ │ │ ├── requireds: (length: 2)
|
||||
│ │ │ │ ├── @ MultiTargetNode (location: (1,5)-(1,11))
|
||||
│ │ │ │ │ ├── requireds: (length: 2)
|
||||
│ │ │ │ │ ├── lefts: (length: 2)
|
||||
│ │ │ │ │ │ ├── @ RequiredParameterNode (location: (1,6)-(1,7))
|
||||
│ │ │ │ │ │ │ └── name: :a
|
||||
│ │ │ │ │ │ └── @ RequiredParameterNode (location: (1,9)-(1,10))
|
||||
│ │ │ │ │ │ └── name: :b
|
||||
│ │ │ │ │ ├── rest: ∅
|
||||
│ │ │ │ │ ├── posts: (length: 0)
|
||||
│ │ │ │ │ ├── rights: (length: 0)
|
||||
│ │ │ │ │ ├── lparen_loc: (1,5)-(1,6) = "("
|
||||
│ │ │ │ │ └── rparen_loc: (1,10)-(1,11) = ")"
|
||||
│ │ │ │ └── @ RequiredParameterNode (location: (1,13)-(1,14))
|
||||
|
@ -19,21 +19,21 @@
|
||||
│ │ │ @ ParametersNode (location: (1,5)-(1,19))
|
||||
│ │ │ ├── requireds: (length: 2)
|
||||
│ │ │ │ ├── @ MultiTargetNode (location: (1,5)-(1,16))
|
||||
│ │ │ │ │ ├── requireds: (length: 2)
|
||||
│ │ │ │ │ ├── lefts: (length: 2)
|
||||
│ │ │ │ │ │ ├── @ MultiTargetNode (location: (1,6)-(1,12))
|
||||
│ │ │ │ │ │ │ ├── requireds: (length: 2)
|
||||
│ │ │ │ │ │ │ ├── lefts: (length: 2)
|
||||
│ │ │ │ │ │ │ │ ├── @ RequiredParameterNode (location: (1,7)-(1,8))
|
||||
│ │ │ │ │ │ │ │ │ └── name: :a
|
||||
│ │ │ │ │ │ │ │ └── @ RequiredParameterNode (location: (1,10)-(1,11))
|
||||
│ │ │ │ │ │ │ │ └── name: :b
|
||||
│ │ │ │ │ │ │ ├── rest: ∅
|
||||
│ │ │ │ │ │ │ ├── posts: (length: 0)
|
||||
│ │ │ │ │ │ │ ├── rights: (length: 0)
|
||||
│ │ │ │ │ │ │ ├── lparen_loc: (1,6)-(1,7) = "("
|
||||
│ │ │ │ │ │ │ └── rparen_loc: (1,11)-(1,12) = ")"
|
||||
│ │ │ │ │ │ └── @ RequiredParameterNode (location: (1,14)-(1,15))
|
||||
│ │ │ │ │ │ └── name: :c
|
||||
│ │ │ │ │ ├── rest: ∅
|
||||
│ │ │ │ │ ├── posts: (length: 0)
|
||||
│ │ │ │ │ ├── rights: (length: 0)
|
||||
│ │ │ │ │ ├── lparen_loc: (1,5)-(1,6) = "("
|
||||
│ │ │ │ │ └── rparen_loc: (1,15)-(1,16) = ")"
|
||||
│ │ │ │ └── @ RequiredParameterNode (location: (1,18)-(1,19))
|
||||
|
@ -19,21 +19,21 @@
|
||||
│ │ │ @ ParametersNode (location: (1,5)-(1,16))
|
||||
│ │ │ ├── requireds: (length: 1)
|
||||
│ │ │ │ └── @ MultiTargetNode (location: (1,5)-(1,16))
|
||||
│ │ │ │ ├── requireds: (length: 2)
|
||||
│ │ │ │ ├── lefts: (length: 2)
|
||||
│ │ │ │ │ ├── @ MultiTargetNode (location: (1,6)-(1,12))
|
||||
│ │ │ │ │ │ ├── requireds: (length: 2)
|
||||
│ │ │ │ │ │ ├── lefts: (length: 2)
|
||||
│ │ │ │ │ │ │ ├── @ RequiredParameterNode (location: (1,7)-(1,8))
|
||||
│ │ │ │ │ │ │ │ └── name: :k
|
||||
│ │ │ │ │ │ │ └── @ RequiredParameterNode (location: (1,10)-(1,11))
|
||||
│ │ │ │ │ │ │ └── name: :v
|
||||
│ │ │ │ │ │ ├── rest: ∅
|
||||
│ │ │ │ │ │ ├── posts: (length: 0)
|
||||
│ │ │ │ │ │ ├── rights: (length: 0)
|
||||
│ │ │ │ │ │ ├── lparen_loc: (1,6)-(1,7) = "("
|
||||
│ │ │ │ │ │ └── rparen_loc: (1,11)-(1,12) = ")"
|
||||
│ │ │ │ │ └── @ RequiredParameterNode (location: (1,14)-(1,15))
|
||||
│ │ │ │ │ └── name: :i
|
||||
│ │ │ │ ├── rest: ∅
|
||||
│ │ │ │ ├── posts: (length: 0)
|
||||
│ │ │ │ ├── rights: (length: 0)
|
||||
│ │ │ │ ├── lparen_loc: (1,5)-(1,6) = "("
|
||||
│ │ │ │ └── rparen_loc: (1,15)-(1,16) = ")"
|
||||
│ │ │ ├── optionals: (length: 0)
|
||||
|
@ -21,13 +21,13 @@
|
||||
│ │ │ │ ├── @ RequiredParameterNode (location: (1,5)-(1,6))
|
||||
│ │ │ │ │ └── name: :a
|
||||
│ │ │ │ └── @ MultiTargetNode (location: (1,8)-(1,14))
|
||||
│ │ │ │ ├── requireds: (length: 2)
|
||||
│ │ │ │ ├── lefts: (length: 2)
|
||||
│ │ │ │ │ ├── @ RequiredParameterNode (location: (1,9)-(1,10))
|
||||
│ │ │ │ │ │ └── name: :b
|
||||
│ │ │ │ │ └── @ RequiredParameterNode (location: (1,12)-(1,13))
|
||||
│ │ │ │ │ └── name: :c
|
||||
│ │ │ │ ├── rest: ∅
|
||||
│ │ │ │ ├── posts: (length: 0)
|
||||
│ │ │ │ ├── rights: (length: 0)
|
||||
│ │ │ │ ├── lparen_loc: (1,8)-(1,9) = "("
|
||||
│ │ │ │ └── rparen_loc: (1,13)-(1,14) = ")"
|
||||
│ │ │ ├── optionals: (length: 0)
|
||||
|
@ -21,7 +21,7 @@
|
||||
│ │ │ │ ├── @ RequiredParameterNode (location: (1,5)-(1,6))
|
||||
│ │ │ │ │ └── name: :a
|
||||
│ │ │ │ └── @ MultiTargetNode (location: (1,8)-(1,15))
|
||||
│ │ │ │ ├── requireds: (length: 1)
|
||||
│ │ │ │ ├── lefts: (length: 1)
|
||||
│ │ │ │ │ └── @ RequiredParameterNode (location: (1,9)-(1,10))
|
||||
│ │ │ │ │ └── name: :b
|
||||
│ │ │ │ ├── rest:
|
||||
@ -30,7 +30,7 @@
|
||||
│ │ │ │ │ └── expression:
|
||||
│ │ │ │ │ @ RequiredParameterNode (location: (1,13)-(1,14))
|
||||
│ │ │ │ │ └── name: :c
|
||||
│ │ │ │ ├── posts: (length: 0)
|
||||
│ │ │ │ ├── rights: (length: 0)
|
||||
│ │ │ │ ├── lparen_loc: (1,8)-(1,9) = "("
|
||||
│ │ │ │ └── rparen_loc: (1,14)-(1,15) = ")"
|
||||
│ │ │ ├── optionals: (length: 0)
|
||||
|
@ -21,14 +21,14 @@
|
||||
│ │ │ │ ├── @ RequiredParameterNode (location: (1,5)-(1,6))
|
||||
│ │ │ │ │ └── name: :a
|
||||
│ │ │ │ └── @ MultiTargetNode (location: (1,8)-(1,15))
|
||||
│ │ │ │ ├── requireds: (length: 0)
|
||||
│ │ │ │ ├── lefts: (length: 0)
|
||||
│ │ │ │ ├── rest:
|
||||
│ │ │ │ │ @ SplatNode (location: (1,9)-(1,11))
|
||||
│ │ │ │ │ ├── operator_loc: (1,9)-(1,10) = "*"
|
||||
│ │ │ │ │ └── expression:
|
||||
│ │ │ │ │ @ RequiredParameterNode (location: (1,10)-(1,11))
|
||||
│ │ │ │ │ └── name: :b
|
||||
│ │ │ │ ├── posts: (length: 1)
|
||||
│ │ │ │ ├── rights: (length: 1)
|
||||
│ │ │ │ │ └── @ RequiredParameterNode (location: (1,13)-(1,14))
|
||||
│ │ │ │ │ └── name: :c
|
||||
│ │ │ │ ├── lparen_loc: (1,8)-(1,9) = "("
|
||||
|
@ -21,12 +21,12 @@
|
||||
│ │ │ │ ├── @ RequiredParameterNode (location: (1,5)-(1,6))
|
||||
│ │ │ │ │ └── name: :a
|
||||
│ │ │ │ └── @ MultiTargetNode (location: (1,8)-(1,11))
|
||||
│ │ │ │ ├── requireds: (length: 0)
|
||||
│ │ │ │ ├── lefts: (length: 0)
|
||||
│ │ │ │ ├── rest:
|
||||
│ │ │ │ │ @ SplatNode (location: (1,9)-(1,10))
|
||||
│ │ │ │ │ ├── operator_loc: (1,9)-(1,10) = "*"
|
||||
│ │ │ │ │ └── expression: ∅
|
||||
│ │ │ │ ├── posts: (length: 0)
|
||||
│ │ │ │ ├── rights: (length: 0)
|
||||
│ │ │ │ ├── lparen_loc: (1,8)-(1,9) = "("
|
||||
│ │ │ │ └── rparen_loc: (1,10)-(1,11) = ")"
|
||||
│ │ │ ├── optionals: (length: 0)
|
||||
|
@ -21,12 +21,12 @@
|
||||
│ │ │ │ ├── @ RequiredParameterNode (location: (1,5)-(1,6))
|
||||
│ │ │ │ │ └── name: :a
|
||||
│ │ │ │ └── @ MultiTargetNode (location: (1,8)-(1,14))
|
||||
│ │ │ │ ├── requireds: (length: 0)
|
||||
│ │ │ │ ├── lefts: (length: 0)
|
||||
│ │ │ │ ├── rest:
|
||||
│ │ │ │ │ @ SplatNode (location: (1,9)-(1,10))
|
||||
│ │ │ │ │ ├── operator_loc: (1,9)-(1,10) = "*"
|
||||
│ │ │ │ │ └── expression: ∅
|
||||
│ │ │ │ ├── posts: (length: 1)
|
||||
│ │ │ │ ├── rights: (length: 1)
|
||||
│ │ │ │ │ └── @ RequiredParameterNode (location: (1,12)-(1,13))
|
||||
│ │ │ │ │ └── name: :b
|
||||
│ │ │ │ ├── lparen_loc: (1,8)-(1,9) = "("
|
||||
|
@ -21,7 +21,7 @@
|
||||
│ │ │ │ ├── @ RequiredParameterNode (location: (1,5)-(1,6))
|
||||
│ │ │ │ │ └── name: :a
|
||||
│ │ │ │ └── @ MultiTargetNode (location: (1,8)-(1,18))
|
||||
│ │ │ │ ├── requireds: (length: 1)
|
||||
│ │ │ │ ├── lefts: (length: 1)
|
||||
│ │ │ │ │ └── @ RequiredParameterNode (location: (1,9)-(1,10))
|
||||
│ │ │ │ │ └── name: :b
|
||||
│ │ │ │ ├── rest:
|
||||
@ -30,7 +30,7 @@
|
||||
│ │ │ │ │ └── expression:
|
||||
│ │ │ │ │ @ RequiredParameterNode (location: (1,13)-(1,14))
|
||||
│ │ │ │ │ └── name: :c
|
||||
│ │ │ │ ├── posts: (length: 1)
|
||||
│ │ │ │ ├── rights: (length: 1)
|
||||
│ │ │ │ │ └── @ RequiredParameterNode (location: (1,16)-(1,17))
|
||||
│ │ │ │ │ └── name: :d
|
||||
│ │ │ │ ├── lparen_loc: (1,8)-(1,9) = "("
|
||||
|
@ -21,14 +21,14 @@
|
||||
│ │ │ │ ├── @ RequiredParameterNode (location: (1,5)-(1,6))
|
||||
│ │ │ │ │ └── name: :a
|
||||
│ │ │ │ └── @ MultiTargetNode (location: (1,8)-(1,14))
|
||||
│ │ │ │ ├── requireds: (length: 1)
|
||||
│ │ │ │ ├── lefts: (length: 1)
|
||||
│ │ │ │ │ └── @ RequiredParameterNode (location: (1,9)-(1,10))
|
||||
│ │ │ │ │ └── name: :b
|
||||
│ │ │ │ ├── rest:
|
||||
│ │ │ │ │ @ SplatNode (location: (1,12)-(1,13))
|
||||
│ │ │ │ │ ├── operator_loc: (1,12)-(1,13) = "*"
|
||||
│ │ │ │ │ └── expression: ∅
|
||||
│ │ │ │ ├── posts: (length: 0)
|
||||
│ │ │ │ ├── rights: (length: 0)
|
||||
│ │ │ │ ├── lparen_loc: (1,8)-(1,9) = "("
|
||||
│ │ │ │ └── rparen_loc: (1,13)-(1,14) = ")"
|
||||
│ │ │ ├── optionals: (length: 0)
|
||||
|
@ -21,14 +21,14 @@
|
||||
│ │ │ │ ├── @ RequiredParameterNode (location: (1,5)-(1,6))
|
||||
│ │ │ │ │ └── name: :a
|
||||
│ │ │ │ └── @ MultiTargetNode (location: (1,8)-(1,17))
|
||||
│ │ │ │ ├── requireds: (length: 1)
|
||||
│ │ │ │ ├── lefts: (length: 1)
|
||||
│ │ │ │ │ └── @ RequiredParameterNode (location: (1,9)-(1,10))
|
||||
│ │ │ │ │ └── name: :b
|
||||
│ │ │ │ ├── rest:
|
||||
│ │ │ │ │ @ SplatNode (location: (1,12)-(1,13))
|
||||
│ │ │ │ │ ├── operator_loc: (1,12)-(1,13) = "*"
|
||||
│ │ │ │ │ └── expression: ∅
|
||||
│ │ │ │ ├── posts: (length: 1)
|
||||
│ │ │ │ ├── rights: (length: 1)
|
||||
│ │ │ │ │ └── @ RequiredParameterNode (location: (1,15)-(1,16))
|
||||
│ │ │ │ │ └── name: :c
|
||||
│ │ │ │ ├── lparen_loc: (1,8)-(1,9) = "("
|
||||
|
@ -21,14 +21,14 @@
|
||||
│ │ │ │ ├── @ RequiredParameterNode (location: (1,5)-(1,6))
|
||||
│ │ │ │ │ └── name: :a
|
||||
│ │ │ │ └── @ MultiTargetNode (location: (1,8)-(1,12))
|
||||
│ │ │ │ ├── requireds: (length: 0)
|
||||
│ │ │ │ ├── lefts: (length: 0)
|
||||
│ │ │ │ ├── rest:
|
||||
│ │ │ │ │ @ SplatNode (location: (1,9)-(1,11))
|
||||
│ │ │ │ │ ├── operator_loc: (1,9)-(1,10) = "*"
|
||||
│ │ │ │ │ └── expression:
|
||||
│ │ │ │ │ @ RequiredParameterNode (location: (1,10)-(1,11))
|
||||
│ │ │ │ │ └── name: :b
|
||||
│ │ │ │ ├── posts: (length: 0)
|
||||
│ │ │ │ ├── rights: (length: 0)
|
||||
│ │ │ │ ├── lparen_loc: (1,8)-(1,9) = "("
|
||||
│ │ │ │ └── rparen_loc: (1,11)-(1,12) = ")"
|
||||
│ │ │ ├── optionals: (length: 0)
|
||||
|
@ -19,13 +19,13 @@
|
||||
│ │ │ @ ParametersNode (location: (1,5)-(1,11))
|
||||
│ │ │ ├── requireds: (length: 1)
|
||||
│ │ │ │ └── @ MultiTargetNode (location: (1,5)-(1,11))
|
||||
│ │ │ │ ├── requireds: (length: 2)
|
||||
│ │ │ │ ├── lefts: (length: 2)
|
||||
│ │ │ │ │ ├── @ RequiredParameterNode (location: (1,6)-(1,7))
|
||||
│ │ │ │ │ │ └── name: :a
|
||||
│ │ │ │ │ └── @ RequiredParameterNode (location: (1,9)-(1,10))
|
||||
│ │ │ │ │ └── name: :b
|
||||
│ │ │ │ ├── rest: ∅
|
||||
│ │ │ │ ├── posts: (length: 0)
|
||||
│ │ │ │ ├── rights: (length: 0)
|
||||
│ │ │ │ ├── lparen_loc: (1,5)-(1,6) = "("
|
||||
│ │ │ │ └── rparen_loc: (1,10)-(1,11) = ")"
|
||||
│ │ │ ├── optionals: (length: 0)
|
||||
|
@ -21,13 +21,13 @@
|
||||
│ │ │ │ ├── @ RequiredParameterNode (location: (1,5)-(1,6))
|
||||
│ │ │ │ │ └── name: :a
|
||||
│ │ │ │ ├── @ MultiTargetNode (location: (1,8)-(1,14))
|
||||
│ │ │ │ │ ├── requireds: (length: 2)
|
||||
│ │ │ │ │ ├── lefts: (length: 2)
|
||||
│ │ │ │ │ │ ├── @ RequiredParameterNode (location: (1,9)-(1,10))
|
||||
│ │ │ │ │ │ │ └── name: :b
|
||||
│ │ │ │ │ │ └── @ RequiredParameterNode (location: (1,12)-(1,13))
|
||||
│ │ │ │ │ │ └── name: :c
|
||||
│ │ │ │ │ ├── rest: ∅
|
||||
│ │ │ │ │ ├── posts: (length: 0)
|
||||
│ │ │ │ │ ├── rights: (length: 0)
|
||||
│ │ │ │ │ ├── lparen_loc: (1,8)-(1,9) = "("
|
||||
│ │ │ │ │ └── rparen_loc: (1,13)-(1,14) = ")"
|
||||
│ │ │ │ └── @ RequiredParameterNode (location: (1,16)-(1,17))
|
||||
|
@ -4,12 +4,12 @@
|
||||
@ StatementsNode (location: (1,0)-(1,8))
|
||||
└── body: (length: 1)
|
||||
└── @ MultiWriteNode (location: (1,0)-(1,8))
|
||||
├── requireds: (length: 0)
|
||||
├── lefts: (length: 0)
|
||||
├── rest:
|
||||
│ @ SplatNode (location: (1,0)-(1,1))
|
||||
│ ├── operator_loc: (1,0)-(1,1) = "*"
|
||||
│ └── expression: ∅
|
||||
├── posts: (length: 1)
|
||||
├── rights: (length: 1)
|
||||
│ └── @ LocalVariableTargetNode (location: (1,3)-(1,4))
|
||||
│ ├── name: :a
|
||||
│ └── depth: 0
|
||||
|
@ -4,7 +4,7 @@
|
||||
@ StatementsNode (location: (1,0)-(1,11))
|
||||
└── body: (length: 1)
|
||||
└── @ MultiWriteNode (location: (1,0)-(1,11))
|
||||
├── requireds: (length: 2)
|
||||
├── lefts: (length: 2)
|
||||
│ ├── @ LocalVariableTargetNode (location: (1,0)-(1,1))
|
||||
│ │ ├── name: :a
|
||||
│ │ └── depth: 0
|
||||
@ -29,7 +29,7 @@
|
||||
│ ├── flags: ∅
|
||||
│ └── name: :c=
|
||||
├── rest: ∅
|
||||
├── posts: (length: 0)
|
||||
├── rights: (length: 0)
|
||||
├── lparen_loc: ∅
|
||||
├── rparen_loc: ∅
|
||||
├── operator_loc: (1,8)-(1,9) = "="
|
||||
|
@ -4,7 +4,7 @@
|
||||
@ StatementsNode (location: (1,0)-(1,10))
|
||||
└── body: (length: 1)
|
||||
└── @ MultiWriteNode (location: (1,0)-(1,10))
|
||||
├── requireds: (length: 2)
|
||||
├── lefts: (length: 2)
|
||||
│ ├── @ LocalVariableTargetNode (location: (1,0)-(1,1))
|
||||
│ │ ├── name: :a
|
||||
│ │ └── depth: 0
|
||||
@ -29,7 +29,7 @@
|
||||
│ ├── flags: ∅
|
||||
│ └── name: :C=
|
||||
├── rest: ∅
|
||||
├── posts: (length: 0)
|
||||
├── rights: (length: 0)
|
||||
├── lparen_loc: ∅
|
||||
├── rparen_loc: ∅
|
||||
├── operator_loc: (1,7)-(1,8) = "="
|
||||
|
@ -4,7 +4,7 @@
|
||||
@ StatementsNode (location: (1,0)-(1,12))
|
||||
└── body: (length: 1)
|
||||
└── @ MultiWriteNode (location: (1,0)-(1,12))
|
||||
├── requireds: (length: 1)
|
||||
├── lefts: (length: 1)
|
||||
│ └── @ LocalVariableTargetNode (location: (1,0)-(1,1))
|
||||
│ ├── name: :a
|
||||
│ └── depth: 0
|
||||
@ -15,7 +15,7 @@
|
||||
│ @ LocalVariableTargetNode (location: (1,4)-(1,5))
|
||||
│ ├── name: :b
|
||||
│ └── depth: 0
|
||||
├── posts: (length: 1)
|
||||
├── rights: (length: 1)
|
||||
│ └── @ LocalVariableTargetNode (location: (1,7)-(1,8))
|
||||
│ ├── name: :c
|
||||
│ └── depth: 0
|
||||
|
@ -4,7 +4,7 @@
|
||||
@ StatementsNode (location: (1,0)-(1,14))
|
||||
└── body: (length: 1)
|
||||
└── @ MultiWriteNode (location: (1,0)-(1,14))
|
||||
├── requireds: (length: 2)
|
||||
├── lefts: (length: 2)
|
||||
│ ├── @ LocalVariableTargetNode (location: (1,0)-(1,1))
|
||||
│ │ ├── name: :a
|
||||
│ │ └── depth: 0
|
||||
@ -25,7 +25,7 @@
|
||||
│ │ └── name: :C
|
||||
│ └── delimiter_loc: (1,4)-(1,6) = "::"
|
||||
├── rest: ∅
|
||||
├── posts: (length: 0)
|
||||
├── rights: (length: 0)
|
||||
├── lparen_loc: ∅
|
||||
├── rparen_loc: ∅
|
||||
├── operator_loc: (1,8)-(1,9) = "="
|
||||
|
@ -4,7 +4,7 @@
|
||||
@ StatementsNode (location: (1,0)-(1,15))
|
||||
└── body: (length: 1)
|
||||
└── @ MultiWriteNode (location: (1,0)-(1,15))
|
||||
├── requireds: (length: 2)
|
||||
├── lefts: (length: 2)
|
||||
│ ├── @ ConstantPathTargetNode (location: (1,0)-(1,3))
|
||||
│ │ ├── parent: ∅
|
||||
│ │ ├── child:
|
||||
@ -18,7 +18,7 @@
|
||||
│ │ └── name: :B
|
||||
│ └── delimiter_loc: (1,5)-(1,7) = "::"
|
||||
├── rest: ∅
|
||||
├── posts: (length: 0)
|
||||
├── rights: (length: 0)
|
||||
├── lparen_loc: ∅
|
||||
├── rparen_loc: ∅
|
||||
├── operator_loc: (1,9)-(1,10) = "="
|
||||
|
@ -4,7 +4,7 @@
|
||||
@ StatementsNode (location: (1,0)-(1,10))
|
||||
└── body: (length: 1)
|
||||
└── @ MultiWriteNode (location: (1,0)-(1,10))
|
||||
├── requireds: (length: 1)
|
||||
├── lefts: (length: 1)
|
||||
│ └── @ LocalVariableTargetNode (location: (1,0)-(1,1))
|
||||
│ ├── name: :a
|
||||
│ └── depth: 0
|
||||
@ -12,7 +12,7 @@
|
||||
│ @ SplatNode (location: (1,1)-(1,2))
|
||||
│ ├── operator_loc: (1,1)-(1,2) = ","
|
||||
│ └── expression: ∅
|
||||
├── posts: (length: 0)
|
||||
├── rights: (length: 0)
|
||||
├── lparen_loc: ∅
|
||||
├── rparen_loc: ∅
|
||||
├── operator_loc: (1,3)-(1,4) = "="
|
||||
|
@ -4,9 +4,9 @@
|
||||
@ StatementsNode (location: (1,0)-(1,9))
|
||||
└── body: (length: 1)
|
||||
└── @ MultiWriteNode (location: (1,0)-(1,9))
|
||||
├── requireds: (length: 1)
|
||||
├── lefts: (length: 1)
|
||||
│ └── @ MultiTargetNode (location: (1,1)-(1,6))
|
||||
│ ├── requireds: (length: 2)
|
||||
│ ├── lefts: (length: 2)
|
||||
│ │ ├── @ LocalVariableTargetNode (location: (1,2)-(1,3))
|
||||
│ │ │ ├── name: :a
|
||||
│ │ │ └── depth: 0
|
||||
@ -14,11 +14,11 @@
|
||||
│ │ ├── name: :b
|
||||
│ │ └── depth: 0
|
||||
│ ├── rest: ∅
|
||||
│ ├── posts: (length: 0)
|
||||
│ ├── rights: (length: 0)
|
||||
│ ├── lparen_loc: (1,1)-(1,2) = "("
|
||||
│ └── rparen_loc: (1,5)-(1,6) = ")"
|
||||
├── rest: ∅
|
||||
├── posts: (length: 0)
|
||||
├── rights: (length: 0)
|
||||
├── lparen_loc: (1,0)-(1,1) = "("
|
||||
├── rparen_loc: (1,6)-(1,7) = ")"
|
||||
├── operator_loc: (1,7)-(1,8) = "="
|
||||
|
@ -4,7 +4,7 @@
|
||||
@ StatementsNode (location: (1,0)-(1,12))
|
||||
└── body: (length: 1)
|
||||
└── @ MultiWriteNode (location: (1,0)-(1,12))
|
||||
├── requireds: (length: 0)
|
||||
├── lefts: (length: 0)
|
||||
├── rest:
|
||||
│ @ SplatNode (location: (1,0)-(1,2))
|
||||
│ ├── operator_loc: (1,0)-(1,1) = "*"
|
||||
@ -12,7 +12,7 @@
|
||||
│ @ LocalVariableTargetNode (location: (1,1)-(1,2))
|
||||
│ ├── name: :a
|
||||
│ └── depth: 0
|
||||
├── posts: (length: 0)
|
||||
├── rights: (length: 0)
|
||||
├── lparen_loc: ∅
|
||||
├── rparen_loc: ∅
|
||||
├── operator_loc: (1,3)-(1,4) = "="
|
||||
|
@ -4,7 +4,7 @@
|
||||
@ StatementsNode (location: (1,0)-(1,12))
|
||||
└── body: (length: 1)
|
||||
└── @ MultiWriteNode (location: (1,0)-(1,12))
|
||||
├── requireds: (length: 2)
|
||||
├── lefts: (length: 2)
|
||||
│ ├── @ LocalVariableTargetNode (location: (1,1)-(1,2))
|
||||
│ │ ├── name: :a
|
||||
│ │ └── depth: 0
|
||||
@ -12,7 +12,7 @@
|
||||
│ ├── name: :b
|
||||
│ └── depth: 0
|
||||
├── rest: ∅
|
||||
├── posts: (length: 0)
|
||||
├── rights: (length: 0)
|
||||
├── lparen_loc: (1,0)-(1,1) = "("
|
||||
├── rparen_loc: (1,5)-(1,6) = ")"
|
||||
├── operator_loc: (1,7)-(1,8) = "="
|
||||
|
@ -4,7 +4,7 @@
|
||||
@ StatementsNode (location: (1,0)-(1,9))
|
||||
└── body: (length: 1)
|
||||
└── @ MultiWriteNode (location: (1,0)-(1,9))
|
||||
├── requireds: (length: 0)
|
||||
├── lefts: (length: 0)
|
||||
├── rest:
|
||||
│ @ SplatNode (location: (1,0)-(1,2))
|
||||
│ ├── operator_loc: (1,0)-(1,1) = "*"
|
||||
@ -12,7 +12,7 @@
|
||||
│ @ LocalVariableTargetNode (location: (1,1)-(1,2))
|
||||
│ ├── name: :a
|
||||
│ └── depth: 0
|
||||
├── posts: (length: 1)
|
||||
├── rights: (length: 1)
|
||||
│ └── @ LocalVariableTargetNode (location: (1,4)-(1,5))
|
||||
│ ├── name: :b
|
||||
│ └── depth: 0
|
||||
|
@ -4,7 +4,7 @@
|
||||
@ StatementsNode (location: (1,0)-(1,12))
|
||||
└── body: (length: 1)
|
||||
└── @ MultiWriteNode (location: (1,0)-(1,12))
|
||||
├── requireds: (length: 0)
|
||||
├── lefts: (length: 0)
|
||||
├── rest:
|
||||
│ @ SplatNode (location: (1,0)-(1,2))
|
||||
│ ├── operator_loc: (1,0)-(1,1) = "*"
|
||||
@ -12,7 +12,7 @@
|
||||
│ @ LocalVariableTargetNode (location: (1,1)-(1,2))
|
||||
│ ├── name: :a
|
||||
│ └── depth: 0
|
||||
├── posts: (length: 2)
|
||||
├── rights: (length: 2)
|
||||
│ ├── @ LocalVariableTargetNode (location: (1,4)-(1,5))
|
||||
│ │ ├── name: :b
|
||||
│ │ └── depth: 0
|
||||
|
@ -4,12 +4,12 @@
|
||||
@ StatementsNode (location: (1,0)-(1,5))
|
||||
└── body: (length: 1)
|
||||
└── @ MultiWriteNode (location: (1,0)-(1,5))
|
||||
├── requireds: (length: 0)
|
||||
├── lefts: (length: 0)
|
||||
├── rest:
|
||||
│ @ SplatNode (location: (1,0)-(1,1))
|
||||
│ ├── operator_loc: (1,0)-(1,1) = "*"
|
||||
│ └── expression: ∅
|
||||
├── posts: (length: 0)
|
||||
├── rights: (length: 0)
|
||||
├── lparen_loc: ∅
|
||||
├── rparen_loc: ∅
|
||||
├── operator_loc: (1,2)-(1,3) = "="
|
||||
|
@ -4,7 +4,7 @@
|
||||
@ StatementsNode (location: (1,0)-(1,11))
|
||||
└── body: (length: 1)
|
||||
└── @ MultiWriteNode (location: (1,0)-(1,11))
|
||||
├── requireds: (length: 1)
|
||||
├── lefts: (length: 1)
|
||||
│ └── @ LocalVariableTargetNode (location: (1,0)-(1,1))
|
||||
│ ├── name: :a
|
||||
│ └── depth: 0
|
||||
@ -12,7 +12,7 @@
|
||||
│ @ SplatNode (location: (1,3)-(1,4))
|
||||
│ ├── operator_loc: (1,3)-(1,4) = "*"
|
||||
│ └── expression: ∅
|
||||
├── posts: (length: 1)
|
||||
├── rights: (length: 1)
|
||||
│ └── @ LocalVariableTargetNode (location: (1,6)-(1,7))
|
||||
│ ├── name: :b
|
||||
│ └── depth: 0
|
||||
|
@ -4,7 +4,7 @@
|
||||
@ StatementsNode (location: (1,0)-(1,14))
|
||||
└── body: (length: 1)
|
||||
└── @ MultiWriteNode (location: (1,0)-(1,14))
|
||||
├── requireds: (length: 3)
|
||||
├── lefts: (length: 3)
|
||||
│ ├── @ LocalVariableTargetNode (location: (1,0)-(1,1))
|
||||
│ │ ├── name: :a
|
||||
│ │ └── depth: 0
|
||||
@ -18,7 +18,7 @@
|
||||
│ @ SplatNode (location: (1,9)-(1,10))
|
||||
│ ├── operator_loc: (1,9)-(1,10) = "*"
|
||||
│ └── expression: ∅
|
||||
├── posts: (length: 0)
|
||||
├── rights: (length: 0)
|
||||
├── lparen_loc: ∅
|
||||
├── rparen_loc: ∅
|
||||
├── operator_loc: (1,11)-(1,12) = "="
|
||||
|
@ -4,7 +4,7 @@
|
||||
@ StatementsNode (location: (1,0)-(1,15))
|
||||
└── body: (length: 1)
|
||||
└── @ MultiWriteNode (location: (1,0)-(1,15))
|
||||
├── requireds: (length: 3)
|
||||
├── lefts: (length: 3)
|
||||
│ ├── @ LocalVariableTargetNode (location: (1,0)-(1,1))
|
||||
│ │ ├── name: :a
|
||||
│ │ └── depth: 0
|
||||
@ -21,7 +21,7 @@
|
||||
│ @ LocalVariableTargetNode (location: (1,10)-(1,11))
|
||||
│ ├── name: :s
|
||||
│ └── depth: 0
|
||||
├── posts: (length: 0)
|
||||
├── rights: (length: 0)
|
||||
├── lparen_loc: ∅
|
||||
├── rparen_loc: ∅
|
||||
├── operator_loc: (1,12)-(1,13) = "="
|
||||
|
@ -4,12 +4,12 @@
|
||||
@ StatementsNode (location: (1,0)-(1,14))
|
||||
└── body: (length: 1)
|
||||
└── @ MultiWriteNode (location: (1,0)-(1,14))
|
||||
├── requireds: (length: 0)
|
||||
├── lefts: (length: 0)
|
||||
├── rest:
|
||||
│ @ SplatNode (location: (1,0)-(1,1))
|
||||
│ ├── operator_loc: (1,0)-(1,1) = "*"
|
||||
│ └── expression: ∅
|
||||
├── posts: (length: 3)
|
||||
├── rights: (length: 3)
|
||||
│ ├── @ LocalVariableTargetNode (location: (1,3)-(1,4))
|
||||
│ │ ├── name: :x
|
||||
│ │ └── depth: 0
|
||||
|
@ -4,7 +4,7 @@
|
||||
@ StatementsNode (location: (1,0)-(1,15))
|
||||
└── body: (length: 1)
|
||||
└── @ MultiWriteNode (location: (1,0)-(1,15))
|
||||
├── requireds: (length: 0)
|
||||
├── lefts: (length: 0)
|
||||
├── rest:
|
||||
│ @ SplatNode (location: (1,0)-(1,2))
|
||||
│ ├── operator_loc: (1,0)-(1,1) = "*"
|
||||
@ -12,7 +12,7 @@
|
||||
│ @ LocalVariableTargetNode (location: (1,1)-(1,2))
|
||||
│ ├── name: :s
|
||||
│ └── depth: 0
|
||||
├── posts: (length: 3)
|
||||
├── rights: (length: 3)
|
||||
│ ├── @ LocalVariableTargetNode (location: (1,4)-(1,5))
|
||||
│ │ ├── name: :x
|
||||
│ │ └── depth: 0
|
||||
|
@ -4,7 +4,7 @@
|
||||
@ StatementsNode (location: (1,0)-(1,23))
|
||||
└── body: (length: 1)
|
||||
└── @ MultiWriteNode (location: (1,0)-(1,23))
|
||||
├── requireds: (length: 3)
|
||||
├── lefts: (length: 3)
|
||||
│ ├── @ LocalVariableTargetNode (location: (1,0)-(1,1))
|
||||
│ │ ├── name: :a
|
||||
│ │ └── depth: 0
|
||||
@ -18,7 +18,7 @@
|
||||
│ @ SplatNode (location: (1,9)-(1,10))
|
||||
│ ├── operator_loc: (1,9)-(1,10) = "*"
|
||||
│ └── expression: ∅
|
||||
├── posts: (length: 3)
|
||||
├── rights: (length: 3)
|
||||
│ ├── @ LocalVariableTargetNode (location: (1,12)-(1,13))
|
||||
│ │ ├── name: :x
|
||||
│ │ └── depth: 0
|
||||
|
@ -4,7 +4,7 @@
|
||||
@ StatementsNode (location: (1,0)-(1,24))
|
||||
└── body: (length: 1)
|
||||
└── @ MultiWriteNode (location: (1,0)-(1,24))
|
||||
├── requireds: (length: 3)
|
||||
├── lefts: (length: 3)
|
||||
│ ├── @ LocalVariableTargetNode (location: (1,0)-(1,1))
|
||||
│ │ ├── name: :a
|
||||
│ │ └── depth: 0
|
||||
@ -21,7 +21,7 @@
|
||||
│ @ LocalVariableTargetNode (location: (1,10)-(1,11))
|
||||
│ ├── name: :s
|
||||
│ └── depth: 0
|
||||
├── posts: (length: 3)
|
||||
├── rights: (length: 3)
|
||||
│ ├── @ LocalVariableTargetNode (location: (1,13)-(1,14))
|
||||
│ │ ├── name: :x
|
||||
│ │ └── depth: 0
|
||||
|
@ -4,7 +4,7 @@
|
||||
@ StatementsNode (location: (1,0)-(1,18))
|
||||
└── body: (length: 1)
|
||||
└── @ MultiWriteNode (location: (1,0)-(1,18))
|
||||
├── requireds: (length: 2)
|
||||
├── lefts: (length: 2)
|
||||
│ ├── @ LocalVariableTargetNode (location: (1,0)-(1,1))
|
||||
│ │ ├── name: :a
|
||||
│ │ └── depth: 0
|
||||
@ -12,7 +12,7 @@
|
||||
│ ├── name: :b
|
||||
│ └── depth: 0
|
||||
├── rest: ∅
|
||||
├── posts: (length: 0)
|
||||
├── rights: (length: 0)
|
||||
├── lparen_loc: ∅
|
||||
├── rparen_loc: ∅
|
||||
├── operator_loc: (1,5)-(1,6) = "="
|
||||
|
@ -4,7 +4,7 @@
|
||||
@ StatementsNode (location: (1,0)-(3,1))
|
||||
└── body: (length: 2)
|
||||
├── @ MultiWriteNode (location: (1,0)-(2,5))
|
||||
│ ├── requireds: (length: 2)
|
||||
│ ├── lefts: (length: 2)
|
||||
│ │ ├── @ LocalVariableTargetNode (location: (1,0)-(1,1))
|
||||
│ │ │ ├── name: :a
|
||||
│ │ │ └── depth: 0
|
||||
@ -12,7 +12,7 @@
|
||||
│ │ ├── name: :b
|
||||
│ │ └── depth: 0
|
||||
│ ├── rest: ∅
|
||||
│ ├── posts: (length: 0)
|
||||
│ ├── rights: (length: 0)
|
||||
│ ├── lparen_loc: ∅
|
||||
│ ├── rparen_loc: ∅
|
||||
│ ├── operator_loc: (2,2)-(2,3) = "="
|
||||
|
@ -11,13 +11,13 @@
|
||||
│ │ └── flags: decimal
|
||||
│ └── operator_loc: (1,3)-(1,4) = "="
|
||||
├── @ MultiWriteNode (location: (2,0)-(2,17))
|
||||
│ ├── requireds: (length: 2)
|
||||
│ ├── lefts: (length: 2)
|
||||
│ │ ├── @ GlobalVariableTargetNode (location: (2,1)-(2,3))
|
||||
│ │ │ └── name: :$a
|
||||
│ │ └── @ GlobalVariableTargetNode (location: (2,5)-(2,7))
|
||||
│ │ └── name: :$b
|
||||
│ ├── rest: ∅
|
||||
│ ├── posts: (length: 0)
|
||||
│ ├── rights: (length: 0)
|
||||
│ ├── lparen_loc: (2,0)-(2,1) = "("
|
||||
│ ├── rparen_loc: (2,7)-(2,8) = ")"
|
||||
│ ├── operator_loc: (2,9)-(2,10) = "="
|
||||
@ -31,9 +31,9 @@
|
||||
│ ├── opening_loc: (2,11)-(2,12) = "["
|
||||
│ └── closing_loc: (2,16)-(2,17) = "]"
|
||||
├── @ MultiWriteNode (location: (3,0)-(3,13))
|
||||
│ ├── requireds: (length: 2)
|
||||
│ ├── lefts: (length: 2)
|
||||
│ │ ├── @ MultiTargetNode (location: (3,1)-(3,5))
|
||||
│ │ │ ├── requireds: (length: 1)
|
||||
│ │ │ ├── lefts: (length: 1)
|
||||
│ │ │ │ └── @ LocalVariableTargetNode (location: (3,2)-(3,3))
|
||||
│ │ │ │ ├── name: :a
|
||||
│ │ │ │ └── depth: 0
|
||||
@ -41,14 +41,14 @@
|
||||
│ │ │ │ @ SplatNode (location: (3,3)-(3,4))
|
||||
│ │ │ │ ├── operator_loc: (3,3)-(3,4) = ","
|
||||
│ │ │ │ └── expression: ∅
|
||||
│ │ │ ├── posts: (length: 0)
|
||||
│ │ │ ├── rights: (length: 0)
|
||||
│ │ │ ├── lparen_loc: (3,1)-(3,2) = "("
|
||||
│ │ │ └── rparen_loc: (3,4)-(3,5) = ")"
|
||||
│ │ └── @ LocalVariableTargetNode (location: (3,7)-(3,8))
|
||||
│ │ ├── name: :b
|
||||
│ │ └── depth: 0
|
||||
│ ├── rest: ∅
|
||||
│ ├── posts: (length: 0)
|
||||
│ ├── rights: (length: 0)
|
||||
│ ├── lparen_loc: (3,0)-(3,1) = "("
|
||||
│ ├── rparen_loc: (3,8)-(3,9) = ")"
|
||||
│ ├── operator_loc: (3,10)-(3,11) = "="
|
||||
@ -56,7 +56,7 @@
|
||||
│ @ IntegerNode (location: (3,12)-(3,13))
|
||||
│ └── flags: decimal
|
||||
├── @ MultiWriteNode (location: (4,0)-(4,9))
|
||||
│ ├── requireds: (length: 0)
|
||||
│ ├── lefts: (length: 0)
|
||||
│ ├── rest:
|
||||
│ │ @ SplatNode (location: (4,1)-(4,3))
|
||||
│ │ ├── operator_loc: (4,1)-(4,2) = "*"
|
||||
@ -64,7 +64,7 @@
|
||||
│ │ @ LocalVariableTargetNode (location: (4,2)-(4,3))
|
||||
│ │ ├── name: :a
|
||||
│ │ └── depth: 0
|
||||
│ ├── posts: (length: 0)
|
||||
│ ├── rights: (length: 0)
|
||||
│ ├── lparen_loc: (4,0)-(4,1) = "("
|
||||
│ ├── rparen_loc: (4,3)-(4,4) = ")"
|
||||
│ ├── operator_loc: (4,5)-(4,6) = "="
|
||||
@ -74,7 +74,7 @@
|
||||
│ ├── opening_loc: (4,7)-(4,8) = "["
|
||||
│ └── closing_loc: (4,8)-(4,9) = "]"
|
||||
├── @ MultiWriteNode (location: (5,0)-(5,15))
|
||||
│ ├── requireds: (length: 0)
|
||||
│ ├── lefts: (length: 0)
|
||||
│ ├── rest:
|
||||
│ │ @ SplatNode (location: (5,1)-(5,5))
|
||||
│ │ ├── operator_loc: (5,1)-(5,2) = "*"
|
||||
@ -82,7 +82,7 @@
|
||||
│ │ @ LocalVariableTargetNode (location: (5,2)-(5,5))
|
||||
│ │ ├── name: :foo
|
||||
│ │ └── depth: 0
|
||||
│ ├── posts: (length: 0)
|
||||
│ ├── rights: (length: 0)
|
||||
│ ├── lparen_loc: (5,0)-(5,1) = "("
|
||||
│ ├── rparen_loc: (5,5)-(5,6) = ")"
|
||||
│ ├── operator_loc: (5,7)-(5,8) = "="
|
||||
@ -96,13 +96,13 @@
|
||||
│ ├── opening_loc: (5,9)-(5,10) = "["
|
||||
│ └── closing_loc: (5,14)-(5,15) = "]"
|
||||
├── @ MultiWriteNode (location: (6,0)-(6,19))
|
||||
│ ├── requireds: (length: 2)
|
||||
│ ├── lefts: (length: 2)
|
||||
│ │ ├── @ ClassVariableTargetNode (location: (6,1)-(6,4))
|
||||
│ │ │ └── name: :@@a
|
||||
│ │ └── @ ClassVariableTargetNode (location: (6,6)-(6,9))
|
||||
│ │ └── name: :@@b
|
||||
│ ├── rest: ∅
|
||||
│ ├── posts: (length: 0)
|
||||
│ ├── rights: (length: 0)
|
||||
│ ├── lparen_loc: (6,0)-(6,1) = "("
|
||||
│ ├── rparen_loc: (6,9)-(6,10) = ")"
|
||||
│ ├── operator_loc: (6,11)-(6,12) = "="
|
||||
@ -116,13 +116,13 @@
|
||||
│ ├── opening_loc: (6,13)-(6,14) = "["
|
||||
│ └── closing_loc: (6,18)-(6,19) = "]"
|
||||
├── @ MultiWriteNode (location: (7,0)-(7,17))
|
||||
│ ├── requireds: (length: 2)
|
||||
│ ├── lefts: (length: 2)
|
||||
│ │ ├── @ InstanceVariableTargetNode (location: (7,1)-(7,3))
|
||||
│ │ │ └── name: :@a
|
||||
│ │ └── @ InstanceVariableTargetNode (location: (7,5)-(7,7))
|
||||
│ │ └── name: :@b
|
||||
│ ├── rest: ∅
|
||||
│ ├── posts: (length: 0)
|
||||
│ ├── rights: (length: 0)
|
||||
│ ├── lparen_loc: (7,0)-(7,1) = "("
|
||||
│ ├── rparen_loc: (7,7)-(7,8) = ")"
|
||||
│ ├── operator_loc: (7,9)-(7,10) = "="
|
||||
@ -136,12 +136,12 @@
|
||||
│ ├── opening_loc: (7,11)-(7,12) = "["
|
||||
│ └── closing_loc: (7,16)-(7,17) = "]"
|
||||
├── @ MultiWriteNode (location: (8,0)-(8,25))
|
||||
│ ├── requireds: (length: 2)
|
||||
│ ├── lefts: (length: 2)
|
||||
│ │ ├── @ LocalVariableTargetNode (location: (8,1)-(8,2))
|
||||
│ │ │ ├── name: :a
|
||||
│ │ │ └── depth: 0
|
||||
│ │ └── @ MultiTargetNode (location: (8,4)-(8,10))
|
||||
│ │ ├── requireds: (length: 2)
|
||||
│ │ ├── lefts: (length: 2)
|
||||
│ │ │ ├── @ LocalVariableTargetNode (location: (8,5)-(8,6))
|
||||
│ │ │ │ ├── name: :b
|
||||
│ │ │ │ └── depth: 0
|
||||
@ -149,11 +149,11 @@
|
||||
│ │ │ ├── name: :c
|
||||
│ │ │ └── depth: 0
|
||||
│ │ ├── rest: ∅
|
||||
│ │ ├── posts: (length: 0)
|
||||
│ │ ├── rights: (length: 0)
|
||||
│ │ ├── lparen_loc: (8,4)-(8,5) = "("
|
||||
│ │ └── rparen_loc: (8,9)-(8,10) = ")"
|
||||
│ ├── rest: ∅
|
||||
│ ├── posts: (length: 0)
|
||||
│ ├── rights: (length: 0)
|
||||
│ ├── lparen_loc: (8,0)-(8,1) = "("
|
||||
│ ├── rparen_loc: (8,10)-(8,11) = ")"
|
||||
│ ├── operator_loc: (8,12)-(8,13) = "="
|
||||
@ -173,7 +173,7 @@
|
||||
│ ├── opening_loc: (8,14)-(8,15) = "["
|
||||
│ └── closing_loc: (8,24)-(8,25) = "]"
|
||||
├── @ MultiWriteNode (location: (9,0)-(9,15))
|
||||
│ ├── requireds: (length: 1)
|
||||
│ ├── lefts: (length: 1)
|
||||
│ │ └── @ LocalVariableTargetNode (location: (9,1)-(9,2))
|
||||
│ │ ├── name: :a
|
||||
│ │ └── depth: 0
|
||||
@ -181,7 +181,7 @@
|
||||
│ │ @ SplatNode (location: (9,4)-(9,5))
|
||||
│ │ ├── operator_loc: (9,4)-(9,5) = "*"
|
||||
│ │ └── expression: ∅
|
||||
│ ├── posts: (length: 0)
|
||||
│ ├── rights: (length: 0)
|
||||
│ ├── lparen_loc: (9,0)-(9,1) = "("
|
||||
│ ├── rparen_loc: (9,5)-(9,6) = ")"
|
||||
│ ├── operator_loc: (9,7)-(9,8) = "="
|
||||
@ -195,7 +195,7 @@
|
||||
│ ├── opening_loc: (9,9)-(9,10) = "["
|
||||
│ └── closing_loc: (9,14)-(9,15) = "]"
|
||||
├── @ MultiWriteNode (location: (10,0)-(10,18))
|
||||
│ ├── requireds: (length: 1)
|
||||
│ ├── lefts: (length: 1)
|
||||
│ │ └── @ LocalVariableTargetNode (location: (10,1)-(10,2))
|
||||
│ │ ├── name: :a
|
||||
│ │ └── depth: 0
|
||||
@ -206,7 +206,7 @@
|
||||
│ │ @ LocalVariableTargetNode (location: (10,5)-(10,8))
|
||||
│ │ ├── name: :foo
|
||||
│ │ └── depth: 0
|
||||
│ ├── posts: (length: 0)
|
||||
│ ├── rights: (length: 0)
|
||||
│ ├── lparen_loc: (10,0)-(10,1) = "("
|
||||
│ ├── rparen_loc: (10,8)-(10,9) = ")"
|
||||
│ ├── operator_loc: (10,10)-(10,11) = "="
|
||||
@ -220,7 +220,7 @@
|
||||
│ ├── opening_loc: (10,12)-(10,13) = "["
|
||||
│ └── closing_loc: (10,17)-(10,18) = "]"
|
||||
├── @ MultiWriteNode (location: (11,0)-(11,15))
|
||||
│ ├── requireds: (length: 2)
|
||||
│ ├── lefts: (length: 2)
|
||||
│ │ ├── @ LocalVariableTargetNode (location: (11,1)-(11,2))
|
||||
│ │ │ ├── name: :a
|
||||
│ │ │ └── depth: 0
|
||||
@ -228,7 +228,7 @@
|
||||
│ │ ├── name: :b
|
||||
│ │ └── depth: 0
|
||||
│ ├── rest: ∅
|
||||
│ ├── posts: (length: 0)
|
||||
│ ├── rights: (length: 0)
|
||||
│ ├── lparen_loc: (11,0)-(11,1) = "("
|
||||
│ ├── rparen_loc: (11,5)-(11,6) = ")"
|
||||
│ ├── operator_loc: (11,7)-(11,8) = "="
|
||||
@ -242,7 +242,7 @@
|
||||
│ ├── opening_loc: (11,9)-(11,10) = "["
|
||||
│ └── closing_loc: (11,14)-(11,15) = "]"
|
||||
├── @ MultiWriteNode (location: (12,0)-(12,12))
|
||||
│ ├── requireds: (length: 2)
|
||||
│ ├── lefts: (length: 2)
|
||||
│ │ ├── @ LocalVariableTargetNode (location: (12,1)-(12,2))
|
||||
│ │ │ ├── name: :a
|
||||
│ │ │ └── depth: 0
|
||||
@ -250,7 +250,7 @@
|
||||
│ │ ├── name: :b
|
||||
│ │ └── depth: 0
|
||||
│ ├── rest: ∅
|
||||
│ ├── posts: (length: 0)
|
||||
│ ├── rights: (length: 0)
|
||||
│ ├── lparen_loc: (12,0)-(12,1) = "("
|
||||
│ ├── rparen_loc: (12,5)-(12,6) = ")"
|
||||
│ ├── operator_loc: (12,7)-(12,8) = "="
|
||||
@ -259,7 +259,7 @@
|
||||
│ ├── name: :foo
|
||||
│ └── depth: 0
|
||||
├── @ MultiWriteNode (location: (13,0)-(13,10))
|
||||
│ ├── requireds: (length: 1)
|
||||
│ ├── lefts: (length: 1)
|
||||
│ │ └── @ LocalVariableTargetNode (location: (13,1)-(13,2))
|
||||
│ │ ├── name: :a
|
||||
│ │ └── depth: 0
|
||||
@ -267,7 +267,7 @@
|
||||
│ │ @ SplatNode (location: (13,2)-(13,3))
|
||||
│ │ ├── operator_loc: (13,2)-(13,3) = ","
|
||||
│ │ └── expression: ∅
|
||||
│ ├── posts: (length: 0)
|
||||
│ ├── rights: (length: 0)
|
||||
│ ├── lparen_loc: (13,0)-(13,1) = "("
|
||||
│ ├── rparen_loc: (13,3)-(13,4) = ")"
|
||||
│ ├── operator_loc: (13,5)-(13,6) = "="
|
||||
@ -276,7 +276,7 @@
|
||||
│ ├── name: :foo
|
||||
│ └── depth: 0
|
||||
├── @ MultiWriteNode (location: (14,0)-(14,23))
|
||||
│ ├── requireds: (length: 2)
|
||||
│ ├── lefts: (length: 2)
|
||||
│ │ ├── @ CallNode (location: (14,1)-(14,6))
|
||||
│ │ │ ├── receiver:
|
||||
│ │ │ │ @ LocalVariableReadNode (location: (14,1)-(14,2))
|
||||
@ -304,7 +304,7 @@
|
||||
│ │ ├── flags: ∅
|
||||
│ │ └── name: :bar=
|
||||
│ ├── rest: ∅
|
||||
│ ├── posts: (length: 0)
|
||||
│ ├── rights: (length: 0)
|
||||
│ ├── lparen_loc: (14,0)-(14,1) = "("
|
||||
│ ├── rparen_loc: (14,13)-(14,14) = ")"
|
||||
│ ├── operator_loc: (14,15)-(14,16) = "="
|
||||
@ -318,7 +318,7 @@
|
||||
│ ├── opening_loc: (14,17)-(14,18) = "["
|
||||
│ └── closing_loc: (14,22)-(14,23) = "]"
|
||||
├── @ MultiWriteNode (location: (15,0)-(15,24))
|
||||
│ ├── requireds: (length: 2)
|
||||
│ ├── lefts: (length: 2)
|
||||
│ │ ├── @ CallNode (location: (15,1)-(15,8))
|
||||
│ │ │ ├── receiver:
|
||||
│ │ │ │ @ LocalVariableReadNode (location: (15,1)-(15,2))
|
||||
@ -360,7 +360,7 @@
|
||||
│ │ ├── flags: ∅
|
||||
│ │ └── name: :[]=
|
||||
│ ├── rest: ∅
|
||||
│ ├── posts: (length: 0)
|
||||
│ ├── rights: (length: 0)
|
||||
│ ├── lparen_loc: (15,0)-(15,1) = "("
|
||||
│ ├── rparen_loc: (15,14)-(15,15) = ")"
|
||||
│ ├── operator_loc: (15,16)-(15,17) = "="
|
||||
@ -374,7 +374,7 @@
|
||||
│ ├── opening_loc: (15,18)-(15,19) = "["
|
||||
│ └── closing_loc: (15,23)-(15,24) = "]"
|
||||
├── @ MultiWriteNode (location: (16,0)-(16,21))
|
||||
│ ├── requireds: (length: 2)
|
||||
│ ├── lefts: (length: 2)
|
||||
│ │ ├── @ CallNode (location: (16,1)-(16,5))
|
||||
│ │ │ ├── receiver:
|
||||
│ │ │ │ @ LocalVariableReadNode (location: (16,1)-(16,2))
|
||||
@ -412,7 +412,7 @@
|
||||
│ │ ├── flags: ∅
|
||||
│ │ └── name: :[]=
|
||||
│ ├── rest: ∅
|
||||
│ ├── posts: (length: 0)
|
||||
│ ├── rights: (length: 0)
|
||||
│ ├── lparen_loc: (16,0)-(16,1) = "("
|
||||
│ ├── rparen_loc: (16,11)-(16,12) = ")"
|
||||
│ ├── operator_loc: (16,13)-(16,14) = "="
|
||||
@ -426,7 +426,7 @@
|
||||
│ ├── opening_loc: (16,15)-(16,16) = "["
|
||||
│ └── closing_loc: (16,20)-(16,21) = "]"
|
||||
├── @ MultiWriteNode (location: (17,0)-(17,12))
|
||||
│ ├── requireds: (length: 0)
|
||||
│ ├── lefts: (length: 0)
|
||||
│ ├── rest:
|
||||
│ │ @ SplatNode (location: (17,1)-(17,7))
|
||||
│ │ ├── operator_loc: (17,1)-(17,2) = "*"
|
||||
@ -444,7 +444,7 @@
|
||||
│ │ ├── block: ∅
|
||||
│ │ ├── flags: ∅
|
||||
│ │ └── name: :foo=
|
||||
│ ├── posts: (length: 0)
|
||||
│ ├── rights: (length: 0)
|
||||
│ ├── lparen_loc: (17,0)-(17,1) = "("
|
||||
│ ├── rparen_loc: (17,7)-(17,8) = ")"
|
||||
│ ├── operator_loc: (17,9)-(17,10) = "="
|
||||
@ -518,7 +518,7 @@
|
||||
│ │ │ @ StatementsNode (location: (23,5)-(23,15))
|
||||
│ │ │ └── body: (length: 1)
|
||||
│ │ │ └── @ MultiWriteNode (location: (23,5)-(23,15))
|
||||
│ │ │ ├── requireds: (length: 2)
|
||||
│ │ │ ├── lefts: (length: 2)
|
||||
│ │ │ │ ├── @ LocalVariableTargetNode (location: (23,6)-(23,7))
|
||||
│ │ │ │ │ ├── name: :b
|
||||
│ │ │ │ │ └── depth: 0
|
||||
@ -526,7 +526,7 @@
|
||||
│ │ │ │ ├── name: :c
|
||||
│ │ │ │ └── depth: 0
|
||||
│ │ │ ├── rest: ∅
|
||||
│ │ │ ├── posts: (length: 0)
|
||||
│ │ │ ├── rights: (length: 0)
|
||||
│ │ │ ├── lparen_loc: (23,5)-(23,6) = "("
|
||||
│ │ │ ├── rparen_loc: (23,10)-(23,11) = ")"
|
||||
│ │ │ ├── operator_loc: (23,12)-(23,13) = "="
|
||||
|
@ -309,13 +309,13 @@
|
||||
│ │ │ │ @ ParametersNode (location: (23,11)-(23,20))
|
||||
│ │ │ │ ├── requireds: (length: 2)
|
||||
│ │ │ │ │ ├── @ MultiTargetNode (location: (23,11)-(23,17))
|
||||
│ │ │ │ │ │ ├── requireds: (length: 2)
|
||||
│ │ │ │ │ │ ├── lefts: (length: 2)
|
||||
│ │ │ │ │ │ │ ├── @ RequiredParameterNode (location: (23,12)-(23,13))
|
||||
│ │ │ │ │ │ │ │ └── name: :a
|
||||
│ │ │ │ │ │ │ └── @ RequiredParameterNode (location: (23,15)-(23,16))
|
||||
│ │ │ │ │ │ │ └── name: :b
|
||||
│ │ │ │ │ │ ├── rest: ∅
|
||||
│ │ │ │ │ │ ├── posts: (length: 0)
|
||||
│ │ │ │ │ │ ├── rights: (length: 0)
|
||||
│ │ │ │ │ │ ├── lparen_loc: (23,11)-(23,12) = "("
|
||||
│ │ │ │ │ │ └── rparen_loc: (23,16)-(23,17) = ")"
|
||||
│ │ │ │ │ └── @ RequiredParameterNode (location: (23,19)-(23,20))
|
||||
@ -550,12 +550,12 @@
|
||||
│ │ │ │ @ ParametersNode (location: (35,11)-(35,14))
|
||||
│ │ │ │ ├── requireds: (length: 1)
|
||||
│ │ │ │ │ └── @ MultiTargetNode (location: (35,11)-(35,14))
|
||||
│ │ │ │ │ ├── requireds: (length: 0)
|
||||
│ │ │ │ │ ├── lefts: (length: 0)
|
||||
│ │ │ │ │ ├── rest:
|
||||
│ │ │ │ │ │ @ SplatNode (location: (35,12)-(35,13))
|
||||
│ │ │ │ │ │ ├── operator_loc: (35,12)-(35,13) = "*"
|
||||
│ │ │ │ │ │ └── expression: ∅
|
||||
│ │ │ │ │ ├── posts: (length: 0)
|
||||
│ │ │ │ │ ├── rights: (length: 0)
|
||||
│ │ │ │ │ ├── lparen_loc: (35,11)-(35,12) = "("
|
||||
│ │ │ │ │ └── rparen_loc: (35,13)-(35,14) = ")"
|
||||
│ │ │ │ ├── optionals: (length: 0)
|
||||
@ -610,18 +610,18 @@
|
||||
│ │ │ │ @ ParametersNode (location: (38,11)-(38,16))
|
||||
│ │ │ │ ├── requireds: (length: 1)
|
||||
│ │ │ │ │ └── @ MultiTargetNode (location: (38,11)-(38,16))
|
||||
│ │ │ │ │ ├── requireds: (length: 1)
|
||||
│ │ │ │ │ ├── lefts: (length: 1)
|
||||
│ │ │ │ │ │ └── @ MultiTargetNode (location: (38,12)-(38,15))
|
||||
│ │ │ │ │ │ ├── requireds: (length: 0)
|
||||
│ │ │ │ │ │ ├── lefts: (length: 0)
|
||||
│ │ │ │ │ │ ├── rest:
|
||||
│ │ │ │ │ │ │ @ SplatNode (location: (38,13)-(38,14))
|
||||
│ │ │ │ │ │ │ ├── operator_loc: (38,13)-(38,14) = "*"
|
||||
│ │ │ │ │ │ │ └── expression: ∅
|
||||
│ │ │ │ │ │ ├── posts: (length: 0)
|
||||
│ │ │ │ │ │ ├── rights: (length: 0)
|
||||
│ │ │ │ │ │ ├── lparen_loc: (38,12)-(38,13) = "("
|
||||
│ │ │ │ │ │ └── rparen_loc: (38,14)-(38,15) = ")"
|
||||
│ │ │ │ │ ├── rest: ∅
|
||||
│ │ │ │ │ ├── posts: (length: 0)
|
||||
│ │ │ │ │ ├── rights: (length: 0)
|
||||
│ │ │ │ │ ├── lparen_loc: (38,11)-(38,12) = "("
|
||||
│ │ │ │ │ └── rparen_loc: (38,15)-(38,16) = ")"
|
||||
│ │ │ │ ├── optionals: (length: 0)
|
||||
@ -676,20 +676,20 @@
|
||||
│ │ │ │ @ ParametersNode (location: (41,11)-(41,19))
|
||||
│ │ │ │ ├── requireds: (length: 1)
|
||||
│ │ │ │ │ └── @ MultiTargetNode (location: (41,11)-(41,19))
|
||||
│ │ │ │ │ ├── requireds: (length: 2)
|
||||
│ │ │ │ │ ├── lefts: (length: 2)
|
||||
│ │ │ │ │ │ ├── @ RequiredParameterNode (location: (41,12)-(41,13))
|
||||
│ │ │ │ │ │ │ └── name: :a
|
||||
│ │ │ │ │ │ └── @ MultiTargetNode (location: (41,15)-(41,18))
|
||||
│ │ │ │ │ │ ├── requireds: (length: 0)
|
||||
│ │ │ │ │ │ ├── lefts: (length: 0)
|
||||
│ │ │ │ │ │ ├── rest:
|
||||
│ │ │ │ │ │ │ @ SplatNode (location: (41,16)-(41,17))
|
||||
│ │ │ │ │ │ │ ├── operator_loc: (41,16)-(41,17) = "*"
|
||||
│ │ │ │ │ │ │ └── expression: ∅
|
||||
│ │ │ │ │ │ ├── posts: (length: 0)
|
||||
│ │ │ │ │ │ ├── rights: (length: 0)
|
||||
│ │ │ │ │ │ ├── lparen_loc: (41,15)-(41,16) = "("
|
||||
│ │ │ │ │ │ └── rparen_loc: (41,17)-(41,18) = ")"
|
||||
│ │ │ │ │ ├── rest: ∅
|
||||
│ │ │ │ │ ├── posts: (length: 0)
|
||||
│ │ │ │ │ ├── rights: (length: 0)
|
||||
│ │ │ │ │ ├── lparen_loc: (41,11)-(41,12) = "("
|
||||
│ │ │ │ │ └── rparen_loc: (41,18)-(41,19) = ")"
|
||||
│ │ │ │ ├── optionals: (length: 0)
|
||||
@ -744,13 +744,13 @@
|
||||
│ │ │ │ @ ParametersNode (location: (44,11)-(44,17))
|
||||
│ │ │ │ ├── requireds: (length: 1)
|
||||
│ │ │ │ │ └── @ MultiTargetNode (location: (44,11)-(44,17))
|
||||
│ │ │ │ │ ├── requireds: (length: 2)
|
||||
│ │ │ │ │ ├── lefts: (length: 2)
|
||||
│ │ │ │ │ │ ├── @ RequiredParameterNode (location: (44,12)-(44,13))
|
||||
│ │ │ │ │ │ │ └── name: :a
|
||||
│ │ │ │ │ │ └── @ RequiredParameterNode (location: (44,15)-(44,16))
|
||||
│ │ │ │ │ │ └── name: :b
|
||||
│ │ │ │ │ ├── rest: ∅
|
||||
│ │ │ │ │ ├── posts: (length: 0)
|
||||
│ │ │ │ │ ├── rights: (length: 0)
|
||||
│ │ │ │ │ ├── lparen_loc: (44,11)-(44,12) = "("
|
||||
│ │ │ │ │ └── rparen_loc: (44,16)-(44,17) = ")"
|
||||
│ │ │ │ ├── optionals: (length: 0)
|
||||
|
@ -1054,17 +1054,17 @@
|
||||
│ │ @ ParametersNode (location: (120,6)-(120,11))
|
||||
│ │ ├── requireds: (length: 1)
|
||||
│ │ │ └── @ MultiTargetNode (location: (120,6)-(120,11))
|
||||
│ │ │ ├── requireds: (length: 1)
|
||||
│ │ │ ├── lefts: (length: 1)
|
||||
│ │ │ │ └── @ MultiTargetNode (location: (120,7)-(120,10))
|
||||
│ │ │ │ ├── requireds: (length: 1)
|
||||
│ │ │ │ ├── lefts: (length: 1)
|
||||
│ │ │ │ │ └── @ RequiredParameterNode (location: (120,8)-(120,9))
|
||||
│ │ │ │ │ └── name: :a
|
||||
│ │ │ │ ├── rest: ∅
|
||||
│ │ │ │ ├── posts: (length: 0)
|
||||
│ │ │ │ ├── rights: (length: 0)
|
||||
│ │ │ │ ├── lparen_loc: (120,7)-(120,8) = "("
|
||||
│ │ │ │ └── rparen_loc: (120,9)-(120,10) = ")"
|
||||
│ │ │ ├── rest: ∅
|
||||
│ │ │ ├── posts: (length: 0)
|
||||
│ │ │ ├── rights: (length: 0)
|
||||
│ │ │ ├── lparen_loc: (120,6)-(120,7) = "("
|
||||
│ │ │ └── rparen_loc: (120,10)-(120,11) = ")"
|
||||
│ │ ├── optionals: (length: 0)
|
||||
|
@ -25,7 +25,7 @@
|
||||
│ │ @ StatementsNode (location: (3,10)-(3,25))
|
||||
│ │ └── body: (length: 1)
|
||||
│ │ └── @ MultiWriteNode (location: (3,10)-(3,25))
|
||||
│ │ ├── requireds: (length: 2)
|
||||
│ │ ├── lefts: (length: 2)
|
||||
│ │ │ ├── @ LocalVariableTargetNode (location: (3,11)-(3,12))
|
||||
│ │ │ │ ├── name: :a
|
||||
│ │ │ │ └── depth: 0
|
||||
@ -33,7 +33,7 @@
|
||||
│ │ │ ├── name: :b
|
||||
│ │ │ └── depth: 0
|
||||
│ │ ├── rest: ∅
|
||||
│ │ ├── posts: (length: 0)
|
||||
│ │ ├── rights: (length: 0)
|
||||
│ │ ├── lparen_loc: (3,10)-(3,11) = "("
|
||||
│ │ ├── rparen_loc: (3,15)-(3,16) = ")"
|
||||
│ │ ├── operator_loc: (3,17)-(3,18) = "="
|
||||
|
@ -85,7 +85,7 @@
|
||||
├── @ ForNode (location: (7,0)-(9,3))
|
||||
│ ├── index:
|
||||
│ │ @ MultiTargetNode (location: (7,4)-(7,11))
|
||||
│ │ ├── requireds: (length: 1)
|
||||
│ │ ├── lefts: (length: 1)
|
||||
│ │ │ └── @ LocalVariableTargetNode (location: (7,5)-(7,6))
|
||||
│ │ │ ├── name: :a
|
||||
│ │ │ └── depth: 1
|
||||
@ -96,7 +96,7 @@
|
||||
│ │ │ @ LocalVariableTargetNode (location: (7,9)-(7,10))
|
||||
│ │ │ ├── name: :b
|
||||
│ │ │ └── depth: 1
|
||||
│ │ ├── posts: (length: 0)
|
||||
│ │ ├── rights: (length: 0)
|
||||
│ │ ├── lparen_loc: (7,4)-(7,5) = "("
|
||||
│ │ └── rparen_loc: (7,10)-(7,11) = ")"
|
||||
│ ├── collection:
|
||||
@ -130,7 +130,7 @@
|
||||
└── @ ForNode (location: (10,0)-(12,3))
|
||||
├── index:
|
||||
│ @ MultiTargetNode (location: (10,4)-(10,10))
|
||||
│ ├── requireds: (length: 2)
|
||||
│ ├── lefts: (length: 2)
|
||||
│ │ ├── @ LocalVariableTargetNode (location: (10,5)-(10,6))
|
||||
│ │ │ ├── name: :a
|
||||
│ │ │ └── depth: 1
|
||||
@ -138,7 +138,7 @@
|
||||
│ │ ├── name: :b
|
||||
│ │ └── depth: 1
|
||||
│ ├── rest: ∅
|
||||
│ ├── posts: (length: 0)
|
||||
│ ├── rights: (length: 0)
|
||||
│ ├── lparen_loc: (10,4)-(10,5) = "("
|
||||
│ └── rparen_loc: (10,9)-(10,10) = ")"
|
||||
├── collection:
|
||||
|
@ -21,7 +21,7 @@
|
||||
│ │ │ │ @ StatementsNode (location: (2,11)-(2,21))
|
||||
│ │ │ │ └── body: (length: 1)
|
||||
│ │ │ │ └── @ MultiWriteNode (location: (2,11)-(2,21))
|
||||
│ │ │ │ ├── requireds: (length: 2)
|
||||
│ │ │ │ ├── lefts: (length: 2)
|
||||
│ │ │ │ │ ├── @ LocalVariableTargetNode (location: (2,12)-(2,13))
|
||||
│ │ │ │ │ │ ├── name: :a
|
||||
│ │ │ │ │ │ └── depth: 0
|
||||
@ -29,7 +29,7 @@
|
||||
│ │ │ │ │ ├── name: :_
|
||||
│ │ │ │ │ └── depth: 0
|
||||
│ │ │ │ ├── rest: ∅
|
||||
│ │ │ │ ├── posts: (length: 0)
|
||||
│ │ │ │ ├── rights: (length: 0)
|
||||
│ │ │ │ ├── lparen_loc: (2,11)-(2,12) = "("
|
||||
│ │ │ │ ├── rparen_loc: (2,16)-(2,17) = ")"
|
||||
│ │ │ │ ├── operator_loc: (2,18)-(2,19) = "="
|
||||
|
@ -13,13 +13,13 @@
|
||||
│ │ └── flags: decimal
|
||||
│ └── operator_loc: (3,6)-(3,7) = "="
|
||||
├── @ MultiWriteNode (location: (5,0)-(5,16))
|
||||
│ ├── requireds: (length: 2)
|
||||
│ ├── lefts: (length: 2)
|
||||
│ │ ├── @ ClassVariableTargetNode (location: (5,0)-(5,5))
|
||||
│ │ │ └── name: :@@foo
|
||||
│ │ └── @ ClassVariableTargetNode (location: (5,7)-(5,12))
|
||||
│ │ └── name: :@@bar
|
||||
│ ├── rest: ∅
|
||||
│ ├── posts: (length: 0)
|
||||
│ ├── rights: (length: 0)
|
||||
│ ├── lparen_loc: ∅
|
||||
│ ├── rparen_loc: ∅
|
||||
│ ├── operator_loc: (5,13)-(5,14) = "="
|
||||
@ -76,13 +76,13 @@
|
||||
│ │ └── flags: decimal
|
||||
│ └── operator_loc: (19,4)-(19,5) = "="
|
||||
├── @ MultiWriteNode (location: (21,0)-(21,14))
|
||||
│ ├── requireds: (length: 2)
|
||||
│ ├── lefts: (length: 2)
|
||||
│ │ ├── @ GlobalVariableTargetNode (location: (21,0)-(21,4))
|
||||
│ │ │ └── name: :$foo
|
||||
│ │ └── @ GlobalVariableTargetNode (location: (21,6)-(21,10))
|
||||
│ │ └── name: :$bar
|
||||
│ ├── rest: ∅
|
||||
│ ├── posts: (length: 0)
|
||||
│ ├── rights: (length: 0)
|
||||
│ ├── lparen_loc: ∅
|
||||
│ ├── rparen_loc: ∅
|
||||
│ ├── operator_loc: (21,11)-(21,12) = "="
|
||||
@ -103,13 +103,13 @@
|
||||
│ │ └── closing_loc: ∅
|
||||
│ └── operator_loc: (23,5)-(23,6) = "="
|
||||
├── @ MultiWriteNode (location: (25,0)-(25,14))
|
||||
│ ├── requireds: (length: 2)
|
||||
│ ├── lefts: (length: 2)
|
||||
│ │ ├── @ InstanceVariableTargetNode (location: (25,0)-(25,4))
|
||||
│ │ │ └── name: :@foo
|
||||
│ │ └── @ InstanceVariableTargetNode (location: (25,6)-(25,10))
|
||||
│ │ └── name: :@bar
|
||||
│ ├── rest: ∅
|
||||
│ ├── posts: (length: 0)
|
||||
│ ├── rights: (length: 0)
|
||||
│ ├── lparen_loc: ∅
|
||||
│ ├── rparen_loc: ∅
|
||||
│ ├── operator_loc: (25,11)-(25,12) = "="
|
||||
@ -166,7 +166,7 @@
|
||||
│ │ └── closing_loc: ∅
|
||||
│ └── operator_loc: (31,4)-(31,5) = "="
|
||||
├── @ MultiWriteNode (location: (33,0)-(33,13))
|
||||
│ ├── requireds: (length: 1)
|
||||
│ ├── lefts: (length: 1)
|
||||
│ │ └── @ LocalVariableTargetNode (location: (33,0)-(33,3))
|
||||
│ │ ├── name: :foo
|
||||
│ │ └── depth: 0
|
||||
@ -174,7 +174,7 @@
|
||||
│ │ @ SplatNode (location: (33,5)-(33,6))
|
||||
│ │ ├── operator_loc: (33,5)-(33,6) = "*"
|
||||
│ │ └── expression: ∅
|
||||
│ ├── posts: (length: 0)
|
||||
│ ├── rights: (length: 0)
|
||||
│ ├── lparen_loc: ∅
|
||||
│ ├── rparen_loc: ∅
|
||||
│ ├── operator_loc: (33,7)-(33,8) = "="
|
||||
@ -188,7 +188,7 @@
|
||||
│ ├── opening_loc: ∅
|
||||
│ └── closing_loc: ∅
|
||||
├── @ MultiWriteNode (location: (35,0)-(35,11))
|
||||
│ ├── requireds: (length: 1)
|
||||
│ ├── lefts: (length: 1)
|
||||
│ │ └── @ LocalVariableTargetNode (location: (35,0)-(35,3))
|
||||
│ │ ├── name: :foo
|
||||
│ │ └── depth: 0
|
||||
@ -196,7 +196,7 @@
|
||||
│ │ @ SplatNode (location: (35,3)-(35,4))
|
||||
│ │ ├── operator_loc: (35,3)-(35,4) = ","
|
||||
│ │ └── expression: ∅
|
||||
│ ├── posts: (length: 0)
|
||||
│ ├── rights: (length: 0)
|
||||
│ ├── lparen_loc: ∅
|
||||
│ ├── rparen_loc: ∅
|
||||
│ ├── operator_loc: (35,5)-(35,6) = "="
|
||||
@ -210,7 +210,7 @@
|
||||
│ ├── opening_loc: ∅
|
||||
│ └── closing_loc: ∅
|
||||
├── @ MultiWriteNode (location: (37,0)-(37,16))
|
||||
│ ├── requireds: (length: 1)
|
||||
│ ├── lefts: (length: 1)
|
||||
│ │ └── @ LocalVariableTargetNode (location: (37,0)-(37,3))
|
||||
│ │ ├── name: :foo
|
||||
│ │ └── depth: 0
|
||||
@ -221,7 +221,7 @@
|
||||
│ │ @ LocalVariableTargetNode (location: (37,6)-(37,9))
|
||||
│ │ ├── name: :bar
|
||||
│ │ └── depth: 0
|
||||
│ ├── posts: (length: 0)
|
||||
│ ├── rights: (length: 0)
|
||||
│ ├── lparen_loc: ∅
|
||||
│ ├── rparen_loc: ∅
|
||||
│ ├── operator_loc: (37,10)-(37,11) = "="
|
||||
@ -235,12 +235,12 @@
|
||||
│ ├── opening_loc: ∅
|
||||
│ └── closing_loc: ∅
|
||||
├── @ MultiWriteNode (location: (39,0)-(39,27))
|
||||
│ ├── requireds: (length: 2)
|
||||
│ ├── lefts: (length: 2)
|
||||
│ │ ├── @ LocalVariableTargetNode (location: (39,0)-(39,3))
|
||||
│ │ │ ├── name: :foo
|
||||
│ │ │ └── depth: 0
|
||||
│ │ └── @ MultiTargetNode (location: (39,5)-(39,15))
|
||||
│ │ ├── requireds: (length: 2)
|
||||
│ │ ├── lefts: (length: 2)
|
||||
│ │ │ ├── @ LocalVariableTargetNode (location: (39,6)-(39,9))
|
||||
│ │ │ │ ├── name: :bar
|
||||
│ │ │ │ └── depth: 0
|
||||
@ -248,11 +248,11 @@
|
||||
│ │ │ ├── name: :baz
|
||||
│ │ │ └── depth: 0
|
||||
│ │ ├── rest: ∅
|
||||
│ │ ├── posts: (length: 0)
|
||||
│ │ ├── rights: (length: 0)
|
||||
│ │ ├── lparen_loc: (39,5)-(39,6) = "("
|
||||
│ │ └── rparen_loc: (39,14)-(39,15) = ")"
|
||||
│ ├── rest: ∅
|
||||
│ ├── posts: (length: 0)
|
||||
│ ├── rights: (length: 0)
|
||||
│ ├── lparen_loc: ∅
|
||||
│ ├── rparen_loc: ∅
|
||||
│ ├── operator_loc: (39,16)-(39,17) = "="
|
||||
@ -337,12 +337,12 @@
|
||||
│ ├── opening_loc: (45,0)-(45,1) = "("
|
||||
│ └── closing_loc: (45,8)-(45,9) = ")"
|
||||
└── @ MultiWriteNode (location: (47,0)-(47,17))
|
||||
├── requireds: (length: 3)
|
||||
├── lefts: (length: 3)
|
||||
│ ├── @ LocalVariableTargetNode (location: (47,0)-(47,1))
|
||||
│ │ ├── name: :a
|
||||
│ │ └── depth: 0
|
||||
│ ├── @ MultiTargetNode (location: (47,3)-(47,9))
|
||||
│ │ ├── requireds: (length: 2)
|
||||
│ │ ├── lefts: (length: 2)
|
||||
│ │ │ ├── @ LocalVariableTargetNode (location: (47,4)-(47,5))
|
||||
│ │ │ │ ├── name: :b
|
||||
│ │ │ │ └── depth: 0
|
||||
@ -350,14 +350,14 @@
|
||||
│ │ │ ├── name: :c
|
||||
│ │ │ └── depth: 0
|
||||
│ │ ├── rest: ∅
|
||||
│ │ ├── posts: (length: 0)
|
||||
│ │ ├── rights: (length: 0)
|
||||
│ │ ├── lparen_loc: (47,3)-(47,4) = "("
|
||||
│ │ └── rparen_loc: (47,8)-(47,9) = ")"
|
||||
│ └── @ LocalVariableTargetNode (location: (47,11)-(47,12))
|
||||
│ ├── name: :d
|
||||
│ └── depth: 0
|
||||
├── rest: ∅
|
||||
├── posts: (length: 0)
|
||||
├── rights: (length: 0)
|
||||
├── lparen_loc: ∅
|
||||
├── rparen_loc: ∅
|
||||
├── operator_loc: (47,13)-(47,14) = "="
|
||||
|
@ -21,7 +21,7 @@
|
||||
│ │ │ @ StatementsNode (location: (1,8)-(1,18))
|
||||
│ │ │ └── body: (length: 1)
|
||||
│ │ │ └── @ MultiWriteNode (location: (1,8)-(1,18))
|
||||
│ │ │ ├── requireds: (length: 2)
|
||||
│ │ │ ├── lefts: (length: 2)
|
||||
│ │ │ │ ├── @ LocalVariableTargetNode (location: (1,8)-(1,9))
|
||||
│ │ │ │ │ ├── name: :a
|
||||
│ │ │ │ │ └── depth: 0
|
||||
@ -29,7 +29,7 @@
|
||||
│ │ │ │ ├── name: :b
|
||||
│ │ │ │ └── depth: 0
|
||||
│ │ │ ├── rest: ∅
|
||||
│ │ │ ├── posts: (length: 0)
|
||||
│ │ │ ├── rights: (length: 0)
|
||||
│ │ │ ├── lparen_loc: ∅
|
||||
│ │ │ ├── rparen_loc: ∅
|
||||
│ │ │ ├── operator_loc: (1,13)-(1,14) = "="
|
||||
@ -65,7 +65,7 @@
|
||||
│ │ @ StatementsNode (location: (3,8)-(3,18))
|
||||
│ │ └── body: (length: 1)
|
||||
│ │ └── @ MultiWriteNode (location: (3,8)-(3,18))
|
||||
│ │ ├── requireds: (length: 2)
|
||||
│ │ ├── lefts: (length: 2)
|
||||
│ │ │ ├── @ LocalVariableTargetNode (location: (3,8)-(3,9))
|
||||
│ │ │ │ ├── name: :a
|
||||
│ │ │ │ └── depth: 0
|
||||
@ -73,7 +73,7 @@
|
||||
│ │ │ ├── name: :b
|
||||
│ │ │ └── depth: 0
|
||||
│ │ ├── rest: ∅
|
||||
│ │ ├── posts: (length: 0)
|
||||
│ │ ├── rights: (length: 0)
|
||||
│ │ ├── lparen_loc: ∅
|
||||
│ │ ├── rparen_loc: ∅
|
||||
│ │ ├── operator_loc: (3,13)-(3,14) = "="
|
||||
|
@ -36,17 +36,17 @@
|
||||
│ │ @ ParametersNode (location: (3,7)-(3,12))
|
||||
│ │ ├── requireds: (length: 1)
|
||||
│ │ │ └── @ MultiTargetNode (location: (3,7)-(3,12))
|
||||
│ │ │ ├── requireds: (length: 1)
|
||||
│ │ │ ├── lefts: (length: 1)
|
||||
│ │ │ │ └── @ MultiTargetNode (location: (3,8)-(3,11))
|
||||
│ │ │ │ ├── requireds: (length: 1)
|
||||
│ │ │ │ ├── lefts: (length: 1)
|
||||
│ │ │ │ │ └── @ RequiredParameterNode (location: (3,9)-(3,10))
|
||||
│ │ │ │ │ └── name: :a
|
||||
│ │ │ │ ├── rest: ∅
|
||||
│ │ │ │ ├── posts: (length: 0)
|
||||
│ │ │ │ ├── rights: (length: 0)
|
||||
│ │ │ │ ├── lparen_loc: (3,8)-(3,9) = "("
|
||||
│ │ │ │ └── rparen_loc: (3,10)-(3,11) = ")"
|
||||
│ │ │ ├── rest: ∅
|
||||
│ │ │ ├── posts: (length: 0)
|
||||
│ │ │ ├── rights: (length: 0)
|
||||
│ │ │ ├── lparen_loc: (3,7)-(3,8) = "("
|
||||
│ │ │ └── rparen_loc: (3,11)-(3,12) = ")"
|
||||
│ │ ├── optionals: (length: 0)
|
||||
@ -71,12 +71,12 @@
|
||||
│ │ @ ParametersNode (location: (5,7)-(5,10))
|
||||
│ │ ├── requireds: (length: 1)
|
||||
│ │ │ └── @ MultiTargetNode (location: (5,7)-(5,10))
|
||||
│ │ │ ├── requireds: (length: 0)
|
||||
│ │ │ ├── lefts: (length: 0)
|
||||
│ │ │ ├── rest:
|
||||
│ │ │ │ @ SplatNode (location: (5,8)-(5,9))
|
||||
│ │ │ │ ├── operator_loc: (5,8)-(5,9) = "*"
|
||||
│ │ │ │ └── expression: ∅
|
||||
│ │ │ ├── posts: (length: 0)
|
||||
│ │ │ ├── rights: (length: 0)
|
||||
│ │ │ ├── lparen_loc: (5,7)-(5,8) = "("
|
||||
│ │ │ └── rparen_loc: (5,9)-(5,10) = ")"
|
||||
│ │ ├── optionals: (length: 0)
|
||||
@ -101,12 +101,12 @@
|
||||
│ │ @ ParametersNode (location: (7,7)-(7,13))
|
||||
│ │ ├── requireds: (length: 1)
|
||||
│ │ │ └── @ MultiTargetNode (location: (7,7)-(7,13))
|
||||
│ │ │ ├── requireds: (length: 0)
|
||||
│ │ │ ├── lefts: (length: 0)
|
||||
│ │ │ ├── rest:
|
||||
│ │ │ │ @ SplatNode (location: (7,8)-(7,9))
|
||||
│ │ │ │ ├── operator_loc: (7,8)-(7,9) = "*"
|
||||
│ │ │ │ └── expression: ∅
|
||||
│ │ │ ├── posts: (length: 1)
|
||||
│ │ │ ├── rights: (length: 1)
|
||||
│ │ │ │ └── @ RequiredParameterNode (location: (7,11)-(7,12))
|
||||
│ │ │ │ └── name: :p
|
||||
│ │ │ ├── lparen_loc: (7,7)-(7,8) = "("
|
||||
@ -133,14 +133,14 @@
|
||||
│ │ @ ParametersNode (location: (9,7)-(9,11))
|
||||
│ │ ├── requireds: (length: 1)
|
||||
│ │ │ └── @ MultiTargetNode (location: (9,7)-(9,11))
|
||||
│ │ │ ├── requireds: (length: 0)
|
||||
│ │ │ ├── lefts: (length: 0)
|
||||
│ │ │ ├── rest:
|
||||
│ │ │ │ @ SplatNode (location: (9,8)-(9,10))
|
||||
│ │ │ │ ├── operator_loc: (9,8)-(9,9) = "*"
|
||||
│ │ │ │ └── expression:
|
||||
│ │ │ │ @ RequiredParameterNode (location: (9,9)-(9,10))
|
||||
│ │ │ │ └── name: :r
|
||||
│ │ │ ├── posts: (length: 0)
|
||||
│ │ │ ├── rights: (length: 0)
|
||||
│ │ │ ├── lparen_loc: (9,7)-(9,8) = "("
|
||||
│ │ │ └── rparen_loc: (9,10)-(9,11) = ")"
|
||||
│ │ ├── optionals: (length: 0)
|
||||
@ -165,14 +165,14 @@
|
||||
│ │ @ ParametersNode (location: (11,7)-(11,14))
|
||||
│ │ ├── requireds: (length: 1)
|
||||
│ │ │ └── @ MultiTargetNode (location: (11,7)-(11,14))
|
||||
│ │ │ ├── requireds: (length: 0)
|
||||
│ │ │ ├── lefts: (length: 0)
|
||||
│ │ │ ├── rest:
|
||||
│ │ │ │ @ SplatNode (location: (11,8)-(11,10))
|
||||
│ │ │ │ ├── operator_loc: (11,8)-(11,9) = "*"
|
||||
│ │ │ │ └── expression:
|
||||
│ │ │ │ @ RequiredParameterNode (location: (11,9)-(11,10))
|
||||
│ │ │ │ └── name: :r
|
||||
│ │ │ ├── posts: (length: 1)
|
||||
│ │ │ ├── rights: (length: 1)
|
||||
│ │ │ │ └── @ RequiredParameterNode (location: (11,12)-(11,13))
|
||||
│ │ │ │ └── name: :p
|
||||
│ │ │ ├── lparen_loc: (11,7)-(11,8) = "("
|
||||
@ -199,14 +199,14 @@
|
||||
│ │ @ ParametersNode (location: (13,7)-(13,13))
|
||||
│ │ ├── requireds: (length: 1)
|
||||
│ │ │ └── @ MultiTargetNode (location: (13,7)-(13,13))
|
||||
│ │ │ ├── requireds: (length: 1)
|
||||
│ │ │ ├── lefts: (length: 1)
|
||||
│ │ │ │ └── @ RequiredParameterNode (location: (13,8)-(13,9))
|
||||
│ │ │ │ └── name: :a
|
||||
│ │ │ ├── rest:
|
||||
│ │ │ │ @ SplatNode (location: (13,11)-(13,12))
|
||||
│ │ │ │ ├── operator_loc: (13,11)-(13,12) = "*"
|
||||
│ │ │ │ └── expression: ∅
|
||||
│ │ │ ├── posts: (length: 0)
|
||||
│ │ │ ├── rights: (length: 0)
|
||||
│ │ │ ├── lparen_loc: (13,7)-(13,8) = "("
|
||||
│ │ │ └── rparen_loc: (13,12)-(13,13) = ")"
|
||||
│ │ ├── optionals: (length: 0)
|
||||
@ -231,14 +231,14 @@
|
||||
│ │ @ ParametersNode (location: (15,7)-(15,16))
|
||||
│ │ ├── requireds: (length: 1)
|
||||
│ │ │ └── @ MultiTargetNode (location: (15,7)-(15,16))
|
||||
│ │ │ ├── requireds: (length: 1)
|
||||
│ │ │ ├── lefts: (length: 1)
|
||||
│ │ │ │ └── @ RequiredParameterNode (location: (15,8)-(15,9))
|
||||
│ │ │ │ └── name: :a
|
||||
│ │ │ ├── rest:
|
||||
│ │ │ │ @ SplatNode (location: (15,11)-(15,12))
|
||||
│ │ │ │ ├── operator_loc: (15,11)-(15,12) = "*"
|
||||
│ │ │ │ └── expression: ∅
|
||||
│ │ │ ├── posts: (length: 1)
|
||||
│ │ │ ├── rights: (length: 1)
|
||||
│ │ │ │ └── @ RequiredParameterNode (location: (15,14)-(15,15))
|
||||
│ │ │ │ └── name: :p
|
||||
│ │ │ ├── lparen_loc: (15,7)-(15,8) = "("
|
||||
@ -265,7 +265,7 @@
|
||||
│ │ @ ParametersNode (location: (17,7)-(17,14))
|
||||
│ │ ├── requireds: (length: 1)
|
||||
│ │ │ └── @ MultiTargetNode (location: (17,7)-(17,14))
|
||||
│ │ │ ├── requireds: (length: 1)
|
||||
│ │ │ ├── lefts: (length: 1)
|
||||
│ │ │ │ └── @ RequiredParameterNode (location: (17,8)-(17,9))
|
||||
│ │ │ │ └── name: :a
|
||||
│ │ │ ├── rest:
|
||||
@ -274,7 +274,7 @@
|
||||
│ │ │ │ └── expression:
|
||||
│ │ │ │ @ RequiredParameterNode (location: (17,12)-(17,13))
|
||||
│ │ │ │ └── name: :r
|
||||
│ │ │ ├── posts: (length: 0)
|
||||
│ │ │ ├── rights: (length: 0)
|
||||
│ │ │ ├── lparen_loc: (17,7)-(17,8) = "("
|
||||
│ │ │ └── rparen_loc: (17,13)-(17,14) = ")"
|
||||
│ │ ├── optionals: (length: 0)
|
||||
@ -299,7 +299,7 @@
|
||||
│ │ @ ParametersNode (location: (19,7)-(19,17))
|
||||
│ │ ├── requireds: (length: 1)
|
||||
│ │ │ └── @ MultiTargetNode (location: (19,7)-(19,17))
|
||||
│ │ │ ├── requireds: (length: 1)
|
||||
│ │ │ ├── lefts: (length: 1)
|
||||
│ │ │ │ └── @ RequiredParameterNode (location: (19,8)-(19,9))
|
||||
│ │ │ │ └── name: :a
|
||||
│ │ │ ├── rest:
|
||||
@ -308,7 +308,7 @@
|
||||
│ │ │ │ └── expression:
|
||||
│ │ │ │ @ RequiredParameterNode (location: (19,12)-(19,13))
|
||||
│ │ │ │ └── name: :r
|
||||
│ │ │ ├── posts: (length: 1)
|
||||
│ │ │ ├── rights: (length: 1)
|
||||
│ │ │ │ └── @ RequiredParameterNode (location: (19,15)-(19,16))
|
||||
│ │ │ │ └── name: :p
|
||||
│ │ │ ├── lparen_loc: (19,7)-(19,8) = "("
|
||||
@ -335,13 +335,13 @@
|
||||
│ │ @ ParametersNode (location: (21,7)-(21,14))
|
||||
│ │ ├── requireds: (length: 1)
|
||||
│ │ │ └── @ MultiTargetNode (location: (21,7)-(21,14))
|
||||
│ │ │ ├── requireds: (length: 2)
|
||||
│ │ │ ├── lefts: (length: 2)
|
||||
│ │ │ │ ├── @ RequiredParameterNode (location: (21,8)-(21,9))
|
||||
│ │ │ │ │ └── name: :a
|
||||
│ │ │ │ └── @ RequiredParameterNode (location: (21,11)-(21,13))
|
||||
│ │ │ │ └── name: :a1
|
||||
│ │ │ ├── rest: ∅
|
||||
│ │ │ ├── posts: (length: 0)
|
||||
│ │ │ ├── rights: (length: 0)
|
||||
│ │ │ ├── lparen_loc: (21,7)-(21,8) = "("
|
||||
│ │ │ └── rparen_loc: (21,13)-(21,14) = ")"
|
||||
│ │ ├── optionals: (length: 0)
|
||||
|
@ -21,7 +21,7 @@
|
||||
│ │ │ ├── flags: variable_call
|
||||
│ │ │ └── name: :bar
|
||||
│ │ └── @ MultiWriteNode (location: (1,9)-(1,19))
|
||||
│ │ ├── requireds: (length: 2)
|
||||
│ │ ├── lefts: (length: 2)
|
||||
│ │ │ ├── @ LocalVariableTargetNode (location: (1,9)-(1,10))
|
||||
│ │ │ │ ├── name: :a
|
||||
│ │ │ │ └── depth: 0
|
||||
@ -29,7 +29,7 @@
|
||||
│ │ │ ├── name: :b
|
||||
│ │ │ └── depth: 0
|
||||
│ │ ├── rest: ∅
|
||||
│ │ ├── posts: (length: 0)
|
||||
│ │ ├── rights: (length: 0)
|
||||
│ │ ├── lparen_loc: ∅
|
||||
│ │ ├── rparen_loc: ∅
|
||||
│ │ ├── operator_loc: (1,14)-(1,15) = "="
|
||||
|
@ -6,7 +6,7 @@
|
||||
└── @ ForNode (location: (1,0)-(1,28))
|
||||
├── index:
|
||||
│ @ MultiTargetNode (location: (1,4)-(1,8))
|
||||
│ ├── requireds: (length: 2)
|
||||
│ ├── lefts: (length: 2)
|
||||
│ │ ├── @ LocalVariableTargetNode (location: (1,4)-(1,5))
|
||||
│ │ │ ├── name: :a
|
||||
│ │ │ └── depth: 1
|
||||
@ -14,7 +14,7 @@
|
||||
│ │ ├── name: :b
|
||||
│ │ └── depth: 1
|
||||
│ ├── rest: ∅
|
||||
│ ├── posts: (length: 0)
|
||||
│ ├── rights: (length: 0)
|
||||
│ ├── lparen_loc: ∅
|
||||
│ └── rparen_loc: ∅
|
||||
├── collection:
|
||||
|
@ -11,7 +11,7 @@
|
||||
│ │ @ StatementsNode (location: (1,4)-(1,14))
|
||||
│ │ └── body: (length: 1)
|
||||
│ │ └── @ MultiWriteNode (location: (1,4)-(1,14))
|
||||
│ │ ├── requireds: (length: 2)
|
||||
│ │ ├── lefts: (length: 2)
|
||||
│ │ │ ├── @ LocalVariableTargetNode (location: (1,4)-(1,5))
|
||||
│ │ │ │ ├── name: :a
|
||||
│ │ │ │ └── depth: 0
|
||||
@ -19,7 +19,7 @@
|
||||
│ │ │ ├── name: :b
|
||||
│ │ │ └── depth: 0
|
||||
│ │ ├── rest: ∅
|
||||
│ │ ├── posts: (length: 0)
|
||||
│ │ ├── rights: (length: 0)
|
||||
│ │ ├── lparen_loc: ∅
|
||||
│ │ ├── rparen_loc: ∅
|
||||
│ │ ├── operator_loc: (1,9)-(1,10) = "="
|
||||
|
@ -4,7 +4,7 @@
|
||||
@ StatementsNode (location: (1,0)-(5,20))
|
||||
└── body: (length: 3)
|
||||
├── @ MultiWriteNode (location: (1,0)-(1,17))
|
||||
│ ├── requireds: (length: 2)
|
||||
│ ├── lefts: (length: 2)
|
||||
│ │ ├── @ LocalVariableTargetNode (location: (1,1)-(1,4))
|
||||
│ │ │ ├── name: :foo
|
||||
│ │ │ └── depth: 0
|
||||
@ -12,7 +12,7 @@
|
||||
│ │ ├── name: :bar
|
||||
│ │ └── depth: 0
|
||||
│ ├── rest: ∅
|
||||
│ ├── posts: (length: 0)
|
||||
│ ├── rights: (length: 0)
|
||||
│ ├── lparen_loc: (1,0)-(1,1) = "("
|
||||
│ ├── rparen_loc: (1,9)-(1,10) = ")"
|
||||
│ ├── operator_loc: (1,11)-(1,12) = "="
|
||||
@ -26,7 +26,7 @@
|
||||
│ ├── opening_loc: ∅
|
||||
│ └── closing_loc: ∅
|
||||
├── @ MultiWriteNode (location: (3,0)-(3,15))
|
||||
│ ├── requireds: (length: 2)
|
||||
│ ├── lefts: (length: 2)
|
||||
│ │ ├── @ LocalVariableTargetNode (location: (3,0)-(3,3))
|
||||
│ │ │ ├── name: :foo
|
||||
│ │ │ └── depth: 0
|
||||
@ -34,7 +34,7 @@
|
||||
│ │ ├── name: :bar
|
||||
│ │ └── depth: 0
|
||||
│ ├── rest: ∅
|
||||
│ ├── posts: (length: 0)
|
||||
│ ├── rights: (length: 0)
|
||||
│ ├── lparen_loc: ∅
|
||||
│ ├── rparen_loc: ∅
|
||||
│ ├── operator_loc: (3,9)-(3,10) = "="
|
||||
@ -48,7 +48,7 @@
|
||||
│ ├── opening_loc: ∅
|
||||
│ └── closing_loc: ∅
|
||||
└── @ MultiWriteNode (location: (5,0)-(5,20))
|
||||
├── requireds: (length: 3)
|
||||
├── lefts: (length: 3)
|
||||
│ ├── @ LocalVariableTargetNode (location: (5,0)-(5,3))
|
||||
│ │ ├── name: :foo
|
||||
│ │ └── depth: 0
|
||||
@ -59,7 +59,7 @@
|
||||
│ ├── name: :baz
|
||||
│ └── depth: 0
|
||||
├── rest: ∅
|
||||
├── posts: (length: 0)
|
||||
├── rights: (length: 0)
|
||||
├── lparen_loc: ∅
|
||||
├── rparen_loc: ∅
|
||||
├── operator_loc: (5,14)-(5,15) = "="
|
||||
|
@ -4,7 +4,7 @@
|
||||
@ StatementsNode (location: (1,0)-(5,18))
|
||||
└── body: (length: 3)
|
||||
├── @ MultiWriteNode (location: (1,0)-(1,17))
|
||||
│ ├── requireds: (length: 2)
|
||||
│ ├── lefts: (length: 2)
|
||||
│ │ ├── @ CallNode (location: (1,0)-(1,6))
|
||||
│ │ │ ├── receiver:
|
||||
│ │ │ │ @ SelfNode (location: (1,0)-(1,4))
|
||||
@ -20,7 +20,7 @@
|
||||
│ │ ├── name: :foo
|
||||
│ │ └── depth: 0
|
||||
│ ├── rest: ∅
|
||||
│ ├── posts: (length: 0)
|
||||
│ ├── rights: (length: 0)
|
||||
│ ├── lparen_loc: ∅
|
||||
│ ├── rparen_loc: ∅
|
||||
│ ├── operator_loc: (1,12)-(1,13) = "="
|
||||
@ -29,7 +29,7 @@
|
||||
│ ├── name: :foo
|
||||
│ └── depth: 0
|
||||
├── @ MultiWriteNode (location: (3,0)-(3,24))
|
||||
│ ├── requireds: (length: 2)
|
||||
│ ├── lefts: (length: 2)
|
||||
│ │ ├── @ CallNode (location: (3,0)-(3,6))
|
||||
│ │ │ ├── receiver:
|
||||
│ │ │ │ @ SelfNode (location: (3,0)-(3,4))
|
||||
@ -60,7 +60,7 @@
|
||||
│ │ ├── flags: ∅
|
||||
│ │ └── name: :[]=
|
||||
│ ├── rest: ∅
|
||||
│ ├── posts: (length: 0)
|
||||
│ ├── rights: (length: 0)
|
||||
│ ├── lparen_loc: ∅
|
||||
│ ├── rparen_loc: ∅
|
||||
│ ├── operator_loc: (3,19)-(3,20) = "="
|
||||
@ -69,7 +69,7 @@
|
||||
│ ├── name: :foo
|
||||
│ └── depth: 0
|
||||
└── @ MultiWriteNode (location: (5,0)-(5,18))
|
||||
├── requireds: (length: 2)
|
||||
├── lefts: (length: 2)
|
||||
│ ├── @ CallNode (location: (5,0)-(5,7))
|
||||
│ │ ├── receiver:
|
||||
│ │ │ @ SelfNode (location: (5,0)-(5,4))
|
||||
@ -85,7 +85,7 @@
|
||||
│ ├── name: :foo
|
||||
│ └── depth: 0
|
||||
├── rest: ∅
|
||||
├── posts: (length: 0)
|
||||
├── rights: (length: 0)
|
||||
├── lparen_loc: ∅
|
||||
├── rparen_loc: ∅
|
||||
├── operator_loc: (5,13)-(5,14) = "="
|
||||
|
@ -4,7 +4,7 @@
|
||||
@ StatementsNode (location: (1,0)-(1,16))
|
||||
└── body: (length: 1)
|
||||
└── @ MultiWriteNode (location: (1,0)-(1,16))
|
||||
├── requireds: (length: 2)
|
||||
├── lefts: (length: 2)
|
||||
│ ├── @ LocalVariableTargetNode (location: (1,0)-(1,3))
|
||||
│ │ ├── name: :foo
|
||||
│ │ └── depth: 0
|
||||
@ -12,7 +12,7 @@
|
||||
│ ├── name: :bar
|
||||
│ └── depth: 0
|
||||
├── rest: ∅
|
||||
├── posts: (length: 0)
|
||||
├── rights: (length: 0)
|
||||
├── lparen_loc: ∅
|
||||
├── rparen_loc: ∅
|
||||
├── operator_loc: (1,9)-(1,10) = "="
|
||||
|
@ -4,7 +4,7 @@
|
||||
@ StatementsNode (location: (1,0)-(3,18))
|
||||
└── body: (length: 2)
|
||||
├── @ MultiWriteNode (location: (1,0)-(1,14))
|
||||
│ ├── requireds: (length: 2)
|
||||
│ ├── lefts: (length: 2)
|
||||
│ │ ├── @ ConstantPathTargetNode (location: (1,0)-(1,3))
|
||||
│ │ │ ├── parent: ∅
|
||||
│ │ │ ├── child:
|
||||
@ -15,7 +15,7 @@
|
||||
│ │ ├── name: :foo
|
||||
│ │ └── depth: 0
|
||||
│ ├── rest: ∅
|
||||
│ ├── posts: (length: 0)
|
||||
│ ├── rights: (length: 0)
|
||||
│ ├── lparen_loc: ∅
|
||||
│ ├── rparen_loc: ∅
|
||||
│ ├── operator_loc: (1,9)-(1,10) = "="
|
||||
@ -24,7 +24,7 @@
|
||||
│ ├── name: :foo
|
||||
│ └── depth: 0
|
||||
└── @ MultiWriteNode (location: (3,0)-(3,18))
|
||||
├── requireds: (length: 2)
|
||||
├── lefts: (length: 2)
|
||||
│ ├── @ ConstantPathTargetNode (location: (3,0)-(3,7))
|
||||
│ │ ├── parent:
|
||||
│ │ │ @ SelfNode (location: (3,0)-(3,4))
|
||||
@ -36,7 +36,7 @@
|
||||
│ ├── name: :foo
|
||||
│ └── depth: 0
|
||||
├── rest: ∅
|
||||
├── posts: (length: 0)
|
||||
├── rights: (length: 0)
|
||||
├── lparen_loc: ∅
|
||||
├── rparen_loc: ∅
|
||||
├── operator_loc: (3,13)-(3,14) = "="
|
||||
|
@ -4,9 +4,9 @@
|
||||
@ StatementsNode (location: (1,0)-(3,15))
|
||||
└── body: (length: 2)
|
||||
├── @ MultiWriteNode (location: (1,0)-(1,13))
|
||||
│ ├── requireds: (length: 1)
|
||||
│ ├── lefts: (length: 1)
|
||||
│ │ └── @ MultiTargetNode (location: (1,1)-(1,6))
|
||||
│ │ ├── requireds: (length: 1)
|
||||
│ │ ├── lefts: (length: 1)
|
||||
│ │ │ └── @ LocalVariableTargetNode (location: (1,2)-(1,3))
|
||||
│ │ │ ├── name: :b
|
||||
│ │ │ └── depth: 0
|
||||
@ -14,11 +14,11 @@
|
||||
│ │ │ @ SplatNode (location: (1,3)-(1,4))
|
||||
│ │ │ ├── operator_loc: (1,3)-(1,4) = ","
|
||||
│ │ │ └── expression: ∅
|
||||
│ │ ├── posts: (length: 0)
|
||||
│ │ ├── rights: (length: 0)
|
||||
│ │ ├── lparen_loc: (1,1)-(1,2) = "("
|
||||
│ │ └── rparen_loc: (1,5)-(1,6) = ")"
|
||||
│ ├── rest: ∅
|
||||
│ ├── posts: (length: 0)
|
||||
│ ├── rights: (length: 0)
|
||||
│ ├── lparen_loc: (1,0)-(1,1) = "("
|
||||
│ ├── rparen_loc: (1,6)-(1,7) = ")"
|
||||
│ ├── operator_loc: (1,8)-(1,9) = "="
|
||||
@ -34,12 +34,12 @@
|
||||
│ ├── flags: variable_call
|
||||
│ └── name: :foo
|
||||
└── @ MultiWriteNode (location: (3,0)-(3,15))
|
||||
├── requireds: (length: 2)
|
||||
├── lefts: (length: 2)
|
||||
│ ├── @ LocalVariableTargetNode (location: (3,0)-(3,1))
|
||||
│ │ ├── name: :a
|
||||
│ │ └── depth: 0
|
||||
│ └── @ MultiTargetNode (location: (3,3)-(3,9))
|
||||
│ ├── requireds: (length: 2)
|
||||
│ ├── lefts: (length: 2)
|
||||
│ │ ├── @ LocalVariableTargetNode (location: (3,4)-(3,5))
|
||||
│ │ │ ├── name: :b
|
||||
│ │ │ └── depth: 0
|
||||
@ -47,11 +47,11 @@
|
||||
│ │ ├── name: :c
|
||||
│ │ └── depth: 0
|
||||
│ ├── rest: ∅
|
||||
│ ├── posts: (length: 0)
|
||||
│ ├── rights: (length: 0)
|
||||
│ ├── lparen_loc: (3,3)-(3,4) = "("
|
||||
│ └── rparen_loc: (3,8)-(3,9) = ")"
|
||||
├── rest: ∅
|
||||
├── posts: (length: 0)
|
||||
├── rights: (length: 0)
|
||||
├── lparen_loc: ∅
|
||||
├── rparen_loc: ∅
|
||||
├── operator_loc: (3,10)-(3,11) = "="
|
||||
|
@ -4,12 +4,12 @@
|
||||
@ StatementsNode (location: (1,0)-(19,16))
|
||||
└── body: (length: 10)
|
||||
├── @ MultiWriteNode (location: (1,0)-(1,7))
|
||||
│ ├── requireds: (length: 0)
|
||||
│ ├── lefts: (length: 0)
|
||||
│ ├── rest:
|
||||
│ │ @ SplatNode (location: (1,0)-(1,1))
|
||||
│ │ ├── operator_loc: (1,0)-(1,1) = "*"
|
||||
│ │ └── expression: ∅
|
||||
│ ├── posts: (length: 0)
|
||||
│ ├── rights: (length: 0)
|
||||
│ ├── lparen_loc: ∅
|
||||
│ ├── rparen_loc: ∅
|
||||
│ ├── operator_loc: (1,2)-(1,3) = "="
|
||||
@ -25,12 +25,12 @@
|
||||
│ ├── flags: variable_call
|
||||
│ └── name: :bar
|
||||
├── @ MultiWriteNode (location: (3,0)-(3,13))
|
||||
│ ├── requireds: (length: 0)
|
||||
│ ├── lefts: (length: 0)
|
||||
│ ├── rest:
|
||||
│ │ @ SplatNode (location: (3,0)-(3,1))
|
||||
│ │ ├── operator_loc: (3,0)-(3,1) = "*"
|
||||
│ │ └── expression: ∅
|
||||
│ ├── posts: (length: 2)
|
||||
│ ├── rights: (length: 2)
|
||||
│ │ ├── @ LocalVariableTargetNode (location: (3,3)-(3,4))
|
||||
│ │ │ ├── name: :c
|
||||
│ │ │ └── depth: 0
|
||||
@ -52,7 +52,7 @@
|
||||
│ ├── flags: variable_call
|
||||
│ └── name: :bar
|
||||
├── @ MultiWriteNode (location: (5,0)-(5,8))
|
||||
│ ├── requireds: (length: 0)
|
||||
│ ├── lefts: (length: 0)
|
||||
│ ├── rest:
|
||||
│ │ @ SplatNode (location: (5,0)-(5,2))
|
||||
│ │ ├── operator_loc: (5,0)-(5,1) = "*"
|
||||
@ -60,7 +60,7 @@
|
||||
│ │ @ LocalVariableTargetNode (location: (5,1)-(5,2))
|
||||
│ │ ├── name: :b
|
||||
│ │ └── depth: 0
|
||||
│ ├── posts: (length: 0)
|
||||
│ ├── rights: (length: 0)
|
||||
│ ├── lparen_loc: ∅
|
||||
│ ├── rparen_loc: ∅
|
||||
│ ├── operator_loc: (5,3)-(5,4) = "="
|
||||
@ -76,7 +76,7 @@
|
||||
│ ├── flags: variable_call
|
||||
│ └── name: :bar
|
||||
├── @ MultiWriteNode (location: (7,0)-(7,11))
|
||||
│ ├── requireds: (length: 0)
|
||||
│ ├── lefts: (length: 0)
|
||||
│ ├── rest:
|
||||
│ │ @ SplatNode (location: (7,0)-(7,2))
|
||||
│ │ ├── operator_loc: (7,0)-(7,1) = "*"
|
||||
@ -84,7 +84,7 @@
|
||||
│ │ @ LocalVariableTargetNode (location: (7,1)-(7,2))
|
||||
│ │ ├── name: :b
|
||||
│ │ └── depth: 0
|
||||
│ ├── posts: (length: 1)
|
||||
│ ├── rights: (length: 1)
|
||||
│ │ └── @ LocalVariableTargetNode (location: (7,4)-(7,5))
|
||||
│ │ ├── name: :c
|
||||
│ │ └── depth: 0
|
||||
@ -103,13 +103,13 @@
|
||||
│ ├── flags: variable_call
|
||||
│ └── name: :bar
|
||||
├── @ MultiWriteNode (location: (9,0)-(9,18))
|
||||
│ ├── requireds: (length: 2)
|
||||
│ ├── lefts: (length: 2)
|
||||
│ │ ├── @ InstanceVariableTargetNode (location: (9,0)-(9,4))
|
||||
│ │ │ └── name: :@foo
|
||||
│ │ └── @ ClassVariableTargetNode (location: (9,6)-(9,11))
|
||||
│ │ └── name: :@@bar
|
||||
│ ├── rest: ∅
|
||||
│ ├── posts: (length: 0)
|
||||
│ ├── rights: (length: 0)
|
||||
│ ├── lparen_loc: ∅
|
||||
│ ├── rparen_loc: ∅
|
||||
│ ├── operator_loc: (9,12)-(9,13) = "="
|
||||
@ -132,7 +132,7 @@
|
||||
│ ├── opening_loc: ∅
|
||||
│ └── closing_loc: ∅
|
||||
├── @ MultiWriteNode (location: (11,0)-(11,10))
|
||||
│ ├── requireds: (length: 1)
|
||||
│ ├── lefts: (length: 1)
|
||||
│ │ └── @ LocalVariableTargetNode (location: (11,0)-(11,1))
|
||||
│ │ ├── name: :a
|
||||
│ │ └── depth: 0
|
||||
@ -140,7 +140,7 @@
|
||||
│ │ @ SplatNode (location: (11,3)-(11,4))
|
||||
│ │ ├── operator_loc: (11,3)-(11,4) = "*"
|
||||
│ │ └── expression: ∅
|
||||
│ ├── posts: (length: 0)
|
||||
│ ├── rights: (length: 0)
|
||||
│ ├── lparen_loc: ∅
|
||||
│ ├── rparen_loc: ∅
|
||||
│ ├── operator_loc: (11,5)-(11,6) = "="
|
||||
@ -156,7 +156,7 @@
|
||||
│ ├── flags: variable_call
|
||||
│ └── name: :bar
|
||||
├── @ MultiWriteNode (location: (13,0)-(13,13))
|
||||
│ ├── requireds: (length: 1)
|
||||
│ ├── lefts: (length: 1)
|
||||
│ │ └── @ LocalVariableTargetNode (location: (13,0)-(13,1))
|
||||
│ │ ├── name: :a
|
||||
│ │ └── depth: 0
|
||||
@ -164,7 +164,7 @@
|
||||
│ │ @ SplatNode (location: (13,3)-(13,4))
|
||||
│ │ ├── operator_loc: (13,3)-(13,4) = "*"
|
||||
│ │ └── expression: ∅
|
||||
│ ├── posts: (length: 1)
|
||||
│ ├── rights: (length: 1)
|
||||
│ │ └── @ LocalVariableTargetNode (location: (13,6)-(13,7))
|
||||
│ │ ├── name: :c
|
||||
│ │ └── depth: 0
|
||||
@ -183,7 +183,7 @@
|
||||
│ ├── flags: variable_call
|
||||
│ └── name: :bar
|
||||
├── @ MultiWriteNode (location: (15,0)-(15,11))
|
||||
│ ├── requireds: (length: 1)
|
||||
│ ├── lefts: (length: 1)
|
||||
│ │ └── @ LocalVariableTargetNode (location: (15,0)-(15,1))
|
||||
│ │ ├── name: :a
|
||||
│ │ └── depth: 0
|
||||
@ -194,7 +194,7 @@
|
||||
│ │ @ LocalVariableTargetNode (location: (15,4)-(15,5))
|
||||
│ │ ├── name: :b
|
||||
│ │ └── depth: 0
|
||||
│ ├── posts: (length: 0)
|
||||
│ ├── rights: (length: 0)
|
||||
│ ├── lparen_loc: ∅
|
||||
│ ├── rparen_loc: ∅
|
||||
│ ├── operator_loc: (15,6)-(15,7) = "="
|
||||
@ -210,7 +210,7 @@
|
||||
│ ├── flags: variable_call
|
||||
│ └── name: :bar
|
||||
├── @ MultiWriteNode (location: (17,0)-(17,14))
|
||||
│ ├── requireds: (length: 1)
|
||||
│ ├── lefts: (length: 1)
|
||||
│ │ └── @ LocalVariableTargetNode (location: (17,0)-(17,1))
|
||||
│ │ ├── name: :a
|
||||
│ │ └── depth: 0
|
||||
@ -221,7 +221,7 @@
|
||||
│ │ @ LocalVariableTargetNode (location: (17,4)-(17,5))
|
||||
│ │ ├── name: :b
|
||||
│ │ └── depth: 0
|
||||
│ ├── posts: (length: 1)
|
||||
│ ├── rights: (length: 1)
|
||||
│ │ └── @ LocalVariableTargetNode (location: (17,7)-(17,8))
|
||||
│ │ ├── name: :c
|
||||
│ │ └── depth: 0
|
||||
@ -240,7 +240,7 @@
|
||||
│ ├── flags: variable_call
|
||||
│ └── name: :bar
|
||||
└── @ MultiWriteNode (location: (19,0)-(19,16))
|
||||
├── requireds: (length: 2)
|
||||
├── lefts: (length: 2)
|
||||
│ ├── @ LocalVariableTargetNode (location: (19,0)-(19,1))
|
||||
│ │ ├── name: :a
|
||||
│ │ └── depth: 0
|
||||
@ -248,7 +248,7 @@
|
||||
│ ├── name: :b
|
||||
│ └── depth: 0
|
||||
├── rest: ∅
|
||||
├── posts: (length: 0)
|
||||
├── rights: (length: 0)
|
||||
├── lparen_loc: ∅
|
||||
├── rparen_loc: ∅
|
||||
├── operator_loc: (19,5)-(19,6) = "="
|
||||
|
@ -10,7 +10,7 @@
|
||||
│ │ @ StatementsNode (location: (1,2)-(1,12))
|
||||
│ │ └── body: (length: 1)
|
||||
│ │ └── @ MultiWriteNode (location: (1,2)-(1,12))
|
||||
│ │ ├── requireds: (length: 2)
|
||||
│ │ ├── lefts: (length: 2)
|
||||
│ │ │ ├── @ LocalVariableTargetNode (location: (1,2)-(1,3))
|
||||
│ │ │ │ ├── name: :a
|
||||
│ │ │ │ └── depth: 0
|
||||
@ -18,7 +18,7 @@
|
||||
│ │ │ ├── name: :b
|
||||
│ │ │ └── depth: 0
|
||||
│ │ ├── rest: ∅
|
||||
│ │ ├── posts: (length: 0)
|
||||
│ │ ├── rights: (length: 0)
|
||||
│ │ ├── lparen_loc: ∅
|
||||
│ │ ├── rparen_loc: ∅
|
||||
│ │ ├── operator_loc: (1,7)-(1,8) = "="
|
||||
|
@ -19,13 +19,13 @@
|
||||
│ │ │ │ @ ParametersNode (location: (1,5)-(1,15))
|
||||
│ │ │ │ ├── requireds: (length: 1)
|
||||
│ │ │ │ │ └── @ MultiTargetNode (location: (1,5)-(1,15))
|
||||
│ │ │ │ │ ├── requireds: (length: 2)
|
||||
│ │ │ │ │ ├── lefts: (length: 2)
|
||||
│ │ │ │ │ │ ├── @ RequiredParameterNode (location: (1,6)-(1,9))
|
||||
│ │ │ │ │ │ │ └── name: :foo
|
||||
│ │ │ │ │ │ └── @ RequiredParameterNode (location: (1,11)-(1,14))
|
||||
│ │ │ │ │ │ └── name: :bar
|
||||
│ │ │ │ │ ├── rest: ∅
|
||||
│ │ │ │ │ ├── posts: (length: 0)
|
||||
│ │ │ │ │ ├── rights: (length: 0)
|
||||
│ │ │ │ │ ├── lparen_loc: (1,5)-(1,6) = "("
|
||||
│ │ │ │ │ └── rparen_loc: (1,14)-(1,15) = ")"
|
||||
│ │ │ │ ├── optionals: (length: 0)
|
||||
|
@ -4,7 +4,7 @@
|
||||
@ StatementsNode (location: (1,0)-(1,29))
|
||||
└── body: (length: 1)
|
||||
└── @ MultiWriteNode (location: (1,0)-(1,29))
|
||||
├── requireds: (length: 2)
|
||||
├── lefts: (length: 2)
|
||||
│ ├── @ LocalVariableTargetNode (location: (1,0)-(1,3))
|
||||
│ │ ├── name: :foo
|
||||
│ │ └── depth: 0
|
||||
@ -12,7 +12,7 @@
|
||||
│ ├── name: :bar
|
||||
│ └── depth: 0
|
||||
├── rest: ∅
|
||||
├── posts: (length: 0)
|
||||
├── rights: (length: 0)
|
||||
├── lparen_loc: ∅
|
||||
├── rparen_loc: ∅
|
||||
├── operator_loc: (1,9)-(1,10) = "="
|
||||
|
Loading…
x
Reference in New Issue
Block a user