IBM Software Group  |  Rational software
© 2004 IBM Corporation
16
Introducing IASTNodeLocation
§Every node in the AST derives from IASTNode
§Every IASTNode provides a mechanism for resolving its location in the physical AST
4External Header Files
4Resources
4Working Copies
4Macro Expansions
§getNodeLocations() returns an array of IASTNodeLocation, as a node may span multiple locations (when macros are involved)
§Interpretation of macro expansion locations are up to the client