aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/forward.hxx
blob: 5fffaafb7a702f10ffcc587345350be308e0581f (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
// file      : libbuild2/forward.hxx -*- C++ -*-
// license   : MIT; see accompanying LICENSE file

#ifndef LIBBUILD2_FORWARD_HXX
#define LIBBUILD2_FORWARD_HXX

#include <libbuild2/types.hxx>

namespace build2
{
  // Forward declarations for the build state.

  // <libbuild2/action.hxx>
  //
  struct action;

  // <libbuild2/buildspec.hxx>
  //
  struct opspec;

  // <libbuild2/variable.hxx>
  //
  class value;
  using values = small_vector<value, 1>;
  struct lookup;

  struct variable;
  class variable_pool;
  class variable_map;
  struct variable_override;
  using variable_overrides = vector<variable_override>;
  class variable_override_cache;

  // <libbuild2/function.hxx>
  //
  class function_map;
  class function_family;

  // <libbuild2/scope.hxx>
  //
  class scope;
  class scope_map;

  // <libbuild2/target-type.hxx>
  //
  class target_type_map;

  // <libbuild2/target-key.hxx>
  //
  class target_key;

  // <libbuild2/target.hxx>
  //
  class target;
  class target_set;
  class include_type;
  struct prerequisite_member;

  // <libbuild2/prerequisite-key.hxx>
  //
  class prerequisite_key;

  // <libbuild2/prerequisite.hxx>
  //
  class prerequisite;

  // <libbuild2/rule.hxx>
  //
  struct match_extra;
  class rule;
  class adhoc_rule;

  // <libbuild2/context.hxx>
  //
  class context;

  // <libbuild2/parser.hxx>
  //
  struct attribute;
  struct attributes;
}

#endif // LIBBUILD2_FORWARD_HXX