tock-mirror/common
Neil Brown ba66cce89f Moved all the remaining pass information to be with the passes themselves, and adjusted the tests accordingly
All the passes now have their information (name, pre-requisites and post- properties) stored at the point where the pass is declared, which means the pass lists are just a simple list of pass functions.

The main consequence of this change was that the tests had to be changed.  Now, instead of taking a "pass applied to data" item (type: PassM b), they take both the pass (type: Pass) and source data (type: b), and apply them later.  This was the decision that involved the simplest changes to the existing tests (simply unbracketing the application of the pass to the source).  I also had to include a few old-style versions though (testPass', testPassShouldFail') for where the functions were being used to test things that weren't actually passes (mainly StructureOccam).

Fixes #48
2008-06-02 14:31:19 +00:00
..
CommonTest.hs Go back to passing the value to the type-contains function. 2008-04-02 16:11:13 +00:00
Errors.hs Changed to print out the error context (based on the meta tag) on stderr instead of stdout 2008-05-30 16:40:21 +00:00
EvalConstants.hs Added a type-class for retrieving the (AST) type of things 2008-05-17 11:41:52 +00:00
EvalLiterals.hs Clean up EvalLiterals. 2008-04-08 00:29:23 +00:00
GenericUtils.hs Move DataBox into Utils. 2008-05-09 09:50:42 +00:00
Intrinsics.hs Added support for some intrinsic (time-related) functions in Rain 2008-03-22 18:58:10 +00:00
Pattern.hs Added the -fwarn-missing-signatures option and added all missing type signatures for non-test modules (and most for test modules too) 2008-02-05 23:06:03 +00:00
PrettyShow.hs Initial implementation of the occam-pi preprocessor. 2008-02-28 20:27:30 +00:00
ShowCode.hs Fixed implicit mobility to work in the (C++, at least) backend 2008-06-01 19:46:32 +00:00
TestFramework.hs Moved all the testPass* functions into the TestMonad, using unsafePerformIO for running them inside QuickCheck 2008-03-05 16:06:14 +00:00
TestHarness.hs Changed TestHarness to support Rain test files as well as occam 2008-05-17 13:13:52 +00:00
TestUtils.hs Moved all the remaining pass information to be with the passes themselves, and adjusted the tests accordingly 2008-06-02 14:31:19 +00:00
TreeUtils.hs Moved all the testPass* functions into the TestMonad, using unsafePerformIO for running them inside QuickCheck 2008-03-05 16:06:14 +00:00
Types.hs Add SubscriptCheck field to SubscriptFromFor etc. 2008-05-26 17:36:26 +00:00
Utils.hs Added a new operator to Utils (>.>, the flipped version of <.<) 2008-06-02 14:09:33 +00:00