Home | History | Annotate | Download | only in gn

Lines Matching refs:scope

12 #include "tools/gn/scope.h"
17 // command line, and sets up the root scope with the proper values.
32 void AddArgOverrides(const Scope::KeyValueMap& overrides);
34 // Sets up the root scope for a toolchain. This applies the default system
37 void SetupRootScope(Scope* dest,
38 const Scope::KeyValueMap& toolchain_overrides) const;
40 // Sets up the given scope with arguments passed in.
49 bool DeclareArgs(const Scope::KeyValueMap& args,
50 Scope* scope_to_set,
59 const Scope::KeyValueMap& declared_arguments() const {
65 void SetSystemVars(Scope* scope) const;
67 // Sets the given vars on the given scope.
68 void ApplyOverrides(const Scope::KeyValueMap& values, Scope* scope) const;
70 void SaveOverrideRecord(const Scope::KeyValueMap& values) const;
74 Scope::KeyValueMap overrides_;
81 mutable Scope::KeyValueMap all_overrides_;
85 mutable Scope::KeyValueMap declared_arguments_;