mirror of
https://github.com/github/semantic.git
synced 2024-12-28 17:32:05 +03:00
Bump the examples for for/in nodes.
This commit is contained in:
parent
bea008329b
commit
a8b98b9892
6
test/fixtures/ruby/for.diff+A.txt
vendored
6
test/fixtures/ruby/for.diff+A.txt
vendored
@ -1,10 +1,12 @@
|
||||
{+(Program
|
||||
(For
|
||||
(Identifier)
|
||||
(Identifier)
|
||||
(Other "in"
|
||||
(Identifier))
|
||||
(Identifier))
|
||||
(For
|
||||
(Identifier)
|
||||
(Identifier)
|
||||
(Identifier)
|
||||
(Other "in"
|
||||
(Identifier))
|
||||
(Identifier)))+}
|
||||
|
9
test/fixtures/ruby/for.diff+B.txt
vendored
9
test/fixtures/ruby/for.diff+B.txt
vendored
@ -1,10 +1,11 @@
|
||||
{+(Program
|
||||
(For
|
||||
(Identifier)
|
||||
(ArrayLiteral
|
||||
(IntegerLiteral)
|
||||
(IntegerLiteral)
|
||||
(IntegerLiteral))
|
||||
(Other "in"
|
||||
(ArrayLiteral
|
||||
(IntegerLiteral)
|
||||
(IntegerLiteral)
|
||||
(IntegerLiteral)))
|
||||
(MethodCall
|
||||
(Identifier)
|
||||
(Identifier))))+}
|
||||
|
6
test/fixtures/ruby/for.diff-A.txt
vendored
6
test/fixtures/ruby/for.diff-A.txt
vendored
@ -1,10 +1,12 @@
|
||||
{-(Program
|
||||
(For
|
||||
(Identifier)
|
||||
(Identifier)
|
||||
(Other "in"
|
||||
(Identifier))
|
||||
(Identifier))
|
||||
(For
|
||||
(Identifier)
|
||||
(Identifier)
|
||||
(Identifier)
|
||||
(Other "in"
|
||||
(Identifier))
|
||||
(Identifier)))-}
|
||||
|
9
test/fixtures/ruby/for.diff-B.txt
vendored
9
test/fixtures/ruby/for.diff-B.txt
vendored
@ -1,10 +1,11 @@
|
||||
{-(Program
|
||||
(For
|
||||
(Identifier)
|
||||
(ArrayLiteral
|
||||
(IntegerLiteral)
|
||||
(IntegerLiteral)
|
||||
(IntegerLiteral))
|
||||
(Other "in"
|
||||
(ArrayLiteral
|
||||
(IntegerLiteral)
|
||||
(IntegerLiteral)
|
||||
(IntegerLiteral)))
|
||||
(MethodCall
|
||||
(Identifier)
|
||||
(Identifier))))-}
|
||||
|
14
test/fixtures/ruby/for.diffA-B.txt
vendored
14
test/fixtures/ruby/for.diffA-B.txt
vendored
@ -2,11 +2,12 @@
|
||||
(For
|
||||
{ (Identifier)
|
||||
->(Identifier) }
|
||||
{ (Identifier)
|
||||
->(ArrayLiteral
|
||||
(IntegerLiteral)
|
||||
(IntegerLiteral)
|
||||
(IntegerLiteral)) }
|
||||
(Other "in"
|
||||
{+(ArrayLiteral
|
||||
(IntegerLiteral)
|
||||
(IntegerLiteral)
|
||||
(IntegerLiteral))+}
|
||||
{-(Identifier)-})
|
||||
{ (Identifier)
|
||||
->(MethodCall
|
||||
(Identifier)
|
||||
@ -14,5 +15,6 @@
|
||||
{-(For
|
||||
(Identifier)
|
||||
(Identifier)
|
||||
(Identifier)
|
||||
(Other "in"
|
||||
(Identifier))
|
||||
(Identifier))-})
|
||||
|
14
test/fixtures/ruby/for.diffB-A.txt
vendored
14
test/fixtures/ruby/for.diffB-A.txt
vendored
@ -2,11 +2,12 @@
|
||||
(For
|
||||
{ (Identifier)
|
||||
->(Identifier) }
|
||||
{ (ArrayLiteral
|
||||
(IntegerLiteral)
|
||||
(IntegerLiteral)
|
||||
(IntegerLiteral))
|
||||
->(Identifier) }
|
||||
(Other "in"
|
||||
{+(Identifier)+}
|
||||
{-(ArrayLiteral
|
||||
(IntegerLiteral)
|
||||
(IntegerLiteral)
|
||||
(IntegerLiteral))-})
|
||||
{ (MethodCall
|
||||
(Identifier)
|
||||
(Identifier))
|
||||
@ -14,5 +15,6 @@
|
||||
{+(For
|
||||
(Identifier)
|
||||
(Identifier)
|
||||
(Identifier)
|
||||
(Other "in"
|
||||
(Identifier))
|
||||
(Identifier))+})
|
||||
|
6
test/fixtures/ruby/for.parseA.txt
vendored
6
test/fixtures/ruby/for.parseA.txt
vendored
@ -1,10 +1,12 @@
|
||||
(Program
|
||||
(For
|
||||
(Identifier)
|
||||
(Identifier)
|
||||
(Other "in"
|
||||
(Identifier))
|
||||
(Identifier))
|
||||
(For
|
||||
(Identifier)
|
||||
(Identifier)
|
||||
(Identifier)
|
||||
(Other "in"
|
||||
(Identifier))
|
||||
(Identifier)))
|
||||
|
9
test/fixtures/ruby/for.parseB.txt
vendored
9
test/fixtures/ruby/for.parseB.txt
vendored
@ -1,10 +1,11 @@
|
||||
(Program
|
||||
(For
|
||||
(Identifier)
|
||||
(ArrayLiteral
|
||||
(IntegerLiteral)
|
||||
(IntegerLiteral)
|
||||
(IntegerLiteral))
|
||||
(Other "in"
|
||||
(ArrayLiteral
|
||||
(IntegerLiteral)
|
||||
(IntegerLiteral)
|
||||
(IntegerLiteral)))
|
||||
(MethodCall
|
||||
(Identifier)
|
||||
(Identifier))))
|
||||
|
Loading…
Reference in New Issue
Block a user