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>


<!ELEMENT bindingTagger EMPTY>

<!ATTLIST bindingTagger

class    CDATA #REQUIRED

local-id CDATA #REQUIRED>


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