LRDE Tiger Compiler  1.34a $Id: 7fef12e1f5fa43449d667a0eec1d837c40fc1202 $
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
tasks.hh
Go to the documentation of this file.
1 
6 #ifndef OBJECT_TASKS_HH
7 # define OBJECT_TASKS_HH
8 
9 # include <task/libtask.hh>
10 
11 namespace object
12 {
13 
15  namespace tasks
16  {
17 
18  TASK_GROUP("Object");
19 
21  BOOLEAN_TASK_DECLARE("o|object", "enable object extensions",
22  enable_object_extensions_p, "");
23 
25  TASK_DECLARE("object-parse", "parse a file, allowing objects",
26  object_parse, "object parse");
27 
28  // FIXME: Some code was deleted here.
29 
31  TASK_DECLARE("object-types-compute", "check for type violations, "
32  "allowing objects",
33  object_types_compute, "object-bindings-compute");
34 
36  TASK_DECLARE("object-rename",
37  "rename identifiers to unique names, allowing objects",
38  object_rename, "object-types-compute");
39 
41  TASK_DECLARE("object-desugar",
42  "remove object constructs from the program",
43  object_desugar, "object-rename");
44 
47  TASK_DECLARE("raw-object-desugar",
48  "remove object constructs from the program "
49  "without recomputing bindings nor types",
50  raw_object_desugar, "object-rename");
51 
52  } // namespace tasks
53 
54 } // namespace object
55 
56 #endif // !OBJECT_TASKS_HH