Lines Matching defs:Scope

28 Scope::Scope(const Settings* settings)
36 Scope::Scope(Scope* parent)
44 Scope::Scope(const Scope* parent)
52 Scope::~Scope() {
57 const Value* Scope::GetValue(const base::StringPiece& ident,
82 Value* Scope::GetMutableValue(const base::StringPiece& ident,
98 Value* Scope::GetValueForcedToCurrentScope(const base::StringPiece& ident,
115 const Value* Scope::GetValue(const base::StringPiece& ident) const {
124 Value* Scope::SetValue(const base::StringPiece& ident,
133 void Scope::RemoveIdentifier(const base::StringPiece& ident) {
139 void Scope::RemovePrivateIdentifiers() {
154 bool Scope::AddTemplate(const std::string& name, const Template* templ) {
161 const Template* Scope::GetTemplate(const std::string& name) const {
170 void Scope::MarkUsed(const base::StringPiece& ident) {
179 void Scope::MarkUnused(const base::StringPiece& ident) {
188 bool Scope::IsSetButUnused(const base::StringPiece& ident) const {
198 bool Scope::CheckForUnusedVars(Err* err) const {
220 void Scope::GetCurrentScopeValues(KeyValueMap* output) const {
225 bool Scope::NonRecursiveMergeTo(Scope* dest,
278 Scope** dest_scope = &dest->target_defaults_[i->first];
281 *dest_scope = new Scope(settings_);
336 scoped_ptr<Scope> Scope::MakeClosure() const {
337 scoped_ptr<Scope> result;
341 result.reset(new Scope(const_containing_));
348 result.reset(new Scope(settings_));
363 Scope* Scope::MakeTargetDefaults(const std::string& target_type) {
367 Scope** dest = &target_defaults_[target_type];
372 *dest = new Scope(settings_);
376 const Scope* Scope::GetTargetDefaults(const std::string& target_type) const {
385 const PatternList* Scope::GetSourcesAssignmentFilter() const {
393 void Scope::SetProcessingBuildConfig() {
398 void Scope::ClearProcessingBuildConfig() {
403 bool Scope::IsProcessingBuildConfig() const {
411 void Scope::SetProcessingImport() {
416 void Scope::ClearProcessingImport() {
421 bool Scope::IsProcessingImport() const {
429 const SourceDir& Scope::GetSourceDir() const {
437 Scope::ItemVector* Scope::GetItemCollector() {
445 void Scope::SetProperty(const void* key, void* value) {
454 void* Scope::GetProperty(const void* key, const Scope** found_on_scope) const {
466 void Scope::AddProvider(ProgrammaticProvider* p) {
470 void Scope::RemoveProvider(ProgrammaticProvider* p) {