# 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>

- point - a fully qualified identifier of the target extension point
- id - an optional identifier of the extension instance
- name - an optional name of the extension instance

<!ELEMENT processor (enablement?)>

<!ATTLIST processor

class CDATA #REQUIRED>

- class -

###### 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. This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which accompanies this distribution, and is available at https://www.eclipse.org/legal/epl-2.0/ SPDX-License-Identifier: EPL-2.0