Lines Matching refs:scopes
37 : scope(template_stack::parser(*this)), scopes(), parent_1_4(0) in template_stack()
39 scopes.push_front(template_scope()); in template_stack()
40 parent_1_4 = &scopes.front(); in template_stack()
45 for (template_scope const* i = &*scopes.begin(); i; in find()
58 scopes.front().symbols, symbol.c_str()); in find_top_scope()
63 BOOST_ASSERT(!scopes.empty()); in top()
64 return scopes.front().symbols; in top()
69 BOOST_ASSERT(!scopes.empty()); in top_scope()
70 return scopes.front(); in top_scope()
75 BOOST_ASSERT(!scopes.empty()); in add()
83 scopes.front().symbols, ts.identifier.c_str(), ts); in add()
90 template_scope const& old_front = scopes.front(); in push()
91 scopes.push_front(template_scope()); in push()
92 scopes.front().parent_1_4 = parent_1_4; in push()
93 scopes.front().parent_scope = &old_front; in push()
94 parent_1_4 = &scopes.front(); in push()
99 parent_1_4 = scopes.front().parent_1_4; in pop()
100 scopes.pop_front(); in pop()
110 parent_1_4 = scopes.front().parent_1_4; in start_template()
111 scopes.front().parent_scope = symbol->lexical_parent; in start_template()
114 scopes.front().parent_scope = scopes.front().parent_1_4; in start_template()