Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Parser question


The extension mechanism has not yet been completely formalized.  
How does subclassing the parser allow you to format code?

JohnC
www.eclipse.org/cdt


cdt-dev-admin@xxxxxxxxxxx wrote on 09/08/2004 10:00:27 AM:

> Working on default C/C++ formatter, I'm trying to override the default
> implementation of  IASTFactoryExtension interface to substitute
> createSimpleTypeSpecifier and overrideCreateSimpleTypeSpecifierMethod  
> methods. To do it before, I inherited from Parser class and replaced
> extensionFactory member ( I didn't like it, but it worked at least).
> Parser is not inheritable now (a final class) and I cannot do it any
> more. Is there any legal way for substitution of default implementation
> of IASTFactoryExtension interface?
>
> Alex Chapiro
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/cdt-dev

Back to the top