1
1
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:
Rob Rix 2017-08-14 20:56:11 -04:00
parent bea008329b
commit a8b98b9892
8 changed files with 43 additions and 30 deletions

View File

@ -1,10 +1,12 @@
{+(Program
(For
(Identifier)
(Identifier)
(Other "in"
(Identifier))
(Identifier))
(For
(Identifier)
(Identifier)
(Identifier)
(Other "in"
(Identifier))
(Identifier)))+}

View File

@ -1,10 +1,11 @@
{+(Program
(For
(Identifier)
(ArrayLiteral
(IntegerLiteral)
(IntegerLiteral)
(IntegerLiteral))
(Other "in"
(ArrayLiteral
(IntegerLiteral)
(IntegerLiteral)
(IntegerLiteral)))
(MethodCall
(Identifier)
(Identifier))))+}

View File

@ -1,10 +1,12 @@
{-(Program
(For
(Identifier)
(Identifier)
(Other "in"
(Identifier))
(Identifier))
(For
(Identifier)
(Identifier)
(Identifier)
(Other "in"
(Identifier))
(Identifier)))-}

View File

@ -1,10 +1,11 @@
{-(Program
(For
(Identifier)
(ArrayLiteral
(IntegerLiteral)
(IntegerLiteral)
(IntegerLiteral))
(Other "in"
(ArrayLiteral
(IntegerLiteral)
(IntegerLiteral)
(IntegerLiteral)))
(MethodCall
(Identifier)
(Identifier))))-}

View File

@ -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))-})

View File

@ -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))+})

View File

@ -1,10 +1,12 @@
(Program
(For
(Identifier)
(Identifier)
(Other "in"
(Identifier))
(Identifier))
(For
(Identifier)
(Identifier)
(Identifier)
(Other "in"
(Identifier))
(Identifier)))

View File

@ -1,10 +1,11 @@
(Program
(For
(Identifier)
(ArrayLiteral
(IntegerLiteral)
(IntegerLiteral)
(IntegerLiteral))
(Other "in"
(ArrayLiteral
(IntegerLiteral)
(IntegerLiteral)
(IntegerLiteral)))
(MethodCall
(Identifier)
(Identifier))))