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 PARSE_TASKS_HH
7 # define PARSE_TASKS_HH
8 
9 # include <misc/fwd.hh>
10 
11 # include <task/libtask.hh>
12 
13 namespace parse
14 {
15 
17  namespace tasks
18  {
20  extern misc::FileLibrary file_library;
21 
22  TASK_GROUP("1. Parsing");
23 
25  BOOLEAN_TASK_DECLARE("scan-trace", "trace the scanning",
26  scan_trace_p, "");
28  BOOLEAN_TASK_DECLARE("parse-trace", "trace the parse",
29  parse_trace_p, "");
31  STRING_TASK_DECLARE("prelude", "builtin",
32  "name of the prelude. Defaults to \"builtin\" "
33  "denoting the builtin prelude",
34  prelude, "");
36  TASK_DECLARE("X|no-prelude", "same as --prelude=\"\"",
37  no_prelude, "");
39  TASK_DECLARE("parse", "parse a file",
40  parse, "");
41 
43  TASK_DECLARE("library-display", "display library search path",
44  library_display, "");
46  MULTIPLE_STRING_TASK_DECLARE("P|library-append",
47  "append directory DIR to the search path",
48  library_append, "");
50  MULTIPLE_STRING_TASK_DECLARE("p|library-prepend",
51  "prepend directory DIR to the search path",
52  library_prepend, "");
53 
54  } // namespace tasks
55 
56 } // namespace parse
57 
58 #endif // !PARSE_TASKS_HH