1 sa_declarator_context initialization fields:
3 decl_specs: declaration specifiers - either list of as_declaration_specifier,
4 or sa_decl_spec (less likely, although we need it already processed, in sa_declarator,
5 but causes code overhead for the caller)
7 access_specifier: access specifier (PUBLIC,PROTECTED,PRIVATE), probably
10 parent_decl_seq: parent declaration sequence to insert the analysed
11 declarations into, also links to parent compound statement
14 "context/scope type": enumeration of significant discriminator (namespace, class,
15 function, block), perhaps not necessary, extracted from parent_decl_seq
18 processing of decl_specs and parent_decl_seq in order to get c/s type in
19 context create() is not possible due to lsd limitations, so the context will
20 be created with a static method of another name, perhaps prepare()
22 ptr<sa_declarator_context> sa_declarator_context::prepare(
23 ptr< list< srp<as_declaration_specifier> > > a_decl_specs,
24 access_specifier::type a_access_specifier,
25 ptr< ss_decl_seq > a_parent_decl_seq);