summaryrefslogtreecommitdiff
path: root/tiger-compiler/src/escapes/tasks.hh
blob: 636c13f8c6d2a0e63cd625e5378f9934ea89421d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/**
 ** \file escapes/tasks.hh
 ** \brief Escapes module related tasks.
 */

#pragma once

#include <task/libtask.hh>

/// The Tasks of the escapes module.
namespace escapes::tasks
{
  TASK_GROUP("3. Escapes");

  /// Compute variables escaping.
  TASK_DECLARE("e|escapes-compute",
               "compute the escaping variables "
               "and the functions requiring a static link",
               escapes_compute,
               "bound");

  /// Display escaped variables.
  TASK_DECLARE("E|escapes-display",
               "enable escape display in the AST",
               escapes_display,
               "parse");

} // namespace escapes::tasks