Lines Matching refs:scope
419 /// Return the current lexical scope.
426 // The current decl is a scope_decl, so it's our lexical scope.
429 // The current decl is not a scope_decl, so our lexical scope is
430 // the scope of this decl.
433 // We have no scope set.
497 /// Pop all decls until a give scope is popped.
499 /// @param scope the scope to pop.
501 /// @return true if the scope was popped, false otherwise. Note
502 /// that if the scope wasn't found, it might mean that many other
505 pop_scope(scope_decl_sptr scope)
512 if (s == scope)
520 return dynamic_pointer_cast<scope_decl>(d) == scope;
523 /// like @ref pop_scope, but if the scope couldn't be popped, the
526 /// @param scope the scope to pop.
528 pop_scope_or_abort(scope_decl_sptr scope)
529 {ABG_ASSERT(pop_scope(scope));}
565 // already been added to their scope.
725 /// the parsing. It adds the declaration to the current scope, and updates
744 /// during the parsing. It adds the type decl to the current scope
1444 /// Get the IR node representing the scope for a given XML node.
1448 /// @param node the XML for which to return the scope decl. If its
1451 /// @param access the access specifier of the node in its scope, if
1453 /// provided in its scope, then the parameter is set to no_access.
1455 /// @return the IR node representing the scope of the IR node for the
1461 scope_decl_sptr nil, scope;
1491 scope = dynamic_pointer_cast<scope_decl>
1493 ABG_ASSERT(scope);
1497 scope = dynamic_pointer_cast<scope_decl>(i->second);
1499 return scope;
1522 scope_decl_sptr scope;
1526 scope = get_scope_for_node(n, access);
1527 /// In some cases, if for instance the scope of 'n' is a
1536 ABG_ASSERT(scope);
1537 push_decl(scope);
1552 pop_scope_or_abort(scope);
1631 // We are at global scope, as we've just seen the top-most
3327 /// this function is added to its current scope.
3449 /// this function is added to its current scope.
3495 scope_decl* scope = rdr.get_cur_scope();
3497 string qualified_name = build_qualified_name(scope, fname);
3523 scope_decl* scope = rdr.get_cur_scope();
3525 string qualified_name = build_qualified_name(scope, type_name);
3542 /// to the current scope or not.
3575 scope_decl* scope = rdr.get_cur_scope();
3577 string qualified_name = build_qualified_name(scope, name);
3582 /// Test if a variable in a particular scope is suppressed by a
3587 /// @param scope the scope of the variable to consider.
3594 const scope_decl* scope,
3597 string qualified_name = build_qualified_name(scope, v.get_name());
3674 /// this function is added to its current scope.
3756 /// function is added to its current scope.
3844 /// this function is added to its current scope.
3920 /// this function is added to its current scope.
4000 /// this function is added to its current scope.
4200 /// this function is added to its current scope.
4363 /// enum_type_decl to the current scope.
4385 /// function is added to its current scope.
4607 /// class_decl_sptr to the current scope.
5035 /// union_decl_sptr to the current scope.
5382 /// this function is added to its current scope.
5448 /// function is added to its current scope.
5984 /// function is added to its current scope.