It took longer to understand features like the parser and the PDOM.
理解像解析器和PDOM这样的功能则花费了更长的时间。
This provides the routines that store the indexer's data within the PDOM.
它提供了将索引器的数据存储到 PDOM 的例程。
To show how this works, I need to back up and explain how the PDOM operates.
为显示其工作原理,我需要备份并解释PDOM是如何操作的。
You can also search through the PDOM using the static methods provided in the DOMSearchUtil class.
也可以使用在domsearchutil类中提供的静态方法来搜索PDOM。
When the PDOM is created for a project, it constructs a Database object to manage its low-level storage.
为项目创建了一个PDOM后,它会构造一个Database对象来管理其底层存储。
In Part 5, I discuss code completion and content assist, including how they work and how they access the PDOM index.
在第5部分中,我将探讨代码完成及内容协助,包括二者如何工作以及如何访问PDOM索引。
I've added the PDOM classes, and considering the size of the application, Bare Bones just doesn't seem appropriate anymore.
我已经添加了pdom类,考虑到该应用程序的大小,精简版似乎不再合适。
Then, it stores a reference to the unit's file in the PDOM, along with references to the included directives and macro definitions.
然后,它存储一个对PDOM中的单元文件的引用以及对所包含的指令和宏定义的其他引用。
After the indexer receives the IASTTranslationUnit, it gets a write lock on the PDOM and begins persisting the TranslationUnit's data.
索引器接收到IASTTranslationUnit后,会得到在PDOM上的一个写锁并开始保持TranslationUnit的数据。
The Database builds a new RandomAccessFile and gives it the project name and the time in milliseconds -- these are the *.pdom files you see.
Database构建一个新RandomAccessFile 并将项目名称和时间(以毫秒为单位)赋给它 ——这就是所看到的 *.pdom文件。
To explain this and other interesting features, I need to describe what the indexer does with the parser's AST and how it interacts with the PDOM.
为解释这个以及其他有趣的特性,我需要描述一下索引器使用解析器的AST将如何工作以及它如何同PDOM进行交互。
To explain this and other interesting features, I need to describe what the indexer does with the parser's AST and how it interacts with the PDOM.
为解释这个以及其他有趣的特性,我需要描述一下索引器使用解析器的AST将如何工作以及它如何同PDOM进行交互。
应用推荐