PDOM AST Processor

Identifier:
org.eclipse.cdt.core.PDOMASTProcessor

Since:
8.3

Description:
This extension point allows extensions to contribute to the information that is written to the .pdom file. After the AST has been parsed, all contributors are provided a chance to process the AST's translation units while the .pdom is being updated.

Configuration Markup:

<!ELEMENT extension (processor+)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT processor (enablement?)>

<!ATTLIST processor

class CDATA #REQUIRED>


Examples:
The following is an example of a Tagger contribution:


<extension
    point="org.eclipse.cdt.core.PDOMASTProcessor"
    id="example"
    name="Example PDOM AST Processor">
    <bindingTagger
        local-id="my-processor"
        class="com.example.internal.ExamplePDOMASTProcessor">
        <enablement>
            <with variable="projectNatures">
                <iterate operator="or">
                    <equals value="com.example.my-nature"/>
                </iterate>
            </with>
        </enablement>
    </bindingTagger>
</extension>

API Information:
The contributed class must implement org.eclipse.cdt.core.index.IPDOMASTProcessor interface.


Copyright (c) 2013 QNX Software Systems and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html