[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Applied [HEAD] Re: [cdt-patch] IContainerSymbol contents Iterator
|
JohnC
Andrew Niefer/Ottawa/IBM@IBMCA
Sent by: cdt-patch-admin@xxxxxxxxxxx
01/16/2004 05:58 PM
Please respond to
cdt-patch@xxxxxxxxxxx
To
cdt-patch@xxxxxxxxxxx
cc
Subject
[cdt-patch] IContainerSymbol contents Iterator
This patch implements an iterator on all the contents of IContainerSymbol.
This is a first step to an iterator on the IAST nodes
Core:
Created IExtensibleSymbol, which is a new base class for the
symbol interfaces
Created IUsingDirectiveSymbol and UsingDirectiveSymbol
Modified ASTUsingDirective to use IUsingDirectiveSymbol
Modified CompleteParseASTFactory.createUsingDirective
Added IContainerSymbol.getContentsIterator()
Implemented getContentsIterator in ContainerSymbol
Core.tests:
Modified CompleteParseASTTest.testUsingClauses
Added ParserSymbolTableTest.testIterator_1 & testIterator_2
Tested on windows & linux
-Andrew
[attachment "01.16.04.core.txt" deleted by John Camelon/Ottawa/IBM]
[attachment "01.16.04.core.tests.txt" deleted by John Camelon/Ottawa/IBM]