This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 79918

Summary: *Code Model* APT-based preprocessor
Product: cnd Reporter: Vladimir Voskresensky <vv159170>
Component: -- Other --Assignee: Vladimir Voskresensky <vv159170>
Status: CLOSED FIXED    
Severity: blocker    
Priority: P1    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: TASK Exception Reporter:
Bug Depends on: 80371, 80372, 80375, 81055, 81056, 81315, 81529, 81530, 81532, 81607    
Bug Blocks:    

Description Vladimir Voskresensky 2006-07-10 16:32:00 UTC
This task is created to improve performance of Project parsing:
 - one time lexing of the file
 - separated Lexer and preprocessing
 - universal APT-based structure of lexed file
 - universal traversing over APT
Advantages:
 - language independent preprocessing
 - intellisence #include handling (PCH-like support)
 - common infrastructure to be used by preprocessor code folding and parsing
(APT Visitor extension)
 - guard blocks
Other TODO possibilities:
 - C/C++ independent language keyword filters
 - syntax higlighting with understanding of Macros using
 - color highlighting of inactive preproc branches
Comment 1 Vladimir Voskresensky 2006-08-12 11:17:09 UTC
APT integrated in cnd-nb50-dev branch.
To use it pass -J-Dcnd.use.apt=true param