Re: Re: software design clarification

Stefan Seefeld <[email protected]> Tue, 08 May 2007 17:03:00 -0400
Newsgroups gmane.comp.documentation.synopsis
Message-ID <[email protected]>
Roman Yakovenko wrote:

>> Can you elaborate ? I don't doubt what you are saying, I merely
>> hope that a concrete list of metadata may help us complete the
>> Synopsis AST. (Since the existing type analysis is rather rudimentary,
>> most metadata gets stored as strings, e.g. 'premodifiers',
>> 'postmodifiers'),
>> so it's impossible to do a true query like 'is this a const member ?'
> 
> I attached few files: source code, information generated by gccxml and
> synposis.
> Even if you say that enumerators has all relevant information the
> trees are still diffrent:
> * Synopsis doesn't have "::" global namespace ( module )
> * All built-ins are missing - in my case this is not important, but
> still should be noted.

Just as a FYI, you may want to use the 'Dump' formatter, which generates
an XML output from the AST. It may be that in the runs you did, some
processors were implicitely run to strip off things so you didn't see
them. There is no reason you shouldn't be able to see the global namespace.
Likewise, builtin types should be available, too.

Regards,
		Stefan

-- 

      ...ich hab' noch einen Koffer in Berlin...