# Node Tagger

###### Identifier:

org.eclipse.cdt.core.tagger

###### Since:

8.2

###### Description:

This extension point allows extensions to contribute to the parsed nodes. When PDOM nodes are tagged, the content of the tag is stored in to the Database. The information for other nodes, e.g., the AST, is stored in memory.

###### Configuration Markup:

<!ELEMENT extension (bindingTagger+)>

<!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 bindingTagger EMPTY>

<!ATTLIST bindingTagger

class CDATA #REQUIRED

local-id CDATA #REQUIRED>

- class -
- local-id - A unique identifier for this tagger's contributions. The local id will be appended to the contributing plugin's id (separated with a dot '.') to form the globally unique identifier for this tagger. This id is used to uniquely associate the tag with this plugin.

###### Examples:

The following is an example of a Tagger contribution:

    <extension
        point="org.eclipse.cdt.core.tagger"
        id="example"
        name="Example Tagger Extension">
        <bindingTagger
            local-id="my-tagger"
            class="com.example.internal.ExampleTagger">
            <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.dom.ast.tag.IBindingTagger`

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