CLanguage

org.eclipse.cdt.core.CLanguage

CDT 2.0

Extension point representing a CDT language. At the moment, languages consist of a unique identifier (id), and a human-readable name. By themselves, languages don't serve much purpose. However, they are used to build file types (see the CFileType extension point), which are used by CDT to classify files and determine how they should be processed.

<!ELEMENT extension (language+)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT language EMPTY>

<!ATTLIST language

name CDATA #REQUIRED

id   CDATA #REQUIRED>


To declare a new language: This indicates to CDT that there is a new language, identified using the language id "com.example.product.language.my_language".

This extension point is purely declarative.