mirror of
https://github.com/github/semantic.git
synced 2025-01-01 11:46:14 +03:00
regenerate diff fixtures
This commit is contained in:
parent
6f472596a5
commit
72ba35dd1d
@ -80,8 +80,8 @@ type Syntax = '[
|
||||
, Expression.MemberAccess
|
||||
, Expression.ScopeResolution
|
||||
, Expression.Subscript
|
||||
, Expression.This
|
||||
, Expression.Member
|
||||
, Expression.This
|
||||
, Literal.Array
|
||||
, Literal.Character
|
||||
, Literal.Complex
|
||||
|
12
test/fixtures/ruby/corpus/delimiter.diffA-B.txt
vendored
12
test/fixtures/ruby/corpus/delimiter.diffA-B.txt
vendored
@ -1,13 +1,13 @@
|
||||
(Statements
|
||||
{+(TextElement)+}
|
||||
{+(TextElement)+}
|
||||
{+(TextElement)+}
|
||||
{ (TextElement)
|
||||
->(TextElement) }
|
||||
{+(TextElement)+}
|
||||
{ (TextElement)
|
||||
->(TextElement) }
|
||||
{ (TextElement)
|
||||
->(TextElement) }
|
||||
{+(TextElement)+}
|
||||
{-(TextElement)-}
|
||||
{-(TextElement)-}
|
||||
{-(TextElement)-}
|
||||
{ (TextElement)
|
||||
->(TextElement) }
|
||||
{-(TextElement)-}
|
||||
{-(TextElement)-})
|
||||
|
10
test/fixtures/ruby/corpus/delimiter.diffB-A.txt
vendored
10
test/fixtures/ruby/corpus/delimiter.diffB-A.txt
vendored
@ -1,11 +1,11 @@
|
||||
(Statements
|
||||
{+(TextElement)+}
|
||||
{+(TextElement)+}
|
||||
{+(TextElement)+}
|
||||
{+(TextElement)+}
|
||||
{+(TextElement)+}
|
||||
{ (TextElement)
|
||||
->(TextElement) }
|
||||
{+(TextElement)+}
|
||||
{+(TextElement)+}
|
||||
{+(TextElement)+}
|
||||
{+(TextElement)+}
|
||||
{+(TextElement)+}
|
||||
{-(TextElement)-}
|
||||
{-(TextElement)-}
|
||||
{-(TextElement)-}
|
||||
|
37
test/fixtures/ruby/corpus/for.diffB-A.txt
vendored
37
test/fixtures/ruby/corpus/for.diffB-A.txt
vendored
@ -7,34 +7,33 @@
|
||||
{+(Identifier)+})+}
|
||||
{+(Send
|
||||
{+(Identifier)+})+})+}
|
||||
{+(ForEach
|
||||
{+(Statements
|
||||
{+(Send
|
||||
{+(Identifier)+})+}
|
||||
{+(Send
|
||||
{+(Identifier)+})+})+}
|
||||
{+(Send
|
||||
{+(Identifier)+})+}
|
||||
{+(Send
|
||||
{+(Identifier)+})+})+}
|
||||
(ForEach
|
||||
(Statements
|
||||
(Send
|
||||
{ (Identifier)
|
||||
->(Identifier) }))
|
||||
->(Identifier) })
|
||||
{+(Send
|
||||
{+(Identifier)+})+})
|
||||
{ (Array
|
||||
{-(Integer)-}
|
||||
{-(Integer)-}
|
||||
{-(Integer)-})
|
||||
->(Enumeration
|
||||
{+(Integer)+}
|
||||
{+(Integer)+}
|
||||
{+(Empty)+}) }
|
||||
{ (Send
|
||||
{-(Identifier)-}
|
||||
->(Send
|
||||
{+(Identifier)+}) }
|
||||
(Send
|
||||
{ (Identifier)
|
||||
->(Identifier) }
|
||||
{-(Send
|
||||
{-(Identifier)-})-})
|
||||
->(Boolean) })
|
||||
{-(Identifier)-})-}))
|
||||
{+(ForEach
|
||||
{+(Statements
|
||||
{+(Send
|
||||
{+(Identifier)+})+})+}
|
||||
{+(Enumeration
|
||||
{+(Integer)+}
|
||||
{+(Integer)+}
|
||||
{+(Empty)+})+}
|
||||
{+(Boolean)+})+}
|
||||
{+(ForEach
|
||||
{+(Statements
|
||||
{+(Send
|
||||
|
11
test/fixtures/ruby/corpus/hash.diffA-B.txt
vendored
11
test/fixtures/ruby/corpus/hash.diffA-B.txt
vendored
@ -5,15 +5,14 @@
|
||||
->(SymbolElement) }
|
||||
{ (TextElement)
|
||||
->(TextElement) })
|
||||
{+(KeyValue
|
||||
{+(SymbolElement)+}
|
||||
{+(Integer)+})+}
|
||||
(KeyValue
|
||||
{ (SymbolElement)
|
||||
->(SymbolElement) }
|
||||
{ (Integer)
|
||||
->(Integer) })
|
||||
{+(KeyValue
|
||||
{+(SymbolElement)+}
|
||||
{+(Boolean)+})+}
|
||||
{-(KeyValue
|
||||
{-(SymbolElement)-}
|
||||
{-(Integer)-})-}
|
||||
{-(KeyValue
|
||||
{-(TextElement)-}
|
||||
{-(Boolean)-})-}
|
||||
|
10
test/fixtures/ruby/corpus/hash.diffB-A.txt
vendored
10
test/fixtures/ruby/corpus/hash.diffB-A.txt
vendored
@ -5,14 +5,14 @@
|
||||
->(SymbolElement) }
|
||||
{ (TextElement)
|
||||
->(TextElement) })
|
||||
{+(KeyValue
|
||||
{+(SymbolElement)+}
|
||||
{+(Integer)+})+}
|
||||
(KeyValue
|
||||
{ (SymbolElement)
|
||||
->(TextElement) }
|
||||
->(SymbolElement) }
|
||||
{ (Integer)
|
||||
->(Boolean) })
|
||||
->(Integer) })
|
||||
{+(KeyValue
|
||||
{+(TextElement)+}
|
||||
{+(Boolean)+})+}
|
||||
(KeyValue
|
||||
{ (SymbolElement)
|
||||
->(SymbolElement) }
|
||||
|
@ -1,21 +1,14 @@
|
||||
(Statements
|
||||
{+(Assignment
|
||||
{+(Statements
|
||||
{+(Identifier)+}
|
||||
{+(Identifier)+})+}
|
||||
{+(Array
|
||||
{+(Integer)+}
|
||||
{+(Integer)+}
|
||||
{+(Integer)+})+})+}
|
||||
{-(Assignment
|
||||
{-(Statements
|
||||
{-(Identifier)-}
|
||||
{-(Identifier)-}
|
||||
{-(Identifier)-})-}
|
||||
{-(Array
|
||||
{-(Integer)-}
|
||||
{-(Integer)-}
|
||||
{-(Integer)-})-})-}
|
||||
(Assignment
|
||||
(Statements
|
||||
(Identifier)
|
||||
{ (Identifier)
|
||||
->(Identifier) }
|
||||
{-(Identifier)-})
|
||||
(Array
|
||||
(Integer)
|
||||
(Integer)
|
||||
(Integer)))
|
||||
{-(Assignment
|
||||
{-(Statements
|
||||
{-(Identifier)-}
|
||||
|
@ -1,31 +1,28 @@
|
||||
(Statements
|
||||
{+(Assignment
|
||||
{+(Statements
|
||||
{+(Identifier)+}
|
||||
{+(Identifier)+}
|
||||
{+(Identifier)+})+}
|
||||
{+(Array
|
||||
{+(Integer)+}
|
||||
{+(Integer)+}
|
||||
{+(Integer)+})+})+}
|
||||
{+(Assignment
|
||||
{+(Statements
|
||||
{+(Identifier)+}
|
||||
{+(Identifier)+})+}
|
||||
{+(Array
|
||||
{+(Integer)+}
|
||||
{+(Integer)+})+})+}
|
||||
(Assignment
|
||||
(Statements
|
||||
(Identifier)
|
||||
{ (Identifier)
|
||||
->(Identifier) })
|
||||
->(Identifier) }
|
||||
{+(Identifier)+})
|
||||
(Array
|
||||
{ (Integer)
|
||||
->(Integer) }
|
||||
(Integer)
|
||||
(Integer)
|
||||
(Integer)))
|
||||
{+(Assignment
|
||||
{+(Statements
|
||||
{+(Identifier)+}
|
||||
{+(Identifier)+})+}
|
||||
{+(Array
|
||||
{+(Integer)+}
|
||||
{-(Integer)-}
|
||||
{-(Integer)-}))
|
||||
{+(Integer)+})+})+}
|
||||
{+(Assignment
|
||||
{+(Statements
|
||||
{+(Identifier)+}
|
||||
{+(Identifier)+})+}
|
||||
{+(Array
|
||||
{+(Integer)+}
|
||||
{+(Integer)+})+})+}
|
||||
{+(Assignment
|
||||
{+(Statements
|
||||
{+(Identifier)+}
|
||||
|
2
test/fixtures/ruby/corpus/number.diffB-A.txt
vendored
2
test/fixtures/ruby/corpus/number.diffB-A.txt
vendored
@ -1,11 +1,11 @@
|
||||
(Statements
|
||||
{+(Integer)+}
|
||||
{+(Integer)+}
|
||||
{+(Integer)+}
|
||||
{ (Integer)
|
||||
->(Integer) }
|
||||
{+(Integer)+}
|
||||
{+(Integer)+}
|
||||
{+(Integer)+}
|
||||
{+(Float)+}
|
||||
{-(Integer)-}
|
||||
{-(Integer)-}
|
||||
|
8
test/fixtures/ruby/corpus/symbol.diffA-B.txt
vendored
8
test/fixtures/ruby/corpus/symbol.diffA-B.txt
vendored
@ -1,7 +1,7 @@
|
||||
(Statements
|
||||
{ (SymbolElement)
|
||||
->(SymbolElement) }
|
||||
{ (SymbolElement)
|
||||
->(SymbolElement) }
|
||||
{ (SymbolElement)
|
||||
->(SymbolElement) })
|
||||
{+(SymbolElement)+}
|
||||
{+(SymbolElement)+}
|
||||
{-(SymbolElement)-}
|
||||
{-(SymbolElement)-})
|
||||
|
8
test/fixtures/ruby/corpus/symbol.diffB-A.txt
vendored
8
test/fixtures/ruby/corpus/symbol.diffB-A.txt
vendored
@ -1,7 +1,7 @@
|
||||
(Statements
|
||||
{ (SymbolElement)
|
||||
->(SymbolElement) }
|
||||
{ (SymbolElement)
|
||||
->(SymbolElement) }
|
||||
{ (SymbolElement)
|
||||
->(SymbolElement) })
|
||||
{+(SymbolElement)+}
|
||||
{+(SymbolElement)+}
|
||||
{-(SymbolElement)-}
|
||||
{-(SymbolElement)-})
|
||||
|
Loading…
Reference in New Issue
Block a user