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);
39 Scope::KeyValueMap GetAllOverrides() const;
41 // Sets up the root scope for a toolchain. This applies the default system
44 void SetupRootScope(Scope* dest,
45 const Scope::KeyValueMap& toolchain_overrides) const;
47 // Sets up the given scope with arguments passed in.
56 bool DeclareArgs(const Scope::KeyValueMap& args,
57 Scope* scope_to_set,
67 const Scope::KeyValueMap& overrides,
68 const Scope::KeyValueMap& declared_arguments,
74 void MergeDeclaredArguments(Scope::KeyValueMap* dest) const;
78 void SetSystemVarsLocked(Scope* scope) const;
80 // Sets the given vars on the given scope.
81 void ApplyOverridesLocked(const Scope::KeyValueMap& values,
82 Scope* scope) const;
84 void SaveOverrideRecordLocked(const Scope::KeyValueMap& values) const;
88 Scope::KeyValueMap overrides_;
95 mutable Scope::KeyValueMap all_overrides_;
99 mutable Scope::KeyValueMap declared_arguments_;