Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Retrieve file location of new nodes in AST



2010/6/21 Schorn, Markus <Markus.Schorn@xxxxxxxxxxxxx>
You cannot have file locations for ASTNodes that are not created by the parser. If you need information
about ast-nodes that you have created yourself you need to store it elsewhere.

But is there any efficient way to _retrieve_ the information where the nodes were inserted during performing the change? Or do I have to rebuild the whole AST, find that node and then retrieve its position?

Best regards,
-- Tomasz WesoĊ‚owski



Back to the top