1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 22:31:36 +03:00
semantic/test/fixtures/haskell/corpus/expressions.parseA.txt

417 lines
11 KiB
Plaintext
Raw Normal View History

(Module
(Empty)
(Statements
(Function
(VariableIdentifier)
(Statements
(App
(VariableIdentifier)
(Empty)
(VariableIdentifier))))
(Function
(VariableIdentifier)
(Statements
(App
(App
(VariableIdentifier)
(Empty)
(VariableIdentifier))
(Empty)
(VariableIdentifier))))
(Function
(VariableIdentifier)
(Statements
(App
(App
(App
(VariableIdentifier)
(Empty)
(VariableIdentifier))
(Empty)
(VariableIdentifier))
(Empty)
(VariableIdentifier))))
(Function
(VariableIdentifier)
(Statements
(App
(ConstructorIdentifier)
(Empty)
(VariableIdentifier))))
(Function
(VariableIdentifier)
(Statements
(App
(ConstructorIdentifier)
(Empty)
(VariableIdentifier))))
(Function
(VariableIdentifier)
(Statements
(App
(App
(App
(ConstructorIdentifier)
(Empty)
(VariableIdentifier))
(Empty)
(VariableIdentifier))
(Empty)
(VariableIdentifier))))
(Function
(VariableIdentifier)
(Statements
(UnitConstructor)))
2018-06-12 20:47:48 +03:00
(Function
(VariableIdentifier)
(Statements
2018-06-25 21:20:30 +03:00
(ArithmeticSequence
2018-06-12 20:47:48 +03:00
(Integer))))
(Function
(VariableIdentifier)
(Statements
2018-06-25 21:20:30 +03:00
(ArithmeticSequence
2018-06-12 20:47:48 +03:00
(Integer)
(Integer))))
(Function
(VariableIdentifier)
(Statements
2018-06-25 21:20:30 +03:00
(ArithmeticSequence
2018-06-12 20:47:48 +03:00
(Integer)
(Integer))))
(Function
(VariableIdentifier)
(Statements
2018-06-25 21:20:30 +03:00
(ArithmeticSequence
2018-06-12 20:47:48 +03:00
(Integer)
(Integer)
(Integer))))
(Function
(VariableIdentifier)
(Statements
(ListComprehension
(VariableIdentifier)
(Generator
(VariableIdentifier)
(VariableIdentifier)))))
(Function
(VariableIdentifier)
(Statements
(ListComprehension
(Tuple
(VariableIdentifier)
(VariableIdentifier))
(Generator
(VariableIdentifier)
(VariableIdentifier))
(Generator
(VariableIdentifier)
(VariableIdentifier)))))
(Function
(VariableIdentifier)
(Statements
(ListComprehension
(VariableIdentifier)
(Generator
(VariableIdentifier)
(Array
(Array
(Tuple
(Integer)
(Integer))
(Tuple
(Integer)
(Integer)))
(Array
(Tuple
(Integer)
(Integer))
(Tuple
(Integer)
(Integer)))))
(Generator
(TuplePattern
(Integer)
(VariableIdentifier))
2018-06-12 20:47:48 +03:00
(VariableIdentifier)))))
(Function
(VariableIdentifier)
(Statements
(ListComprehension
(Tuple
(VariableIdentifier)
(VariableIdentifier))
(Generator
(VariableIdentifier)
(Array
(Integer)
(Integer)))
(Generator
(VariableIdentifier)
2018-06-25 21:20:30 +03:00
(ArithmeticSequence
2018-06-12 20:47:48 +03:00
(Integer)
(Integer))))))
(Function
(VariableIdentifier)
(Statements
(ListComprehension
(ListComprehension
(Tuple
(VariableIdentifier)
(VariableIdentifier))
(Generator
(VariableIdentifier)
(Array
(Integer)
(Integer))))
(Generator
(VariableIdentifier)
2018-06-25 21:20:30 +03:00
(ArithmeticSequence
2018-06-12 20:47:48 +03:00
(Integer))))))
(Function
(VariableIdentifier)
(Statements
(App
(App
(VariableIdentifier)
(Empty)
2018-06-12 20:47:48 +03:00
(Integer))
(Empty)
2018-06-12 20:47:48 +03:00
(ListComprehension
(ListComprehension
(Tuple
(VariableIdentifier)
(VariableIdentifier))
(Generator
(VariableIdentifier)
(Array
(Integer)
(Integer))))
(Generator
(VariableIdentifier)
2018-06-25 21:20:30 +03:00
(ArithmeticSequence
(Integer)))))))
(Function
(VariableIdentifier)
(Statements
(RightOperatorSection
(ConstructorOperator
(ConstructorSymbol))
(VariableIdentifier))))
(Function
(VariableIdentifier)
(Statements
(RightOperatorSection
(ConstructorOperator
(ConstructorSymbol))
(VariableIdentifier))))
(Function
(VariableIdentifier)
(Statements
(LeftOperatorSection
(VariableIdentifier)
(ConstructorOperator
(ConstructorSymbol)))))
(Function
(VariableIdentifier)
(Statements
(LeftOperatorSection
(VariableIdentifier)
(ConstructorOperator
2018-06-13 00:19:18 +03:00
(ConstructorSymbol)))))
(Function
(VariableIdentifier)
(Statements
(InfixOperatorApp
(VariableIdentifier)
(Empty)
2018-06-13 00:19:18 +03:00
(VariableOperator
(InfixVariableIdentifier))
(VariableIdentifier))))
(Function
(VariableIdentifier)
(Statements
(QualifiedConstructorIdentifier
(ModuleIdentifier)
(ConstructorIdentifier))))
(Function
(VariableIdentifier)
(ConstructorPattern
(Statements
(QualifiedConstructorIdentifier
(ModuleIdentifier)
(ConstructorIdentifier))
(VariableIdentifier)))
(Statements
(InfixOperatorApp
(ConstructorIdentifier)
(Empty)
2018-06-13 00:19:18 +03:00
(VariableOperator
(VariableSymbol))
(InfixOperatorApp
(VariableIdentifier)
(Empty)
2018-06-13 00:19:18 +03:00
(VariableOperator
(VariableSymbol))
(InfixOperatorApp
(TextElement)
(Empty)
2018-06-13 00:19:18 +03:00
(VariableOperator
(VariableSymbol))
(InfixOperatorApp
(VariableIdentifier)
(Empty)
2018-06-13 00:19:18 +03:00
(VariableOperator
(VariableSymbol))
(InfixOperatorApp
(TextElement)
(Empty)
2018-06-13 00:19:18 +03:00
(VariableOperator
(VariableSymbol))
(InfixOperatorApp
(VariableIdentifier)
(Empty)
2018-06-13 00:19:18 +03:00
(VariableOperator
(VariableSymbol))
(InfixOperatorApp
(TextElement)
(Empty)
2018-06-13 00:19:18 +03:00
(VariableOperator
(VariableSymbol))
(InfixOperatorApp
(VariableIdentifier)
(Empty)
2018-06-13 00:19:18 +03:00
(VariableOperator
(VariableSymbol))
(TextElement)))))))))))
(Function
(VariableIdentifier)
(Statements
(Do
(BindPattern
(VariableIdentifier)
(InfixOperatorApp
(VariableIdentifier)
(Empty)
2018-06-13 00:19:18 +03:00
(VariableOperator
(VariableSymbol))
(VariableIdentifier)))
(BindPattern
(VariableIdentifier)
2018-06-13 00:50:38 +03:00
(InfixOperatorApp
(VariableIdentifier)
(Empty)
2018-06-13 00:50:38 +03:00
(VariableOperator
(VariableSymbol))
(VariableIdentifier))))))
(Function
(VariableIdentifier)
(Statements
(Lambda
(VariableIdentifier)
(VariableIdentifier))))
(Function
(VariableIdentifier)
(Statements
(Lambda
(ConstructorPattern
(Statements
(ConstructorIdentifier)
(VariableIdentifier)))
(VariableIdentifier))))
(Function
(VariableIdentifier)
(Statements
(Lambda
(VariableIdentifier)
(InfixOperatorApp
(VariableIdentifier)
(Empty)
2018-06-13 00:50:38 +03:00
(ConstructorOperator
(ConstructorSymbol))
(InfixOperatorApp
(VariableIdentifier)
(Empty)
2018-06-13 00:50:38 +03:00
(ConstructorOperator
(ConstructorSymbol))
(VariableIdentifier))))))
(Function
(VariableIdentifier)
(Statements
(Lambda
(Statements
(VariableIdentifier)
(VariableIdentifier)
(VariableIdentifier))
(InfixOperatorApp
(VariableIdentifier)
(Empty)
2018-06-13 00:50:38 +03:00
(VariableOperator
(VariableSymbol))
2018-06-13 00:19:18 +03:00
(InfixOperatorApp
(VariableIdentifier)
(Empty)
2018-06-13 00:19:18 +03:00
(VariableOperator
(VariableSymbol))
(VariableIdentifier))))))
(Function
(VariableIdentifier)
(Statements
(VariableOperator
(VariableSymbol))))
(Function
(VariableIdentifier)
(Statements
(InfixOperatorApp
(Integer)
(Empty)
(VariableOperator
(VariableSymbol))
(Integer))))
(Function
(VariableIdentifier)
(Statements
(PrefixNegation
(Integer))))
(Function
(VariableIdentifier)
(Statements
(PrefixNegation
(VariableIdentifier))))
(Function
(VariableIdentifier)
(Statements
(PrefixNegation
2018-06-13 01:07:58 +03:00
(Integer))))
(Function
(VariableIdentifier)
(Statements
(InfixOperatorApp
(VariableIdentifier)
(Empty)
2018-06-13 01:07:58 +03:00
(VariableOperator
(VariableSymbol))
(App
(App
(VariableIdentifier)
(Empty)
2018-06-13 01:07:58 +03:00
(Lambda
(VariableIdentifier)
(InfixOperatorApp
(Tuple
(VariableIdentifier))
(Empty)
2018-06-13 01:07:58 +03:00
(VariableOperator
(VariableSymbol))
(InfixOperatorApp
(ConstructorIdentifier)
(Empty)
2018-06-13 01:07:58 +03:00
(VariableOperator
(VariableSymbol))
(App
(VariableIdentifier)
(Empty)
2018-06-13 01:07:58 +03:00
(VariableIdentifier))))))
(Empty)
2018-06-13 01:07:58 +03:00
(VariableIdentifier)))))))