diff --git a/test/fixtures/javascript/anonymous-function.diffA-B.txt b/test/fixtures/javascript/anonymous-function.diffA-B.txt index e9dbb3c88..779522d4f 100644 --- a/test/fixtures/javascript/anonymous-function.diffA-B.txt +++ b/test/fixtures/javascript/anonymous-function.diffA-B.txt @@ -7,11 +7,7 @@ ->(Identifier) } (ExpressionStatements (Return - { (MathOperator - (Identifier) - (Other "+") - (Identifier)) - ->(MathOperator - (Identifier) - (Other "*") - (Identifier)) }))))) \ No newline at end of file + (MathOperator + { (Identifier) -> (Identifier) } + { (Other "+") -> (Other "*") } + { (Identifier) -> (Identifier) })))))) diff --git a/test/fixtures/javascript/anonymous-function.diffB-A.txt b/test/fixtures/javascript/anonymous-function.diffB-A.txt index ed86c0b39..d01600321 100644 --- a/test/fixtures/javascript/anonymous-function.diffB-A.txt +++ b/test/fixtures/javascript/anonymous-function.diffB-A.txt @@ -7,11 +7,7 @@ ->(Identifier) } (ExpressionStatements (Return - { (MathOperator - (Identifier) - (Other "*") - (Identifier)) - ->(MathOperator - (Identifier) - (Other "+") - (Identifier)) }))))) \ No newline at end of file + (MathOperator + { (Identifier) -> (Identifier) } + { (Other "*") -> (Other "+") } + { (Identifier) -> (Identifier) })))))) diff --git a/test/fixtures/javascript/boolean-operator.diffB-A.txt b/test/fixtures/javascript/boolean-operator.diffB-A.txt index fa8334f71..f8d9a25a9 100644 --- a/test/fixtures/javascript/boolean-operator.diffB-A.txt +++ b/test/fixtures/javascript/boolean-operator.diffB-A.txt @@ -1,10 +1,6 @@ (Program (ExpressionStatements - { (BooleanOperator + (BooleanOperator (Identifier) - (Other "&&") - (Identifier)) - ->(BooleanOperator - (Identifier) - (Other "||") - (Identifier)) })) \ No newline at end of file + { (Other "&&") -> (Other "||") } + (Identifier)))) diff --git a/test/fixtures/javascript/delete-operator.diffA-B.txt b/test/fixtures/javascript/delete-operator.diffA-B.txt index 0262b5b44..25c33123f 100644 --- a/test/fixtures/javascript/delete-operator.diffA-B.txt +++ b/test/fixtures/javascript/delete-operator.diffA-B.txt @@ -1,12 +1,12 @@ (Program (ExpressionStatements - { (Operator + (Operator (Other "delete") + { (SubscriptAccess (Identifier) - (StringLiteral))) - ->(Operator - (Other "delete") + (StringLiteral)) + -> (MemberAccess (Identifier) - (Identifier))) })) \ No newline at end of file + (Identifier)) }))) diff --git a/test/fixtures/javascript/delete-operator.diffB-A.txt b/test/fixtures/javascript/delete-operator.diffB-A.txt index b3db7ac43..e202c9976 100644 --- a/test/fixtures/javascript/delete-operator.diffB-A.txt +++ b/test/fixtures/javascript/delete-operator.diffB-A.txt @@ -1,12 +1,12 @@ (Program (ExpressionStatements - { (Operator + (Operator (Other "delete") + { (MemberAccess (Identifier) - (Identifier))) - ->(Operator - (Other "delete") + (Identifier)) + -> (SubscriptAccess (Identifier) - (StringLiteral))) })) \ No newline at end of file + (StringLiteral)) }))) diff --git a/test/fixtures/javascript/export.diffA-B.txt b/test/fixtures/javascript/export.diffA-B.txt index e4330b1ae..fda446364 100644 --- a/test/fixtures/javascript/export.diffA-B.txt +++ b/test/fixtures/javascript/export.diffA-B.txt @@ -72,26 +72,28 @@ (Other "export_specifier" { (Identifier) ->(Identifier) })) -{ (Export - (VarDecl - (Other "variable_declarator" - (Identifier))) - (VarDecl - (Other "variable_declarator" - (Identifier))) - (VarDecl - (Other "variable_declarator" - (Identifier)))) -->(Export - (StringLiteral) - (Other "export_specifier" - (Identifier) - (Identifier)) - (Other "export_specifier" - (Identifier) - (Identifier)) - (Other "export_specifier" - (Identifier))) } + (Export + { +(StringLiteral)+ } + {(VarDecl + (Other "variable_declarator" + (Identifier))) + -> + (Other "export_specifier" + (Identifier) + (Identifier))} + {(VarDecl + (Other "variable_declarator" + (Identifier))) + -> + (Other "export_specifier" + (Identifier) + (Identifier))} + {(VarDecl + (Other "variable_declarator" + (Identifier))) + -> + (Other "export_specifier" + (Identifier))} ) {-(Export (VarAssignment (Identifier) @@ -137,4 +139,4 @@ (Identifier) (Identifier)) (Other "export_specifier" - (Identifier)))-}) \ No newline at end of file + (Identifier)))-}) diff --git a/test/fixtures/javascript/if.diffA-B.txt b/test/fixtures/javascript/if.diffA-B.txt index 9d53257dc..48ae65bd9 100644 --- a/test/fixtures/javascript/if.diffA-B.txt +++ b/test/fixtures/javascript/if.diffA-B.txt @@ -1,19 +1,9 @@ (Program -{ (If - (Identifier) + (If + { (Identifier) -> (MemberAccess (Identifier) (Identifier)) } (ExpressionStatements (ExpressionStatements (FunctionCall (Identifier) - (Identifier))))) -->(If - (MemberAccess - (Identifier) - (Identifier)) - (ExpressionStatements - (ExpressionStatements - (FunctionCall - (Identifier) - (Identifier))) - (ExpressionStatements - (Identifier)))) }) \ No newline at end of file + { (Identifier) -> (Identifier) })) + { +(ExpressionStatements (Identifier))+ }))) diff --git a/test/fixtures/javascript/if.diffB-A.txt b/test/fixtures/javascript/if.diffB-A.txt index 3f0ffb871..39dc44434 100644 --- a/test/fixtures/javascript/if.diffB-A.txt +++ b/test/fixtures/javascript/if.diffB-A.txt @@ -1,19 +1,9 @@ (Program -{ (If - (MemberAccess - (Identifier) - (Identifier)) + (If + { (MemberAccess (Identifier) (Identifier)) -> (Identifier) } (ExpressionStatements (ExpressionStatements (FunctionCall (Identifier) - (Identifier))) - (ExpressionStatements - (Identifier)))) -->(If - (Identifier) - (ExpressionStatements - (ExpressionStatements - (FunctionCall - (Identifier) - (Identifier))))) }) \ No newline at end of file + { (Identifier) -> (Identifier) })) + { -(ExpressionStatements (Identifier))- }))) diff --git a/test/fixtures/javascript/import.diffA-B.txt b/test/fixtures/javascript/import.diffA-B.txt index 15a971aab..9b5d54310 100644 --- a/test/fixtures/javascript/import.diffA-B.txt +++ b/test/fixtures/javascript/import.diffA-B.txt @@ -38,16 +38,15 @@ (Other "import_specifier" (Identifier) (Identifier))))+} -{ (Import - (StringLiteral) + (Import + { (StringLiteral) -> (StringLiteral) } + { (Other "named_imports" (Other "import_specifier" - (Identifier)))) -->(Import - (StringLiteral) - (Identifier) - (Other "namespace_import" - (Identifier))) } + (Identifier))) + -> + (Identifier) } + { +(Other "namespace_import" (Identifier))+ }) {+(Import (StringLiteral))+} {-(Import @@ -80,4 +79,4 @@ (Other "namespace_import" (Identifier)))-} {-(Import - (StringLiteral))-}) \ No newline at end of file + (StringLiteral))-}) diff --git a/test/fixtures/javascript/import.diffB-A.txt b/test/fixtures/javascript/import.diffB-A.txt index 15a971aab..9b5d54310 100644 --- a/test/fixtures/javascript/import.diffB-A.txt +++ b/test/fixtures/javascript/import.diffB-A.txt @@ -38,16 +38,15 @@ (Other "import_specifier" (Identifier) (Identifier))))+} -{ (Import - (StringLiteral) + (Import + { (StringLiteral) -> (StringLiteral) } + { (Other "named_imports" (Other "import_specifier" - (Identifier)))) -->(Import - (StringLiteral) - (Identifier) - (Other "namespace_import" - (Identifier))) } + (Identifier))) + -> + (Identifier) } + { +(Other "namespace_import" (Identifier))+ }) {+(Import (StringLiteral))+} {-(Import @@ -80,4 +79,4 @@ (Other "namespace_import" (Identifier)))-} {-(Import - (StringLiteral))-}) \ No newline at end of file + (StringLiteral))-}) diff --git a/test/fixtures/javascript/objects-with-methods.diffA-B.txt b/test/fixtures/javascript/objects-with-methods.diffA-B.txt index f3f5c00c5..83a6439fa 100644 --- a/test/fixtures/javascript/objects-with-methods.diffA-B.txt +++ b/test/fixtures/javascript/objects-with-methods.diffA-B.txt @@ -2,16 +2,11 @@ (ExpressionStatements (Object (Method - { (Identifier) - ->(Identifier) } + { (Identifier) -> (Identifier) } (Identifier) (Identifier) (Return - { (MathOperator + (MathOperator (Identifier) - (Other "+") - (Identifier)) - ->(MathOperator - (Identifier) - (Other "-") - (Identifier)) }))))) \ No newline at end of file + { (Other "+") -> (Other "-") } + (Identifier))))))) diff --git a/test/fixtures/javascript/objects-with-methods.diffB-A.txt b/test/fixtures/javascript/objects-with-methods.diffB-A.txt index 30f576bf9..69bbd9ce2 100644 --- a/test/fixtures/javascript/objects-with-methods.diffB-A.txt +++ b/test/fixtures/javascript/objects-with-methods.diffB-A.txt @@ -2,16 +2,11 @@ (ExpressionStatements (Object (Method - { (Identifier) - ->(Identifier) } + { (Identifier) -> (Identifier) } (Identifier) (Identifier) (Return - { (MathOperator + (MathOperator (Identifier) - (Other "-") - (Identifier)) - ->(MathOperator - (Identifier) - (Other "+") - (Identifier)) }))))) \ No newline at end of file + { (Other "-") -> (Other "+") } + (Identifier))))))) diff --git a/test/fixtures/javascript/relational-operator.diffA-B.txt b/test/fixtures/javascript/relational-operator.diffA-B.txt index 0f28d08de..2e2f7cef5 100644 --- a/test/fixtures/javascript/relational-operator.diffA-B.txt +++ b/test/fixtures/javascript/relational-operator.diffA-B.txt @@ -1,10 +1,6 @@ (Program (ExpressionStatements - { (RelationalOperator + (RelationalOperator (Identifier) - (Other "<") - (Identifier)) - ->(RelationalOperator - (Identifier) - (Other "<=") - (Identifier)) })) \ No newline at end of file + { (Other "<") -> (Other "<=") } + (Identifier)))) diff --git a/test/fixtures/javascript/relational-operator.diffB-A.txt b/test/fixtures/javascript/relational-operator.diffB-A.txt index 37b07c4be..66188264a 100644 --- a/test/fixtures/javascript/relational-operator.diffB-A.txt +++ b/test/fixtures/javascript/relational-operator.diffB-A.txt @@ -1,10 +1,6 @@ (Program (ExpressionStatements - { (RelationalOperator + (RelationalOperator (Identifier) - (Other "<=") - (Identifier)) - ->(RelationalOperator - (Identifier) - (Other "<") - (Identifier)) })) \ No newline at end of file + { (Other "<=") -> (Other "<") } + (Identifier)))) diff --git a/test/fixtures/javascript/type-operator.diffA-B.txt b/test/fixtures/javascript/type-operator.diffA-B.txt index 6482b023d..d8380c3d4 100644 --- a/test/fixtures/javascript/type-operator.diffA-B.txt +++ b/test/fixtures/javascript/type-operator.diffA-B.txt @@ -1,9 +1,6 @@ (Program (ExpressionStatements - { (Operator - (Other "typeof") - (Identifier)) - ->(Operator - (Identifier) - (Other "instanceof") - (Identifier)) })) \ No newline at end of file + (Operator + { (Other "typeof") -> (Identifier) } + { (Identifier) -> (Other "instanceof") } + { +(Identifier)+ }))) diff --git a/test/fixtures/javascript/type-operator.diffB-A.txt b/test/fixtures/javascript/type-operator.diffB-A.txt index 225346ad3..180011f7e 100644 --- a/test/fixtures/javascript/type-operator.diffB-A.txt +++ b/test/fixtures/javascript/type-operator.diffB-A.txt @@ -1,9 +1,6 @@ (Program (ExpressionStatements - { (Operator - (Identifier) - (Other "instanceof") - (Identifier)) - ->(Operator - (Other "typeof") - (Identifier)) })) \ No newline at end of file + (Operator + { (Identifier) -> (Other "typeof") } + { (Other "instanceof") -> (Identifier) } + { -(Identifier)- }))) diff --git a/test/fixtures/javascript/yield.diffA-B.txt b/test/fixtures/javascript/yield.diffA-B.txt index 49bdb7043..2bf4c8740 100644 --- a/test/fixtures/javascript/yield.diffA-B.txt +++ b/test/fixtures/javascript/yield.diffA-B.txt @@ -7,9 +7,9 @@ (VarAssignment (Identifier) (NumberLiteral))) - { (Yield - (Identifier)) - ->(Yield - (MathOperator - (Identifier) - (Other "++"))) })))) \ No newline at end of file + (Yield { + (Identifier) + -> + (MathOperator + (Identifier) + (Other "++")) }))))) diff --git a/test/fixtures/javascript/yield.diffB-A.txt b/test/fixtures/javascript/yield.diffB-A.txt index bc89757f5..955993a34 100644 --- a/test/fixtures/javascript/yield.diffB-A.txt +++ b/test/fixtures/javascript/yield.diffB-A.txt @@ -7,9 +7,9 @@ (VarAssignment (Identifier) (NumberLiteral))) - { (Yield - (MathOperator - (Identifier) - (Other "++"))) - ->(Yield - (Identifier)) })))) \ No newline at end of file + (Yield { + (MathOperator + (Identifier) + (Other "++")) + -> + (Identifier) }))))) diff --git a/test/fixtures/ruby/and-or.diffA-B.txt b/test/fixtures/ruby/and-or.diffA-B.txt index ecb807e9e..aa171841c 100644 --- a/test/fixtures/ruby/and-or.diffA-B.txt +++ b/test/fixtures/ruby/and-or.diffA-B.txt @@ -1,16 +1,12 @@ (Program -{ (Binary + (Binary (Identifier) - (Other "and") + { (Other "and") -> (Other "or") } (Identifier)) -->(Binary - (Identifier) - (Other "or") - (Identifier)) } {+(Binary (Binary (Identifier) (Other "or") (Identifier)) (Other "and") - (Identifier))+}) \ No newline at end of file + (Identifier))+}) diff --git a/test/fixtures/ruby/and-or.diffB-A.txt b/test/fixtures/ruby/and-or.diffB-A.txt index beba35940..5563ee447 100644 --- a/test/fixtures/ruby/and-or.diffB-A.txt +++ b/test/fixtures/ruby/and-or.diffB-A.txt @@ -1,16 +1,12 @@ (Program -{ (Binary + (Binary (Identifier) - (Other "or") + { (Other "or") -> (Other "and") } (Identifier)) -->(Binary - (Identifier) - (Other "and") - (Identifier)) } {-(Binary (Binary (Identifier) (Other "or") (Identifier)) (Other "and") - (Identifier))-}) \ No newline at end of file + (Identifier))-}) diff --git a/test/fixtures/ruby/bitwise-operator.diffA-B.txt b/test/fixtures/ruby/bitwise-operator.diffA-B.txt index 8d8ad07bf..ec274943f 100644 --- a/test/fixtures/ruby/bitwise-operator.diffA-B.txt +++ b/test/fixtures/ruby/bitwise-operator.diffA-B.txt @@ -1,21 +1,13 @@ (Program -{ (Binary + (Binary (Identifier) - (Other "|") + { (Other "|") -> (Other "&") } (Identifier)) -->(Binary + (Binary (Identifier) - (Other "&") - (Identifier)) } -{ (Binary - (Identifier) - (Other ">>") + { (Other ">>") -> (Other "<<") } (Identifier)) -->(Binary - (Identifier) - (Other "<<") - (Identifier)) } {-(Binary (Identifier) (Other "^") - (Identifier))-}) \ No newline at end of file + (Identifier))-}) diff --git a/test/fixtures/ruby/bitwise-operator.diffB-A.txt b/test/fixtures/ruby/bitwise-operator.diffB-A.txt index 64d8c43b9..6d9f6f063 100644 --- a/test/fixtures/ruby/bitwise-operator.diffB-A.txt +++ b/test/fixtures/ruby/bitwise-operator.diffB-A.txt @@ -1,21 +1,13 @@ (Program -{ (Binary + (Binary (Identifier) - (Other "&") + { (Other "&") -> (Other "|") } (Identifier)) -->(Binary + (Binary (Identifier) - (Other "|") - (Identifier)) } -{ (Binary - (Identifier) - (Other "<<") + { (Other "<<") -> (Other ">>") } (Identifier)) -->(Binary - (Identifier) - (Other ">>") - (Identifier)) } {+(Binary (Identifier) (Other "^") - (Identifier))+}) \ No newline at end of file + (Identifier))+}) diff --git a/test/fixtures/ruby/boolean-operator.diffB-A.txt b/test/fixtures/ruby/boolean-operator.diffB-A.txt index 1b930ef8f..eee115ebe 100644 --- a/test/fixtures/ruby/boolean-operator.diffB-A.txt +++ b/test/fixtures/ruby/boolean-operator.diffB-A.txt @@ -1,9 +1,5 @@ (Program -{ (Binary + (Binary (Identifier) - (Other "&&") - (Identifier)) -->(Binary - (Identifier) - (Other "||") - (Identifier)) }) \ No newline at end of file + { (Other "&&") -> (Other "||") } + (Identifier))) diff --git a/test/fixtures/ruby/comparision-operator.diffA-B.txt b/test/fixtures/ruby/comparision-operator.diffA-B.txt index efffc58a1..9cf06ebf3 100644 --- a/test/fixtures/ruby/comparision-operator.diffA-B.txt +++ b/test/fixtures/ruby/comparision-operator.diffA-B.txt @@ -1,17 +1,9 @@ (Program -{ (Binary + (Binary (Identifier) - (Other "<") + { (Other "<") -> (Other "<=") } (Identifier)) -->(Binary + (Binary (Identifier) - (Other "<=") - (Identifier)) } -{ (Binary - (Identifier) - (Other ">") - (Identifier)) -->(Binary - (Identifier) - (Other ">=") - (Identifier)) }) \ No newline at end of file + { (Other ">") -> (Other ">=") } + (Identifier))) diff --git a/test/fixtures/ruby/comparision-operator.diffB-A.txt b/test/fixtures/ruby/comparision-operator.diffB-A.txt index 924a34f15..51e5db842 100644 --- a/test/fixtures/ruby/comparision-operator.diffB-A.txt +++ b/test/fixtures/ruby/comparision-operator.diffB-A.txt @@ -1,17 +1,9 @@ (Program -{ (Binary + (Binary (Identifier) - (Other "<=") + { (Other "<=") -> (Other "<") } (Identifier)) -->(Binary + (Binary (Identifier) - (Other "<") - (Identifier)) } -{ (Binary - (Identifier) - (Other ">=") - (Identifier)) -->(Binary - (Identifier) - (Other ">") - (Identifier)) }) \ No newline at end of file + { (Other ">=") -> (Other ">") } + (Identifier))) diff --git a/test/fixtures/ruby/element-reference.diffA-B.txt b/test/fixtures/ruby/element-reference.diffA-B.txt index 160159629..c404ac33d 100644 --- a/test/fixtures/ruby/element-reference.diffA-B.txt +++ b/test/fixtures/ruby/element-reference.diffA-B.txt @@ -1,17 +1,12 @@ (Program -{ (SubscriptAccess - (Identifier) - (Identifier)) -->(SubscriptAccess - (Identifier) - (StringLiteral)) } (SubscriptAccess - { (Identifier) - ->(Identifier) } - { (SymbolLiteral) - ->(SymbolLiteral) }) + { (Identifier) -> (Identifier) } + { (Identifier) -> (StringLiteral) }) + (SubscriptAccess + { (Identifier) -> (Identifier) } + { (SymbolLiteral) -> (SymbolLiteral) }) {-(Assignment (SubscriptAccess (Identifier) (Identifier)) - (IntegerLiteral))-}) \ No newline at end of file + (IntegerLiteral))-}) diff --git a/test/fixtures/ruby/element-reference.diffB-A.txt b/test/fixtures/ruby/element-reference.diffB-A.txt index eaed02709..638ad5503 100644 --- a/test/fixtures/ruby/element-reference.diffB-A.txt +++ b/test/fixtures/ruby/element-reference.diffB-A.txt @@ -1,17 +1,12 @@ (Program -{ (SubscriptAccess - (Identifier) - (StringLiteral)) -->(SubscriptAccess - (Identifier) - (Identifier)) } (SubscriptAccess - { (Identifier) - ->(Identifier) } - { (SymbolLiteral) - ->(SymbolLiteral) }) + { (Identifier) -> (Identifier) } + { (StringLiteral) -> (Identifier) }) + (SubscriptAccess + { (Identifier) -> (Identifier) } + { (SymbolLiteral) -> (SymbolLiteral) }) {+(Assignment (SubscriptAccess (Identifier) (Identifier)) - (IntegerLiteral))+}) \ No newline at end of file + (IntegerLiteral))+}) diff --git a/test/fixtures/ruby/for.diffA-B.txt b/test/fixtures/ruby/for.diffA-B.txt index 0f21b34a4..3a067fb3b 100644 --- a/test/fixtures/ruby/for.diffA-B.txt +++ b/test/fixtures/ruby/for.diffA-B.txt @@ -1,14 +1,18 @@ (Program -{ (For - (Identifier) - (Identifier) - (Identifier)) -->(For + (For + { (Identifier) -> (Identifier) } + { (Identifier) + -> (ArrayLiteral (IntegerLiteral) (IntegerLiteral) (IntegerLiteral)) + } + { + (Identifier) + -> (MethodCall (Identifier) - (Identifier))) }) \ No newline at end of file + (Identifier)) + })) diff --git a/test/fixtures/ruby/for.diffB-A.txt b/test/fixtures/ruby/for.diffB-A.txt index e9e2850b9..ac0c562d6 100644 --- a/test/fixtures/ruby/for.diffB-A.txt +++ b/test/fixtures/ruby/for.diffB-A.txt @@ -1,14 +1,18 @@ (Program -{ (For - (Identifier) + (For + { (Identifier) -> (Identifier) } + { (ArrayLiteral (IntegerLiteral) (IntegerLiteral) (IntegerLiteral)) + -> + (Identifier) + } + { (MethodCall (Identifier) - (Identifier))) -->(For + (Identifier)) + -> (Identifier) - (Identifier) - (Identifier)) }) \ No newline at end of file + })) diff --git a/test/fixtures/ruby/hash.diffA-B.txt b/test/fixtures/ruby/hash.diffA-B.txt index 6ea8032a6..bcced900c 100644 --- a/test/fixtures/ruby/hash.diffA-B.txt +++ b/test/fixtures/ruby/hash.diffA-B.txt @@ -1,11 +1,8 @@ (Program (Object - { (Pair - (SymbolLiteral) - (StringLiteral)) - ->(Pair - (Identifier) - (StringLiteral)) } + (Pair + { (SymbolLiteral) -> (Identifier) } + { (StringLiteral) -> (StringLiteral) }) {+(Pair (Identifier) (IntegerLiteral))+} @@ -20,4 +17,4 @@ (Boolean))-} {-(Pair (SymbolLiteral) - (IntegerLiteral))-})) \ No newline at end of file + (IntegerLiteral))-})) diff --git a/test/fixtures/ruby/hash.diffB-A.txt b/test/fixtures/ruby/hash.diffB-A.txt index c08045e9a..3639c69be 100644 --- a/test/fixtures/ruby/hash.diffB-A.txt +++ b/test/fixtures/ruby/hash.diffB-A.txt @@ -1,23 +1,17 @@ (Program (Object - { (Pair - (Identifier) - (StringLiteral)) - ->(Pair - (SymbolLiteral) - (StringLiteral)) } + (Pair + { (Identifier) -> (SymbolLiteral) } + { (StringLiteral) -> (StringLiteral) }) {+(Pair (SymbolLiteral) (IntegerLiteral))+} - { (Pair - (Identifier) - (IntegerLiteral)) - ->(Pair - (StringLiteral) - (Boolean)) } + (Pair + { (Identifier) -> (StringLiteral) } + { (IntegerLiteral) -> (Boolean) }) {+(Pair (SymbolLiteral) (IntegerLiteral))+} {-(Pair (Identifier) - (Boolean))-})) \ No newline at end of file + (Boolean))-})) diff --git a/test/fixtures/ruby/lambda-dash-rocket.diffA-B.txt b/test/fixtures/ruby/lambda-dash-rocket.diffA-B.txt index ff3445936..1e3554724 100644 --- a/test/fixtures/ruby/lambda-dash-rocket.diffA-B.txt +++ b/test/fixtures/ruby/lambda-dash-rocket.diffA-B.txt @@ -1,9 +1,7 @@ (Program -{ (AnonymousFunction - (Identifier) - (Identifier) - (Identifier) - (IntegerLiteral) - (IntegerLiteral)) -->(AnonymousFunction - (Identifier)) }) \ No newline at end of file + (AnonymousFunction + { -(Identifier)- } + { -(Identifier)- } + { -(Identifier)- } + { (IntegerLiteral) -> (Identifier) } + { -(IntegerLiteral)- })) diff --git a/test/fixtures/ruby/lambda-dash-rocket.diffB-A.txt b/test/fixtures/ruby/lambda-dash-rocket.diffB-A.txt index 73b4ee923..dd9131a89 100644 --- a/test/fixtures/ruby/lambda-dash-rocket.diffB-A.txt +++ b/test/fixtures/ruby/lambda-dash-rocket.diffB-A.txt @@ -1,9 +1,7 @@ (Program -{ (AnonymousFunction - (Identifier)) -->(AnonymousFunction - (Identifier) - (Identifier) - (Identifier) - (IntegerLiteral) - (IntegerLiteral)) }) \ No newline at end of file + (AnonymousFunction + { +(Identifier)+ } + { +(Identifier)+ } + { +(Identifier)+ } + { (Identifier) -> (IntegerLiteral) } + { +(IntegerLiteral)+ })) diff --git a/test/fixtures/ruby/lambda.diffA-B.txt b/test/fixtures/ruby/lambda.diffA-B.txt index 47acbc3e9..54ff4d6d9 100644 --- a/test/fixtures/ruby/lambda.diffA-B.txt +++ b/test/fixtures/ruby/lambda.diffA-B.txt @@ -1,9 +1,10 @@ (Program -{ (AnonymousFunction - (Identifier)) -->(AnonymousFunction + (AnonymousFunction + { +(Identifier)+ } + { (Identifier) + -> (Binary (Identifier) (Other "+") - (IntegerLiteral))) }) \ No newline at end of file + (IntegerLiteral)) })) diff --git a/test/fixtures/ruby/lambda.diffB-A.txt b/test/fixtures/ruby/lambda.diffB-A.txt index 28bfd89d8..a7d67b661 100644 --- a/test/fixtures/ruby/lambda.diffB-A.txt +++ b/test/fixtures/ruby/lambda.diffB-A.txt @@ -1,9 +1,10 @@ (Program -{ (AnonymousFunction - (Identifier) + (AnonymousFunction + { -(Identifier)- } + { (Binary (Identifier) (Other "+") - (IntegerLiteral))) -->(AnonymousFunction - (Identifier)) }) \ No newline at end of file + (IntegerLiteral)) + -> + (Identifier) })) diff --git a/test/fixtures/ruby/relational-operator.diffA-B.txt b/test/fixtures/ruby/relational-operator.diffA-B.txt index c084291a7..172e39579 100644 --- a/test/fixtures/ruby/relational-operator.diffA-B.txt +++ b/test/fixtures/ruby/relational-operator.diffA-B.txt @@ -1,26 +1,18 @@ (Program -{ (Binary + (Binary (Identifier) - (Other "==") + { (Other "==") -> (Other "<=>") } (Identifier)) -->(Binary + (Binary (Identifier) - (Other "<=>") - (Identifier)) } -{ (Binary - (Identifier) - (Other "!=") + { (Other "!=") -> (Other "=~") } (Identifier)) -->(Binary - (Identifier) - (Other "=~") - (Identifier)) } -{+(Assignment - (Identifier) - (Unary - (Other "!") - (Identifier)))+} -{-(Binary - (Identifier) - (Other "===") - (Identifier))-}) \ No newline at end of file + {+(Assignment + (Identifier) + (Unary + (Other "!") + (Identifier)))+} + {-(Binary + (Identifier) + (Other "===") + (Identifier))-}) diff --git a/test/fixtures/ruby/relational-operator.diffB-A.txt b/test/fixtures/ruby/relational-operator.diffB-A.txt index e923fef27..e1a2420f2 100644 --- a/test/fixtures/ruby/relational-operator.diffB-A.txt +++ b/test/fixtures/ruby/relational-operator.diffB-A.txt @@ -1,26 +1,18 @@ (Program -{ (Binary + (Binary (Identifier) - (Other "<=>") + { (Other "<=>") -> (Other "==") } (Identifier)) -->(Binary + (Binary (Identifier) - (Other "==") - (Identifier)) } -{ (Binary - (Identifier) - (Other "=~") + { (Other "=~") -> (Other "!=") } (Identifier)) -->(Binary - (Identifier) - (Other "!=") - (Identifier)) } -{+(Binary - (Identifier) - (Other "===") - (Identifier))+} -{-(Assignment - (Identifier) - (Unary - (Other "!") - (Identifier)))-}) \ No newline at end of file + {+(Binary + (Identifier) + (Other "===") + (Identifier))+} + {-(Assignment + (Identifier) + (Unary + (Other "!") + (Identifier)))-})