mirror of
https://github.com/github/semantic.git
synced 2024-12-29 09:55:52 +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
|
{+(Program
|
||||||
(For
|
(For
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Identifier)
|
(Other "in"
|
||||||
|
(Identifier))
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(For
|
(For
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Identifier)
|
(Other "in"
|
||||||
|
(Identifier))
|
||||||
(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
|
{+(Program
|
||||||
(For
|
(For
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(ArrayLiteral
|
(Other "in"
|
||||||
(IntegerLiteral)
|
(ArrayLiteral
|
||||||
(IntegerLiteral)
|
(IntegerLiteral)
|
||||||
(IntegerLiteral))
|
(IntegerLiteral)
|
||||||
|
(IntegerLiteral)))
|
||||||
(MethodCall
|
(MethodCall
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(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
|
{-(Program
|
||||||
(For
|
(For
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Identifier)
|
(Other "in"
|
||||||
|
(Identifier))
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(For
|
(For
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Identifier)
|
(Other "in"
|
||||||
|
(Identifier))
|
||||||
(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
|
{-(Program
|
||||||
(For
|
(For
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(ArrayLiteral
|
(Other "in"
|
||||||
(IntegerLiteral)
|
(ArrayLiteral
|
||||||
(IntegerLiteral)
|
(IntegerLiteral)
|
||||||
(IntegerLiteral))
|
(IntegerLiteral)
|
||||||
|
(IntegerLiteral)))
|
||||||
(MethodCall
|
(MethodCall
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(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
|
(For
|
||||||
{ (Identifier)
|
{ (Identifier)
|
||||||
->(Identifier) }
|
->(Identifier) }
|
||||||
{ (Identifier)
|
(Other "in"
|
||||||
->(ArrayLiteral
|
{+(ArrayLiteral
|
||||||
(IntegerLiteral)
|
(IntegerLiteral)
|
||||||
(IntegerLiteral)
|
(IntegerLiteral)
|
||||||
(IntegerLiteral)) }
|
(IntegerLiteral))+}
|
||||||
|
{-(Identifier)-})
|
||||||
{ (Identifier)
|
{ (Identifier)
|
||||||
->(MethodCall
|
->(MethodCall
|
||||||
(Identifier)
|
(Identifier)
|
||||||
@ -14,5 +15,6 @@
|
|||||||
{-(For
|
{-(For
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Identifier)
|
(Other "in"
|
||||||
|
(Identifier))
|
||||||
(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
|
(For
|
||||||
{ (Identifier)
|
{ (Identifier)
|
||||||
->(Identifier) }
|
->(Identifier) }
|
||||||
{ (ArrayLiteral
|
(Other "in"
|
||||||
(IntegerLiteral)
|
{+(Identifier)+}
|
||||||
(IntegerLiteral)
|
{-(ArrayLiteral
|
||||||
(IntegerLiteral))
|
(IntegerLiteral)
|
||||||
->(Identifier) }
|
(IntegerLiteral)
|
||||||
|
(IntegerLiteral))-})
|
||||||
{ (MethodCall
|
{ (MethodCall
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Identifier))
|
(Identifier))
|
||||||
@ -14,5 +15,6 @@
|
|||||||
{+(For
|
{+(For
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Identifier)
|
(Other "in"
|
||||||
|
(Identifier))
|
||||||
(Identifier))+})
|
(Identifier))+})
|
||||||
|
6
test/fixtures/ruby/for.parseA.txt
vendored
6
test/fixtures/ruby/for.parseA.txt
vendored
@ -1,10 +1,12 @@
|
|||||||
(Program
|
(Program
|
||||||
(For
|
(For
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Identifier)
|
(Other "in"
|
||||||
|
(Identifier))
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(For
|
(For
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Identifier)
|
(Other "in"
|
||||||
|
(Identifier))
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
|
9
test/fixtures/ruby/for.parseB.txt
vendored
9
test/fixtures/ruby/for.parseB.txt
vendored
@ -1,10 +1,11 @@
|
|||||||
(Program
|
(Program
|
||||||
(For
|
(For
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(ArrayLiteral
|
(Other "in"
|
||||||
(IntegerLiteral)
|
(ArrayLiteral
|
||||||
(IntegerLiteral)
|
(IntegerLiteral)
|
||||||
(IntegerLiteral))
|
(IntegerLiteral)
|
||||||
|
(IntegerLiteral)))
|
||||||
(MethodCall
|
(MethodCall
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Identifier))))
|
(Identifier))))
|
||||||
|
Loading…
Reference in New Issue
Block a user