Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(274)

Side by Side Diff: tools/gn/scope.h

Issue 2554863002: Cleanup remaining class/struct fwd declarations (Closed)
Patch Set: Style fixes Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tools/gn/ninja_writer.h ('k') | tools/gn/target.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef TOOLS_GN_SCOPE_H_ 5 #ifndef TOOLS_GN_SCOPE_H_
6 #define TOOLS_GN_SCOPE_H_ 6 #define TOOLS_GN_SCOPE_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 #include <set> 10 #include <set>
11 #include <utility> 11 #include <utility>
12 12
13 #include "base/containers/hash_tables.h" 13 #include "base/containers/hash_tables.h"
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "base/memory/ref_counted.h" 15 #include "base/memory/ref_counted.h"
16 #include "base/memory/scoped_vector.h" 16 #include "base/memory/scoped_vector.h"
17 #include "tools/gn/err.h" 17 #include "tools/gn/err.h"
18 #include "tools/gn/pattern.h" 18 #include "tools/gn/pattern.h"
19 #include "tools/gn/source_dir.h" 19 #include "tools/gn/source_dir.h"
20 #include "tools/gn/value.h" 20 #include "tools/gn/value.h"
21 21
22 class FunctionCallNode;
23 class ImportManager;
24 class Item; 22 class Item;
25 class ParseNode; 23 class ParseNode;
26 class Settings; 24 class Settings;
27 class TargetManager;
28 class Template; 25 class Template;
29 26
30 // Scope for the script execution. 27 // Scope for the script execution.
31 // 28 //
32 // Scopes are nested. Writing goes into the toplevel scope, reading checks 29 // Scopes are nested. Writing goes into the toplevel scope, reading checks
33 // values resursively down the stack until a match is found or there are no 30 // values resursively down the stack until a match is found or there are no
34 // more containing scopes. 31 // more containing scopes.
35 // 32 //
36 // A containing scope can be const or non-const. The const containing scope is 33 // A containing scope can be const or non-const. The const containing scope is
37 // used primarily to refer to the master build config which is shared across 34 // used primarily to refer to the master build config which is shared across
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after
378 375
379 typedef std::set<ProgrammaticProvider*> ProviderSet; 376 typedef std::set<ProgrammaticProvider*> ProviderSet;
380 ProviderSet programmatic_providers_; 377 ProviderSet programmatic_providers_;
381 378
382 SourceDir source_dir_; 379 SourceDir source_dir_;
383 380
384 DISALLOW_COPY_AND_ASSIGN(Scope); 381 DISALLOW_COPY_AND_ASSIGN(Scope);
385 }; 382 };
386 383
387 #endif // TOOLS_GN_SCOPE_H_ 384 #endif // TOOLS_GN_SCOPE_H_
OLDNEW
« no previous file with comments | « tools/gn/ninja_writer.h ('k') | tools/gn/target.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698