mirror of
https://github.com/github/semantic.git
synced 2024-12-25 07:55:12 +03:00
Merge pull request #1321 from github/remove-unused-fixtures
🔥 these un-needed fixtures that duplicate parse expectations
This commit is contained in:
commit
b7daadf4cb
14
test/fixtures/go/array-types.diff+A.txt
vendored
14
test/fixtures/go/array-types.diff+A.txt
vendored
@ -1,14 +0,0 @@
|
||||
{+(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Other "type_declaration"
|
||||
(TypeDecl
|
||||
(Identifier)
|
||||
(ArrayTy
|
||||
(RelationalOperator
|
||||
(NumberLiteral)
|
||||
(NumberLiteral))
|
||||
(Identifier))))))+}
|
14
test/fixtures/go/array-types.diff-A.txt
vendored
14
test/fixtures/go/array-types.diff-A.txt
vendored
@ -1,14 +0,0 @@
|
||||
{-(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Other "type_declaration"
|
||||
(TypeDecl
|
||||
(Identifier)
|
||||
(ArrayTy
|
||||
(RelationalOperator
|
||||
(NumberLiteral)
|
||||
(NumberLiteral))
|
||||
(Identifier))))))-}
|
14
test/fixtures/go/array-types.diff-B.txt
vendored
14
test/fixtures/go/array-types.diff-B.txt
vendored
@ -1,14 +0,0 @@
|
||||
{-(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Other "type_declaration"
|
||||
(TypeDecl
|
||||
(Identifier)
|
||||
(ArrayTy
|
||||
(RelationalOperator
|
||||
(NumberLiteral)
|
||||
(NumberLiteral))
|
||||
(Identifier))))))-}
|
@ -1,16 +0,0 @@
|
||||
{+(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Other "const_declaration"
|
||||
(VarAssignment
|
||||
(Identifier)
|
||||
(Other "expression_list"
|
||||
(Other "composite_literal"
|
||||
(ArrayTy
|
||||
(Identifier))
|
||||
(NumberLiteral)
|
||||
(NumberLiteral)
|
||||
(NumberLiteral)))))))+}
|
@ -1,16 +0,0 @@
|
||||
{-(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Other "const_declaration"
|
||||
(VarAssignment
|
||||
(Identifier)
|
||||
(Other "expression_list"
|
||||
(Other "composite_literal"
|
||||
(ArrayTy
|
||||
(Identifier))
|
||||
(NumberLiteral)
|
||||
(NumberLiteral)
|
||||
(NumberLiteral)))))))-}
|
@ -1,16 +0,0 @@
|
||||
{-(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Other "const_declaration"
|
||||
(VarAssignment
|
||||
(Identifier)
|
||||
(Other "expression_list"
|
||||
(Other "composite_literal"
|
||||
(ArrayTy
|
||||
(Identifier))
|
||||
(NumberLiteral)
|
||||
(NumberLiteral)
|
||||
(NumberLiteral)))))))-}
|
@ -1,28 +0,0 @@
|
||||
{+(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Assignment
|
||||
(Other "expression_list"
|
||||
(Identifier))
|
||||
(Other "expression_list"
|
||||
(NumberLiteral)))
|
||||
(Assignment
|
||||
(Other "expression_list"
|
||||
(Identifier)
|
||||
(Identifier))
|
||||
(Other "expression_list"
|
||||
(NumberLiteral)
|
||||
(NumberLiteral)))
|
||||
(Assignment
|
||||
(Other "expression_list"
|
||||
(Identifier))
|
||||
(Other "expression_list"
|
||||
(NumberLiteral)))
|
||||
(Assignment
|
||||
(Other "expression_list"
|
||||
(Identifier))
|
||||
(Other "expression_list"
|
||||
(NumberLiteral)))))+}
|
@ -1,28 +0,0 @@
|
||||
{-(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Assignment
|
||||
(Other "expression_list"
|
||||
(Identifier))
|
||||
(Other "expression_list"
|
||||
(NumberLiteral)))
|
||||
(Assignment
|
||||
(Other "expression_list"
|
||||
(Identifier)
|
||||
(Identifier))
|
||||
(Other "expression_list"
|
||||
(NumberLiteral)
|
||||
(NumberLiteral)))
|
||||
(Assignment
|
||||
(Other "expression_list"
|
||||
(Identifier))
|
||||
(Other "expression_list"
|
||||
(NumberLiteral)))
|
||||
(Assignment
|
||||
(Other "expression_list"
|
||||
(Identifier))
|
||||
(Other "expression_list"
|
||||
(NumberLiteral)))))-}
|
@ -1,28 +0,0 @@
|
||||
{-(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Assignment
|
||||
(Other "expression_list"
|
||||
(Identifier))
|
||||
(Other "expression_list"
|
||||
(NumberLiteral)))
|
||||
(Assignment
|
||||
(Other "expression_list"
|
||||
(Identifier)
|
||||
(Identifier))
|
||||
(Other "expression_list"
|
||||
(NumberLiteral)
|
||||
(NumberLiteral)))
|
||||
(Assignment
|
||||
(Other "expression_list"
|
||||
(Identifier))
|
||||
(Other "expression_list"
|
||||
(NumberLiteral)))
|
||||
(Assignment
|
||||
(Other "expression_list"
|
||||
(Identifier))
|
||||
(Other "expression_list"
|
||||
(NumberLiteral)))))-}
|
18
test/fixtures/go/call-expressions.diff+A.txt
vendored
18
test/fixtures/go/call-expressions.diff+A.txt
vendored
@ -1,18 +0,0 @@
|
||||
{+(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(FunctionCall
|
||||
(Identifier)
|
||||
(Identifier)
|
||||
(Identifier))
|
||||
(FunctionCall
|
||||
(Identifier)
|
||||
(Identifier)
|
||||
(Identifier))
|
||||
(FunctionCall
|
||||
(Identifier)
|
||||
(Identifier)
|
||||
(Identifier))))+}
|
18
test/fixtures/go/call-expressions.diff-A.txt
vendored
18
test/fixtures/go/call-expressions.diff-A.txt
vendored
@ -1,18 +0,0 @@
|
||||
{-(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(FunctionCall
|
||||
(Identifier)
|
||||
(Identifier)
|
||||
(Identifier))
|
||||
(FunctionCall
|
||||
(Identifier)
|
||||
(Identifier)
|
||||
(Identifier))
|
||||
(FunctionCall
|
||||
(Identifier)
|
||||
(Identifier)
|
||||
(Identifier))))-}
|
18
test/fixtures/go/call-expressions.diff-B.txt
vendored
18
test/fixtures/go/call-expressions.diff-B.txt
vendored
@ -1,18 +0,0 @@
|
||||
{-(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(FunctionCall
|
||||
(Identifier)
|
||||
(Identifier)
|
||||
(Identifier))
|
||||
(FunctionCall
|
||||
(Identifier)
|
||||
(Identifier)
|
||||
(Identifier))
|
||||
(FunctionCall
|
||||
(Identifier)
|
||||
(Identifier)
|
||||
(Identifier))))-}
|
7
test/fixtures/go/case-statements.diff+A.txt
vendored
7
test/fixtures/go/case-statements.diff+A.txt
vendored
@ -1,7 +0,0 @@
|
||||
{+(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Switch)))+}
|
7
test/fixtures/go/case-statements.diff-A.txt
vendored
7
test/fixtures/go/case-statements.diff-A.txt
vendored
@ -1,7 +0,0 @@
|
||||
{-(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Switch)))-}
|
13
test/fixtures/go/case-statements.diff-B.txt
vendored
13
test/fixtures/go/case-statements.diff-B.txt
vendored
@ -1,13 +0,0 @@
|
||||
{-(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Switch
|
||||
(Case
|
||||
(Case
|
||||
(Other "expression_list"
|
||||
(Identifier)))
|
||||
(FunctionCall
|
||||
(Identifier))))))-}
|
22
test/fixtures/go/channel-types.diff+A.txt
vendored
22
test/fixtures/go/channel-types.diff+A.txt
vendored
@ -1,22 +0,0 @@
|
||||
{+(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Other "type_declaration"
|
||||
(TypeDecl
|
||||
(Identifier)
|
||||
(ChannelTy
|
||||
(ChannelTy
|
||||
(Identifier))))
|
||||
(TypeDecl
|
||||
(Identifier)
|
||||
(ChannelTy
|
||||
(ChannelTy
|
||||
(StructTy))))
|
||||
(TypeDecl
|
||||
(Identifier)
|
||||
(ChannelTy
|
||||
(ChannelTy
|
||||
(Identifier)))))))+}
|
22
test/fixtures/go/channel-types.diff-A.txt
vendored
22
test/fixtures/go/channel-types.diff-A.txt
vendored
@ -1,22 +0,0 @@
|
||||
{-(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Other "type_declaration"
|
||||
(TypeDecl
|
||||
(Identifier)
|
||||
(ChannelTy
|
||||
(ChannelTy
|
||||
(Identifier))))
|
||||
(TypeDecl
|
||||
(Identifier)
|
||||
(ChannelTy
|
||||
(ChannelTy
|
||||
(StructTy))))
|
||||
(TypeDecl
|
||||
(Identifier)
|
||||
(ChannelTy
|
||||
(ChannelTy
|
||||
(Identifier)))))))-}
|
22
test/fixtures/go/channel-types.diff-B.txt
vendored
22
test/fixtures/go/channel-types.diff-B.txt
vendored
@ -1,22 +0,0 @@
|
||||
{-(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Other "type_declaration"
|
||||
(TypeDecl
|
||||
(Identifier)
|
||||
(ChannelTy
|
||||
(ChannelTy
|
||||
(Identifier))))
|
||||
(TypeDecl
|
||||
(Identifier)
|
||||
(ChannelTy
|
||||
(ChannelTy
|
||||
(StructTy))))
|
||||
(TypeDecl
|
||||
(Identifier)
|
||||
(ChannelTy
|
||||
(ChannelTy
|
||||
(Identifier)))))))-}
|
7
test/fixtures/go/comment.diff+A.txt
vendored
7
test/fixtures/go/comment.diff+A.txt
vendored
@ -1,7 +0,0 @@
|
||||
{+(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Comment)))+}
|
7
test/fixtures/go/comment.diff-A.txt
vendored
7
test/fixtures/go/comment.diff-A.txt
vendored
@ -1,7 +0,0 @@
|
||||
{-(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Comment)))-}
|
7
test/fixtures/go/comment.diff-B.txt
vendored
7
test/fixtures/go/comment.diff-B.txt
vendored
@ -1,7 +0,0 @@
|
||||
{-(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Comment)))-}
|
@ -1,12 +0,0 @@
|
||||
{+(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Other "const_declaration"
|
||||
(VarAssignment
|
||||
(Identifier)
|
||||
(Identifier)
|
||||
(Other "expression_list"
|
||||
(NumberLiteral))))))+}
|
@ -1,12 +0,0 @@
|
||||
{-(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Other "const_declaration"
|
||||
(VarAssignment
|
||||
(Identifier)
|
||||
(Identifier)
|
||||
(Other "expression_list"
|
||||
(NumberLiteral))))))-}
|
@ -1,14 +0,0 @@
|
||||
{-(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Other "const_declaration"
|
||||
(VarAssignment
|
||||
(Identifier)
|
||||
(Identifier)
|
||||
(Identifier)
|
||||
(Other "expression_list"
|
||||
(NumberLiteral)
|
||||
(NumberLiteral))))))-}
|
@ -1,11 +0,0 @@
|
||||
{+(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Other "const_declaration"
|
||||
(VarAssignment
|
||||
(Identifier)
|
||||
(Other "expression_list"
|
||||
(NumberLiteral))))))+}
|
@ -1,11 +0,0 @@
|
||||
{-(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Other "const_declaration"
|
||||
(VarAssignment
|
||||
(Identifier)
|
||||
(Other "expression_list"
|
||||
(NumberLiteral))))))-}
|
@ -1,13 +0,0 @@
|
||||
{-(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Other "const_declaration"
|
||||
(VarAssignment
|
||||
(Identifier)
|
||||
(Identifier)
|
||||
(Other "expression_list"
|
||||
(NumberLiteral)
|
||||
(NumberLiteral))))))-}
|
@ -1,15 +0,0 @@
|
||||
{+(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Other "const_declaration"
|
||||
(VarAssignment
|
||||
(Identifier)
|
||||
(Other "expression_list"
|
||||
(Identifier)))
|
||||
(VarAssignment
|
||||
(Identifier))
|
||||
(VarAssignment
|
||||
(Identifier)))))+}
|
@ -1,15 +0,0 @@
|
||||
{-(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Other "const_declaration"
|
||||
(VarAssignment
|
||||
(Identifier)
|
||||
(Other "expression_list"
|
||||
(Identifier)))
|
||||
(VarAssignment
|
||||
(Identifier))
|
||||
(VarAssignment
|
||||
(Identifier)))))-}
|
@ -1,15 +0,0 @@
|
||||
{-(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Other "const_declaration"
|
||||
(VarAssignment
|
||||
(Identifier)
|
||||
(Other "expression_list"
|
||||
(Identifier)))
|
||||
(VarAssignment
|
||||
(Identifier))
|
||||
(VarAssignment
|
||||
(Identifier)))))-}
|
28
test/fixtures/go/constructors.diff+A.txt
vendored
28
test/fixtures/go/constructors.diff+A.txt
vendored
@ -1,28 +0,0 @@
|
||||
{+(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(FunctionCall
|
||||
(Identifier)
|
||||
(ChannelTy
|
||||
(Identifier)))
|
||||
(FunctionCall
|
||||
(Identifier)
|
||||
(ChannelTy
|
||||
(Identifier))
|
||||
(RelationalOperator
|
||||
(Identifier)
|
||||
(Identifier)))
|
||||
(FunctionCall
|
||||
(Identifier)
|
||||
(ChannelTy
|
||||
(Identifier))
|
||||
(NumberLiteral)
|
||||
(NumberLiteral))
|
||||
(FunctionCall
|
||||
(Identifier)
|
||||
(DictionaryTy
|
||||
(Identifier)
|
||||
(Identifier)))))+}
|
28
test/fixtures/go/constructors.diff-A.txt
vendored
28
test/fixtures/go/constructors.diff-A.txt
vendored
@ -1,28 +0,0 @@
|
||||
{-(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(FunctionCall
|
||||
(Identifier)
|
||||
(ChannelTy
|
||||
(Identifier)))
|
||||
(FunctionCall
|
||||
(Identifier)
|
||||
(ChannelTy
|
||||
(Identifier))
|
||||
(RelationalOperator
|
||||
(Identifier)
|
||||
(Identifier)))
|
||||
(FunctionCall
|
||||
(Identifier)
|
||||
(ChannelTy
|
||||
(Identifier))
|
||||
(NumberLiteral)
|
||||
(NumberLiteral))
|
||||
(FunctionCall
|
||||
(Identifier)
|
||||
(DictionaryTy
|
||||
(Identifier)
|
||||
(Identifier)))))-}
|
28
test/fixtures/go/constructors.diff-B.txt
vendored
28
test/fixtures/go/constructors.diff-B.txt
vendored
@ -1,28 +0,0 @@
|
||||
{-(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(FunctionCall
|
||||
(Identifier)
|
||||
(ChannelTy
|
||||
(Identifier)))
|
||||
(FunctionCall
|
||||
(Identifier)
|
||||
(ChannelTy
|
||||
(Identifier))
|
||||
(RelationalOperator
|
||||
(Identifier)
|
||||
(Identifier)))
|
||||
(FunctionCall
|
||||
(Identifier)
|
||||
(ChannelTy
|
||||
(Identifier))
|
||||
(NumberLiteral)
|
||||
(NumberLiteral))
|
||||
(FunctionCall
|
||||
(Identifier)
|
||||
(DictionaryTy
|
||||
(Identifier)
|
||||
(Identifier)))))-}
|
31
test/fixtures/go/float-literals.diff+A.txt
vendored
31
test/fixtures/go/float-literals.diff+A.txt
vendored
@ -1,31 +0,0 @@
|
||||
{+(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Assignment
|
||||
(Other "expression_list"
|
||||
(Identifier))
|
||||
(Other "expression_list"
|
||||
(FloatLiteral)))
|
||||
(Assignment
|
||||
(Other "expression_list"
|
||||
(Identifier))
|
||||
(Other "expression_list"
|
||||
(FloatLiteral)))
|
||||
(Assignment
|
||||
(Other "expression_list"
|
||||
(Identifier))
|
||||
(Other "expression_list"
|
||||
(FloatLiteral)))
|
||||
(Assignment
|
||||
(Other "expression_list"
|
||||
(Identifier))
|
||||
(Other "expression_list"
|
||||
(FloatLiteral)))
|
||||
(Assignment
|
||||
(Other "expression_list"
|
||||
(Identifier))
|
||||
(Other "expression_list"
|
||||
(FloatLiteral)))))+}
|
31
test/fixtures/go/float-literals.diff-A.txt
vendored
31
test/fixtures/go/float-literals.diff-A.txt
vendored
@ -1,31 +0,0 @@
|
||||
{-(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Assignment
|
||||
(Other "expression_list"
|
||||
(Identifier))
|
||||
(Other "expression_list"
|
||||
(FloatLiteral)))
|
||||
(Assignment
|
||||
(Other "expression_list"
|
||||
(Identifier))
|
||||
(Other "expression_list"
|
||||
(FloatLiteral)))
|
||||
(Assignment
|
||||
(Other "expression_list"
|
||||
(Identifier))
|
||||
(Other "expression_list"
|
||||
(FloatLiteral)))
|
||||
(Assignment
|
||||
(Other "expression_list"
|
||||
(Identifier))
|
||||
(Other "expression_list"
|
||||
(FloatLiteral)))
|
||||
(Assignment
|
||||
(Other "expression_list"
|
||||
(Identifier))
|
||||
(Other "expression_list"
|
||||
(FloatLiteral)))))-}
|
31
test/fixtures/go/float-literals.diff-B.txt
vendored
31
test/fixtures/go/float-literals.diff-B.txt
vendored
@ -1,31 +0,0 @@
|
||||
{-(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Assignment
|
||||
(Other "expression_list"
|
||||
(Identifier))
|
||||
(Other "expression_list"
|
||||
(FloatLiteral)))
|
||||
(Assignment
|
||||
(Other "expression_list"
|
||||
(Identifier))
|
||||
(Other "expression_list"
|
||||
(FloatLiteral)))
|
||||
(Assignment
|
||||
(Other "expression_list"
|
||||
(Identifier))
|
||||
(Other "expression_list"
|
||||
(FloatLiteral)))
|
||||
(Assignment
|
||||
(Other "expression_list"
|
||||
(Identifier))
|
||||
(Other "expression_list"
|
||||
(FloatLiteral)))
|
||||
(Assignment
|
||||
(Other "expression_list"
|
||||
(Identifier))
|
||||
(Other "expression_list"
|
||||
(FloatLiteral)))))-}
|
47
test/fixtures/go/for-statements.diff+A.txt
vendored
47
test/fixtures/go/for-statements.diff+A.txt
vendored
@ -1,47 +0,0 @@
|
||||
{+(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(For
|
||||
(ExpressionStatements
|
||||
(FunctionCall
|
||||
(Identifier))
|
||||
(Other "goto_statement"
|
||||
(Identifier))))
|
||||
(For
|
||||
(VarDecl
|
||||
(Other "expression_list"
|
||||
(Identifier))
|
||||
(Other "expression_list"
|
||||
(NumberLiteral)))
|
||||
(RelationalOperator
|
||||
(Identifier)
|
||||
(NumberLiteral))
|
||||
(IncrementStatement)
|
||||
(FunctionCall
|
||||
(Identifier))
|
||||
(Break
|
||||
(Identifier)))
|
||||
(For
|
||||
(RelationalOperator
|
||||
(Identifier)
|
||||
(NumberLiteral))
|
||||
(IncrementStatement)
|
||||
(FunctionCall
|
||||
(Identifier))
|
||||
(Continue
|
||||
(Identifier)))
|
||||
(For
|
||||
(FunctionCall
|
||||
(Identifier))
|
||||
(Continue))
|
||||
(For
|
||||
(Other "expression_list"
|
||||
(Identifier))
|
||||
(Identifier)
|
||||
(FunctionCall
|
||||
(Identifier)
|
||||
(Identifier))
|
||||
(Break))))+}
|
47
test/fixtures/go/for-statements.diff-A.txt
vendored
47
test/fixtures/go/for-statements.diff-A.txt
vendored
@ -1,47 +0,0 @@
|
||||
{-(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(For
|
||||
(ExpressionStatements
|
||||
(FunctionCall
|
||||
(Identifier))
|
||||
(Other "goto_statement"
|
||||
(Identifier))))
|
||||
(For
|
||||
(VarDecl
|
||||
(Other "expression_list"
|
||||
(Identifier))
|
||||
(Other "expression_list"
|
||||
(NumberLiteral)))
|
||||
(RelationalOperator
|
||||
(Identifier)
|
||||
(NumberLiteral))
|
||||
(IncrementStatement)
|
||||
(FunctionCall
|
||||
(Identifier))
|
||||
(Break
|
||||
(Identifier)))
|
||||
(For
|
||||
(RelationalOperator
|
||||
(Identifier)
|
||||
(NumberLiteral))
|
||||
(IncrementStatement)
|
||||
(FunctionCall
|
||||
(Identifier))
|
||||
(Continue
|
||||
(Identifier)))
|
||||
(For
|
||||
(FunctionCall
|
||||
(Identifier))
|
||||
(Continue))
|
||||
(For
|
||||
(Other "expression_list"
|
||||
(Identifier))
|
||||
(Identifier)
|
||||
(FunctionCall
|
||||
(Identifier)
|
||||
(Identifier))
|
||||
(Break))))-}
|
38
test/fixtures/go/for-statements.diff-B.txt
vendored
38
test/fixtures/go/for-statements.diff-B.txt
vendored
@ -1,38 +0,0 @@
|
||||
{-(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(For
|
||||
(FunctionCall
|
||||
(Identifier))
|
||||
(Other "goto_statement"
|
||||
(Identifier)))
|
||||
(For
|
||||
(Other "expression_list"
|
||||
(Identifier))
|
||||
(Identifier)
|
||||
(FunctionCall
|
||||
(Identifier))
|
||||
(Break
|
||||
(Identifier)))
|
||||
(For
|
||||
(FunctionCall
|
||||
(Identifier))
|
||||
(Continue
|
||||
(Identifier)))
|
||||
(For
|
||||
(RelationalOperator
|
||||
(Identifier)
|
||||
(NumberLiteral))
|
||||
(IncrementStatement)
|
||||
(FunctionCall
|
||||
(Identifier))
|
||||
(Continue))
|
||||
(For
|
||||
(ExpressionStatements
|
||||
(FunctionCall
|
||||
(Identifier)
|
||||
(Identifier))
|
||||
(Break)))))-}
|
@ -1,37 +0,0 @@
|
||||
{+(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args
|
||||
(ParameterDecl
|
||||
(Identifier)
|
||||
(Identifier))
|
||||
(Identifier)
|
||||
(Identifier)
|
||||
(ParameterDecl
|
||||
(Identifier)
|
||||
(Identifier)))
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Args
|
||||
(Identifier)
|
||||
(Identifier)))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Args
|
||||
(ParameterDecl
|
||||
(Identifier)
|
||||
(Identifier))
|
||||
(ParameterDecl
|
||||
(Identifier)
|
||||
(Identifier)))))+}
|
@ -1,37 +0,0 @@
|
||||
{-(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args
|
||||
(ParameterDecl
|
||||
(Identifier)
|
||||
(Identifier))
|
||||
(Identifier)
|
||||
(Identifier)
|
||||
(ParameterDecl
|
||||
(Identifier)
|
||||
(Identifier)))
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Args
|
||||
(Identifier)
|
||||
(Identifier)))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Args
|
||||
(ParameterDecl
|
||||
(Identifier)
|
||||
(Identifier))
|
||||
(ParameterDecl
|
||||
(Identifier)
|
||||
(Identifier)))))-}
|
@ -1,37 +0,0 @@
|
||||
{-(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args
|
||||
(ParameterDecl
|
||||
(Identifier)
|
||||
(Identifier))
|
||||
(Identifier)
|
||||
(Identifier)
|
||||
(ParameterDecl
|
||||
(Identifier)
|
||||
(Identifier)))
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Args
|
||||
(Identifier)
|
||||
(Identifier)))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Args
|
||||
(ParameterDecl
|
||||
(Identifier)
|
||||
(Identifier))
|
||||
(ParameterDecl
|
||||
(Identifier)
|
||||
(Identifier)))))-}
|
17
test/fixtures/go/function-literals.diff+A.txt
vendored
17
test/fixtures/go/function-literals.diff+A.txt
vendored
@ -1,17 +0,0 @@
|
||||
{+(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Other "const_declaration"
|
||||
(VarAssignment
|
||||
(Identifier)
|
||||
(Other "expression_list"
|
||||
(AnonymousFunction
|
||||
(Identifier)
|
||||
(Identifier)
|
||||
(Return
|
||||
(Other "expression_list"
|
||||
(NumberLiteral)
|
||||
(NumberLiteral)))))))))+}
|
17
test/fixtures/go/function-literals.diff-A.txt
vendored
17
test/fixtures/go/function-literals.diff-A.txt
vendored
@ -1,17 +0,0 @@
|
||||
{-(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Other "const_declaration"
|
||||
(VarAssignment
|
||||
(Identifier)
|
||||
(Other "expression_list"
|
||||
(AnonymousFunction
|
||||
(Identifier)
|
||||
(Identifier)
|
||||
(Return
|
||||
(Other "expression_list"
|
||||
(NumberLiteral)
|
||||
(NumberLiteral)))))))))-}
|
17
test/fixtures/go/function-literals.diff-B.txt
vendored
17
test/fixtures/go/function-literals.diff-B.txt
vendored
@ -1,17 +0,0 @@
|
||||
{-(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Other "const_declaration"
|
||||
(VarAssignment
|
||||
(Identifier)
|
||||
(Other "expression_list"
|
||||
(AnonymousFunction
|
||||
(Identifier)
|
||||
(Identifier)
|
||||
(Return
|
||||
(Other "expression_list"
|
||||
(NumberLiteral)
|
||||
(NumberLiteral)))))))))-}
|
22
test/fixtures/go/function-types.diff+A.txt
vendored
22
test/fixtures/go/function-types.diff+A.txt
vendored
@ -1,22 +0,0 @@
|
||||
{+(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Other "type_declaration"
|
||||
(TypeDecl
|
||||
(Identifier)
|
||||
(FunctionTy
|
||||
(Args
|
||||
(Identifier))
|
||||
(Identifier)))
|
||||
(TypeDecl
|
||||
(Identifier)
|
||||
(FunctionTy
|
||||
(Args
|
||||
(Identifier)
|
||||
(Identifier))
|
||||
(Args
|
||||
(Identifier)
|
||||
(Identifier)))))))+}
|
22
test/fixtures/go/function-types.diff-A.txt
vendored
22
test/fixtures/go/function-types.diff-A.txt
vendored
@ -1,22 +0,0 @@
|
||||
{-(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Other "type_declaration"
|
||||
(TypeDecl
|
||||
(Identifier)
|
||||
(FunctionTy
|
||||
(Args
|
||||
(Identifier))
|
||||
(Identifier)))
|
||||
(TypeDecl
|
||||
(Identifier)
|
||||
(FunctionTy
|
||||
(Args
|
||||
(Identifier)
|
||||
(Identifier))
|
||||
(Args
|
||||
(Identifier)
|
||||
(Identifier)))))))-}
|
15
test/fixtures/go/function-types.diff-B.txt
vendored
15
test/fixtures/go/function-types.diff-B.txt
vendored
@ -1,15 +0,0 @@
|
||||
{-(ParseError
|
||||
(Module
|
||||
(Identifier))
|
||||
(Identifier)
|
||||
(Args)
|
||||
(TypeDecl
|
||||
(Identifier)
|
||||
(FunctionTy
|
||||
(Args
|
||||
(Identifier))
|
||||
(Identifier)))
|
||||
(Identifier)
|
||||
(Args
|
||||
(Identifier)
|
||||
(Identifier)))-}
|
@ -1,16 +0,0 @@
|
||||
{+(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Defer
|
||||
(FunctionCall
|
||||
(SubscriptAccess
|
||||
(Identifier)
|
||||
(Identifier))))
|
||||
(Go
|
||||
(FunctionCall
|
||||
(SubscriptAccess
|
||||
(Identifier)
|
||||
(Identifier))))))+}
|
@ -1,16 +0,0 @@
|
||||
{-(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Defer
|
||||
(FunctionCall
|
||||
(SubscriptAccess
|
||||
(Identifier)
|
||||
(Identifier))))
|
||||
(Go
|
||||
(FunctionCall
|
||||
(SubscriptAccess
|
||||
(Identifier)
|
||||
(Identifier))))))-}
|
@ -1,16 +0,0 @@
|
||||
{-(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Defer
|
||||
(FunctionCall
|
||||
(SubscriptAccess
|
||||
(Identifier)
|
||||
(Identifier))))
|
||||
(Go
|
||||
(FunctionCall
|
||||
(SubscriptAccess
|
||||
(Identifier)
|
||||
(Identifier))))))-}
|
@ -1,8 +0,0 @@
|
||||
{+(ParseError
|
||||
(Module
|
||||
(Identifier))
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Identifier)
|
||||
(StringLiteral)
|
||||
(StringLiteral))+}
|
@ -1,8 +0,0 @@
|
||||
{-(ParseError
|
||||
(Module
|
||||
(Identifier))
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Identifier)
|
||||
(StringLiteral)
|
||||
(StringLiteral))-}
|
@ -1,8 +0,0 @@
|
||||
{-(ParseError
|
||||
(Module
|
||||
(Identifier))
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Identifier)
|
||||
(StringLiteral)
|
||||
(StringLiteral))-}
|
@ -1,15 +0,0 @@
|
||||
{+(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Other "var_declaration"
|
||||
(VarAssignment
|
||||
(Identifier)
|
||||
(Other "expression_list"
|
||||
(NumberLiteral)))
|
||||
(VarAssignment
|
||||
(Identifier)
|
||||
(Other "expression_list"
|
||||
(NumberLiteral))))))+}
|
@ -1,15 +0,0 @@
|
||||
{-(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Other "var_declaration"
|
||||
(VarAssignment
|
||||
(Identifier)
|
||||
(Other "expression_list"
|
||||
(NumberLiteral)))
|
||||
(VarAssignment
|
||||
(Identifier)
|
||||
(Other "expression_list"
|
||||
(NumberLiteral))))))-}
|
@ -1,15 +0,0 @@
|
||||
{-(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Other "var_declaration"
|
||||
(VarAssignment
|
||||
(Identifier)
|
||||
(Other "expression_list"
|
||||
(NumberLiteral)))
|
||||
(VarAssignment
|
||||
(Identifier)
|
||||
(Other "expression_list"
|
||||
(NumberLiteral))))))-}
|
32
test/fixtures/go/if-statements.diff+A.txt
vendored
32
test/fixtures/go/if-statements.diff+A.txt
vendored
@ -1,32 +0,0 @@
|
||||
{+(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(If
|
||||
(FunctionCall
|
||||
(Identifier))
|
||||
(ExpressionStatements
|
||||
(FunctionCall
|
||||
(Identifier))))
|
||||
(If
|
||||
(VarDecl
|
||||
(Other "expression_list"
|
||||
(Identifier))
|
||||
(Other "expression_list"
|
||||
(FunctionCall
|
||||
(Identifier))))
|
||||
(Identifier)
|
||||
(ExpressionStatements
|
||||
(FunctionCall
|
||||
(Identifier))))
|
||||
(If
|
||||
(FunctionCall
|
||||
(Identifier))
|
||||
(ExpressionStatements
|
||||
(FunctionCall
|
||||
(Identifier)))
|
||||
(ExpressionStatements
|
||||
(FunctionCall
|
||||
(Identifier))))))+}
|
32
test/fixtures/go/if-statements.diff-A.txt
vendored
32
test/fixtures/go/if-statements.diff-A.txt
vendored
@ -1,32 +0,0 @@
|
||||
{-(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(If
|
||||
(FunctionCall
|
||||
(Identifier))
|
||||
(ExpressionStatements
|
||||
(FunctionCall
|
||||
(Identifier))))
|
||||
(If
|
||||
(VarDecl
|
||||
(Other "expression_list"
|
||||
(Identifier))
|
||||
(Other "expression_list"
|
||||
(FunctionCall
|
||||
(Identifier))))
|
||||
(Identifier)
|
||||
(ExpressionStatements
|
||||
(FunctionCall
|
||||
(Identifier))))
|
||||
(If
|
||||
(FunctionCall
|
||||
(Identifier))
|
||||
(ExpressionStatements
|
||||
(FunctionCall
|
||||
(Identifier)))
|
||||
(ExpressionStatements
|
||||
(FunctionCall
|
||||
(Identifier))))))-}
|
32
test/fixtures/go/if-statements.diff-B.txt
vendored
32
test/fixtures/go/if-statements.diff-B.txt
vendored
@ -1,32 +0,0 @@
|
||||
{-(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(If
|
||||
(FunctionCall
|
||||
(Identifier))
|
||||
(ExpressionStatements
|
||||
(FunctionCall
|
||||
(Identifier))))
|
||||
(If
|
||||
(VarDecl
|
||||
(Other "expression_list"
|
||||
(Identifier))
|
||||
(Other "expression_list"
|
||||
(FunctionCall
|
||||
(Identifier))))
|
||||
(Identifier)
|
||||
(ExpressionStatements
|
||||
(FunctionCall
|
||||
(Identifier))))
|
||||
(If
|
||||
(FunctionCall
|
||||
(Identifier))
|
||||
(ExpressionStatements
|
||||
(FunctionCall
|
||||
(Identifier)))
|
||||
(ExpressionStatements
|
||||
(FunctionCall
|
||||
(Identifier))))))-}
|
15
test/fixtures/go/imaginary-literals.diff+A.txt
vendored
15
test/fixtures/go/imaginary-literals.diff+A.txt
vendored
@ -1,15 +0,0 @@
|
||||
{+(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Other "const_declaration"
|
||||
(VarAssignment
|
||||
(Identifier)
|
||||
(Other "expression_list"
|
||||
(Other "imaginary_literal")))
|
||||
(VarAssignment
|
||||
(Identifier)
|
||||
(Other "expression_list"
|
||||
(Other "imaginary_literal"))))))+}
|
15
test/fixtures/go/imaginary-literals.diff-A.txt
vendored
15
test/fixtures/go/imaginary-literals.diff-A.txt
vendored
@ -1,15 +0,0 @@
|
||||
{-(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Other "const_declaration"
|
||||
(VarAssignment
|
||||
(Identifier)
|
||||
(Other "expression_list"
|
||||
(Other "imaginary_literal")))
|
||||
(VarAssignment
|
||||
(Identifier)
|
||||
(Other "expression_list"
|
||||
(Other "imaginary_literal"))))))-}
|
15
test/fixtures/go/imaginary-literals.diff-B.txt
vendored
15
test/fixtures/go/imaginary-literals.diff-B.txt
vendored
@ -1,15 +0,0 @@
|
||||
{-(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Other "const_declaration"
|
||||
(VarAssignment
|
||||
(Identifier)
|
||||
(Other "expression_list"
|
||||
(Other "imaginary_literal")))
|
||||
(VarAssignment
|
||||
(Identifier)
|
||||
(Other "expression_list"
|
||||
(Other "imaginary_literal"))))))-}
|
@ -1,8 +0,0 @@
|
||||
{+(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(IncrementStatement)
|
||||
(DecrementStatement)))+}
|
@ -1,8 +0,0 @@
|
||||
{-(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(IncrementStatement)
|
||||
(DecrementStatement)))-}
|
@ -1,8 +0,0 @@
|
||||
{-(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(IncrementStatement)
|
||||
(IncrementStatement)))-}
|
27
test/fixtures/go/indexing-expressions.diff+A.txt
vendored
27
test/fixtures/go/indexing-expressions.diff+A.txt
vendored
@ -1,27 +0,0 @@
|
||||
{+(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(IndexExpression
|
||||
(Identifier)
|
||||
(NumberLiteral))
|
||||
(Slice
|
||||
(Identifier))
|
||||
(Slice
|
||||
(Identifier)
|
||||
(NumberLiteral))
|
||||
(Slice
|
||||
(Identifier)
|
||||
(NumberLiteral)
|
||||
(NumberLiteral))
|
||||
(Slice
|
||||
(Identifier)
|
||||
(NumberLiteral)
|
||||
(NumberLiteral))
|
||||
(Slice
|
||||
(Identifier)
|
||||
(NumberLiteral)
|
||||
(NumberLiteral)
|
||||
(NumberLiteral))))+}
|
27
test/fixtures/go/indexing-expressions.diff-A.txt
vendored
27
test/fixtures/go/indexing-expressions.diff-A.txt
vendored
@ -1,27 +0,0 @@
|
||||
{-(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(IndexExpression
|
||||
(Identifier)
|
||||
(NumberLiteral))
|
||||
(Slice
|
||||
(Identifier))
|
||||
(Slice
|
||||
(Identifier)
|
||||
(NumberLiteral))
|
||||
(Slice
|
||||
(Identifier)
|
||||
(NumberLiteral)
|
||||
(NumberLiteral))
|
||||
(Slice
|
||||
(Identifier)
|
||||
(NumberLiteral)
|
||||
(NumberLiteral))
|
||||
(Slice
|
||||
(Identifier)
|
||||
(NumberLiteral)
|
||||
(NumberLiteral)
|
||||
(NumberLiteral))))-}
|
28
test/fixtures/go/indexing-expressions.diff-B.txt
vendored
28
test/fixtures/go/indexing-expressions.diff-B.txt
vendored
@ -1,28 +0,0 @@
|
||||
{-(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Slice
|
||||
(Identifier)
|
||||
(NumberLiteral))
|
||||
(Slice
|
||||
(Identifier)
|
||||
(NumberLiteral))
|
||||
(Slice
|
||||
(Identifier)
|
||||
(NumberLiteral))
|
||||
(Slice
|
||||
(Identifier)
|
||||
(NumberLiteral)
|
||||
(NumberLiteral))
|
||||
(Slice
|
||||
(Identifier)
|
||||
(NumberLiteral)
|
||||
(NumberLiteral))
|
||||
(Slice
|
||||
(Identifier)
|
||||
(NumberLiteral)
|
||||
(NumberLiteral)
|
||||
(NumberLiteral))))-}
|
10
test/fixtures/go/int-literals.diff+A.txt
vendored
10
test/fixtures/go/int-literals.diff+A.txt
vendored
@ -1,10 +0,0 @@
|
||||
{+(ParseError
|
||||
(Module
|
||||
(Identifier))
|
||||
(Identifier)
|
||||
(Args)
|
||||
(VarAssignment
|
||||
(Identifier)
|
||||
(Other "expression_list"
|
||||
(NumberLiteral)
|
||||
(Identifier))))+}
|
10
test/fixtures/go/int-literals.diff-A.txt
vendored
10
test/fixtures/go/int-literals.diff-A.txt
vendored
@ -1,10 +0,0 @@
|
||||
{-(ParseError
|
||||
(Module
|
||||
(Identifier))
|
||||
(Identifier)
|
||||
(Args)
|
||||
(VarAssignment
|
||||
(Identifier)
|
||||
(Other "expression_list"
|
||||
(NumberLiteral)
|
||||
(Identifier))))-}
|
10
test/fixtures/go/int-literals.diff-B.txt
vendored
10
test/fixtures/go/int-literals.diff-B.txt
vendored
@ -1,10 +0,0 @@
|
||||
{-(ParseError
|
||||
(Module
|
||||
(Identifier))
|
||||
(Identifier)
|
||||
(Args)
|
||||
(VarAssignment
|
||||
(Identifier)
|
||||
(Other "expression_list"
|
||||
(NumberLiteral)
|
||||
(Identifier))))-}
|
28
test/fixtures/go/interface-types.diff+A.txt
vendored
28
test/fixtures/go/interface-types.diff+A.txt
vendored
@ -1,28 +0,0 @@
|
||||
{+(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Other "type_declaration"
|
||||
(TypeDecl
|
||||
(Identifier)
|
||||
(Other "interface_type")))
|
||||
(Other "type_declaration"
|
||||
(TypeDecl
|
||||
(Identifier)
|
||||
(Other "interface_type"
|
||||
(QualifiedType))))
|
||||
(Other "type_declaration"
|
||||
(TypeDecl
|
||||
(Identifier)
|
||||
(Other "interface_type"
|
||||
(Identifier)
|
||||
(QualifiedType)
|
||||
(Other "method_spec"
|
||||
(Identifier)
|
||||
(Args
|
||||
(ParameterDecl
|
||||
(Identifier)
|
||||
(Identifier)))
|
||||
(Identifier)))))))+}
|
28
test/fixtures/go/interface-types.diff-A.txt
vendored
28
test/fixtures/go/interface-types.diff-A.txt
vendored
@ -1,28 +0,0 @@
|
||||
{-(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Other "type_declaration"
|
||||
(TypeDecl
|
||||
(Identifier)
|
||||
(Other "interface_type")))
|
||||
(Other "type_declaration"
|
||||
(TypeDecl
|
||||
(Identifier)
|
||||
(Other "interface_type"
|
||||
(QualifiedType))))
|
||||
(Other "type_declaration"
|
||||
(TypeDecl
|
||||
(Identifier)
|
||||
(Other "interface_type"
|
||||
(Identifier)
|
||||
(QualifiedType)
|
||||
(Other "method_spec"
|
||||
(Identifier)
|
||||
(Args
|
||||
(ParameterDecl
|
||||
(Identifier)
|
||||
(Identifier)))
|
||||
(Identifier)))))))-}
|
28
test/fixtures/go/interface-types.diff-B.txt
vendored
28
test/fixtures/go/interface-types.diff-B.txt
vendored
@ -1,28 +0,0 @@
|
||||
{-(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Other "type_declaration"
|
||||
(TypeDecl
|
||||
(Identifier)
|
||||
(Other "interface_type")))
|
||||
(Other "type_declaration"
|
||||
(TypeDecl
|
||||
(Identifier)
|
||||
(Other "interface_type"
|
||||
(QualifiedType))))
|
||||
(Other "type_declaration"
|
||||
(TypeDecl
|
||||
(Identifier)
|
||||
(Other "interface_type"
|
||||
(Identifier)
|
||||
(QualifiedType)
|
||||
(Other "method_spec"
|
||||
(Identifier)
|
||||
(Args
|
||||
(ParameterDecl
|
||||
(Identifier)
|
||||
(Identifier)))
|
||||
(Identifier)))))))-}
|
9
test/fixtures/go/label-statements.diff+A.txt
vendored
9
test/fixtures/go/label-statements.diff+A.txt
vendored
@ -1,9 +0,0 @@
|
||||
{+(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(ExpressionStatements
|
||||
(Other "label_statement"
|
||||
(Identifier)))))+}
|
9
test/fixtures/go/label-statements.diff-A.txt
vendored
9
test/fixtures/go/label-statements.diff-A.txt
vendored
@ -1,9 +0,0 @@
|
||||
{-(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(ExpressionStatements
|
||||
(Other "label_statement"
|
||||
(Identifier)))))-}
|
9
test/fixtures/go/label-statements.diff-B.txt
vendored
9
test/fixtures/go/label-statements.diff-B.txt
vendored
@ -1,9 +0,0 @@
|
||||
{-(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(ExpressionStatements
|
||||
(Other "label_statement"
|
||||
(Identifier)))))-}
|
20
test/fixtures/go/map-literals.diff+A.txt
vendored
20
test/fixtures/go/map-literals.diff+A.txt
vendored
@ -1,20 +0,0 @@
|
||||
{+(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Other "const_declaration"
|
||||
(VarAssignment
|
||||
(Identifier)
|
||||
(Other "expression_list"
|
||||
(Other "composite_literal"
|
||||
(DictionaryTy
|
||||
(Identifier)
|
||||
(Identifier))
|
||||
(Pair
|
||||
(StringLiteral)
|
||||
(StringLiteral))
|
||||
(Pair
|
||||
(StringLiteral)
|
||||
(StringLiteral))))))))+}
|
20
test/fixtures/go/map-literals.diff-A.txt
vendored
20
test/fixtures/go/map-literals.diff-A.txt
vendored
@ -1,20 +0,0 @@
|
||||
{-(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Other "const_declaration"
|
||||
(VarAssignment
|
||||
(Identifier)
|
||||
(Other "expression_list"
|
||||
(Other "composite_literal"
|
||||
(DictionaryTy
|
||||
(Identifier)
|
||||
(Identifier))
|
||||
(Pair
|
||||
(StringLiteral)
|
||||
(StringLiteral))
|
||||
(Pair
|
||||
(StringLiteral)
|
||||
(StringLiteral))))))))-}
|
20
test/fixtures/go/map-literals.diff-B.txt
vendored
20
test/fixtures/go/map-literals.diff-B.txt
vendored
@ -1,20 +0,0 @@
|
||||
{-(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Other "const_declaration"
|
||||
(VarAssignment
|
||||
(Identifier)
|
||||
(Other "expression_list"
|
||||
(Other "composite_literal"
|
||||
(DictionaryTy
|
||||
(Identifier)
|
||||
(Identifier))
|
||||
(Pair
|
||||
(StringLiteral)
|
||||
(StringLiteral))
|
||||
(Pair
|
||||
(StringLiteral)
|
||||
(StringLiteral))))))))-}
|
12
test/fixtures/go/map-types.diff+A.txt
vendored
12
test/fixtures/go/map-types.diff+A.txt
vendored
@ -1,12 +0,0 @@
|
||||
{+(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Other "type_declaration"
|
||||
(TypeDecl
|
||||
(Identifier)
|
||||
(DictionaryTy
|
||||
(Identifier)
|
||||
(Identifier))))))+}
|
12
test/fixtures/go/map-types.diff-A.txt
vendored
12
test/fixtures/go/map-types.diff-A.txt
vendored
@ -1,12 +0,0 @@
|
||||
{-(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Other "type_declaration"
|
||||
(TypeDecl
|
||||
(Identifier)
|
||||
(DictionaryTy
|
||||
(Identifier)
|
||||
(Identifier))))))-}
|
12
test/fixtures/go/map-types.diff-B.txt
vendored
12
test/fixtures/go/map-types.diff-B.txt
vendored
@ -1,12 +0,0 @@
|
||||
{-(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Other "type_declaration"
|
||||
(TypeDecl
|
||||
(Identifier)
|
||||
(DictionaryTy
|
||||
(Identifier)
|
||||
(Identifier))))))-}
|
17
test/fixtures/go/method-declarations.diff+A.txt
vendored
17
test/fixtures/go/method-declarations.diff+A.txt
vendored
@ -1,17 +0,0 @@
|
||||
{+(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args))
|
||||
(Method
|
||||
(Identifier)
|
||||
(Args
|
||||
(ParameterDecl
|
||||
(Identifier)
|
||||
(Identifier)))
|
||||
(Args
|
||||
(ParameterDecl
|
||||
(Identifier)
|
||||
(Identifier)))
|
||||
(Identifier)))+}
|
17
test/fixtures/go/method-declarations.diff-A.txt
vendored
17
test/fixtures/go/method-declarations.diff-A.txt
vendored
@ -1,17 +0,0 @@
|
||||
{-(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args))
|
||||
(Method
|
||||
(Identifier)
|
||||
(Args
|
||||
(ParameterDecl
|
||||
(Identifier)
|
||||
(Identifier)))
|
||||
(Args
|
||||
(ParameterDecl
|
||||
(Identifier)
|
||||
(Identifier)))
|
||||
(Identifier)))-}
|
17
test/fixtures/go/method-declarations.diff-B.txt
vendored
17
test/fixtures/go/method-declarations.diff-B.txt
vendored
@ -1,17 +0,0 @@
|
||||
{-(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args))
|
||||
(Method
|
||||
(Identifier)
|
||||
(Args
|
||||
(ParameterDecl
|
||||
(Identifier)
|
||||
(Identifier)))
|
||||
(Args
|
||||
(ParameterDecl
|
||||
(Identifier)
|
||||
(Identifier)))
|
||||
(Identifier)))-}
|
@ -1,16 +0,0 @@
|
||||
{+(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(VarDecl
|
||||
(Other "expression_list"
|
||||
(Identifier))
|
||||
(Other "expression_list"
|
||||
(Operator
|
||||
(Other "composite_literal"
|
||||
(Identifier)
|
||||
(Pair
|
||||
(Identifier)
|
||||
(Identifier))))))))+}
|
@ -1,16 +0,0 @@
|
||||
{-(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(VarDecl
|
||||
(Other "expression_list"
|
||||
(Identifier))
|
||||
(Other "expression_list"
|
||||
(Operator
|
||||
(Other "composite_literal"
|
||||
(Identifier)
|
||||
(Pair
|
||||
(Identifier)
|
||||
(Identifier))))))))-}
|
@ -1,18 +0,0 @@
|
||||
{-(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(VarDecl
|
||||
(Other "expression_list"
|
||||
(Identifier))
|
||||
(Other "expression_list"
|
||||
(Operator
|
||||
(Other "composite_literal"
|
||||
(Identifier)
|
||||
(Pair
|
||||
(Identifier)
|
||||
(FunctionCall
|
||||
(Identifier)
|
||||
(QualifiedType)))))))))-}
|
@ -1,15 +0,0 @@
|
||||
{+(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args
|
||||
(ParameterDecl
|
||||
(Identifier)
|
||||
(Identifier))
|
||||
(ParameterDecl
|
||||
(Identifier)
|
||||
(Identifier)))))+}
|
@ -1,15 +0,0 @@
|
||||
{-(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args
|
||||
(ParameterDecl
|
||||
(Identifier)
|
||||
(Identifier))
|
||||
(ParameterDecl
|
||||
(Identifier)
|
||||
(Identifier)))))-}
|
@ -1,15 +0,0 @@
|
||||
{-(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args
|
||||
(ParameterDecl
|
||||
(Identifier)
|
||||
(Identifier))
|
||||
(ParameterDecl
|
||||
(Identifier)
|
||||
(Identifier)))))-}
|
16
test/fixtures/go/pointer-types.diff+A.txt
vendored
16
test/fixtures/go/pointer-types.diff+A.txt
vendored
@ -1,16 +0,0 @@
|
||||
{+(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Other "type_declaration"
|
||||
(TypeDecl
|
||||
(Identifier)
|
||||
(PointerTy
|
||||
(Identifier)))
|
||||
(TypeDecl
|
||||
(Identifier)
|
||||
(PointerTy
|
||||
(PointerTy
|
||||
(Identifier)))))))+}
|
16
test/fixtures/go/pointer-types.diff-A.txt
vendored
16
test/fixtures/go/pointer-types.diff-A.txt
vendored
@ -1,16 +0,0 @@
|
||||
{-(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Other "type_declaration"
|
||||
(TypeDecl
|
||||
(Identifier)
|
||||
(PointerTy
|
||||
(Identifier)))
|
||||
(TypeDecl
|
||||
(Identifier)
|
||||
(PointerTy
|
||||
(PointerTy
|
||||
(Identifier)))))))-}
|
16
test/fixtures/go/pointer-types.diff-B.txt
vendored
16
test/fixtures/go/pointer-types.diff-B.txt
vendored
@ -1,16 +0,0 @@
|
||||
{-(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Other "type_declaration"
|
||||
(TypeDecl
|
||||
(Identifier)
|
||||
(PointerTy
|
||||
(Identifier)))
|
||||
(TypeDecl
|
||||
(Identifier)
|
||||
(PointerTy
|
||||
(PointerTy
|
||||
(Identifier)))))))-}
|
10
test/fixtures/go/qualified-types.diff+A.txt
vendored
10
test/fixtures/go/qualified-types.diff+A.txt
vendored
@ -1,10 +0,0 @@
|
||||
{+(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Other "type_declaration"
|
||||
(TypeDecl
|
||||
(Identifier)
|
||||
(QualifiedType)))))+}
|
10
test/fixtures/go/qualified-types.diff-A.txt
vendored
10
test/fixtures/go/qualified-types.diff-A.txt
vendored
@ -1,10 +0,0 @@
|
||||
{-(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Other "type_declaration"
|
||||
(TypeDecl
|
||||
(Identifier)
|
||||
(QualifiedType)))))-}
|
10
test/fixtures/go/qualified-types.diff-B.txt
vendored
10
test/fixtures/go/qualified-types.diff-B.txt
vendored
@ -1,10 +0,0 @@
|
||||
{-(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Function
|
||||
(Identifier)
|
||||
(Args)
|
||||
(Other "type_declaration"
|
||||
(TypeDecl
|
||||
(Identifier)
|
||||
(QualifiedType)))))-}
|
28
test/fixtures/go/rune-literals.diff+A.txt
vendored
28
test/fixtures/go/rune-literals.diff+A.txt
vendored
@ -1,28 +0,0 @@
|
||||
{+(Program
|
||||
(Module
|
||||
(Identifier))
|
||||
(Other "const_declaration"
|
||||
(VarAssignment
|
||||
(Identifier)
|
||||
(Other "expression_list"
|
||||
(RuneLiteral)))
|
||||
(VarAssignment
|
||||
(Identifier)
|
||||
(Other "expression_list"
|
||||
(RuneLiteral)))
|
||||
(VarAssignment
|
||||
(Identifier)
|
||||
(Other "expression_list"
|
||||
(RuneLiteral)))
|
||||
(VarAssignment
|
||||
(Identifier)
|
||||
(Other "expression_list"
|
||||
(RuneLiteral)))
|
||||
(VarAssignment
|
||||
(Identifier)
|
||||
(Other "expression_list"
|
||||
(RuneLiteral)))
|
||||
(VarAssignment
|
||||
(Identifier)
|
||||
(Other "expression_list"
|
||||
(RuneLiteral)))))+}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user