Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Applied: [cdt-patch] ParserSymbolTable : refactor & add better constructor support

Doug Schaefer, Senior Software Developer
IBM Rational Software, Ottawa, Ontario, Canada



Andrew Niefer/Ottawa/IBM@IBMCA 
Sent by: cdt-patch-admin@xxxxxxxxxxx
08/05/2003 05:01 PM
Please respond to
cdt-patch@xxxxxxxxxxx


To
cdt-patch@xxxxxxxxxxx
cc

Subject
[cdt-patch] ParserSymbolTable : refactor & add better constructor support 






Core:
- refactor symbol table function names to start with lower case letters
- added better constructor support :
        - IDerivableContainerSymbol.addConstructor
        - IDerivableContainerSymbol.lookupConstructor
        - IDerivableContainerSymbol.getConstructors
- implicit user-defined conversion sequences now only use constructors not 

marked explicit
- user-defined conversion sequences are now only applied at most once 
(12.3-4 in spec) 
- changed ParserSymbolTableException.r_Unspecified to r_InternalError 
which is thrown on internal symbol table inconsistancies (likely from bugs 

rather than semantic problems with the parsed code)

Core.tests:
- updated tests to reflect function name refactoring
- added ParserSymbolTableTest.testConstructors

-Andrew

[attachment "pst_patch_08.05.03(cdt.core.tests).txt" deleted by Douglas 
Schaefer/Ottawa/IBM] [attachment "pst_patch_08.05.03(cdt.core).txt" 
deleted by Douglas Schaefer/Ottawa/IBM] 



Back to the top