Eclipse CDT
7.0

org.eclipse.cdt.core.model
Interface ICLanguageKeywords

All Known Implementing Classes:
org.eclipse.cdt.core.dom.parser.AbstractCLikeLanguage, GCCLanguage, GPPLanguage

public interface ICLanguageKeywords

This is an optional extension interface to ILanguage which allows a C/C++ language variant to expose the set of keywords it defines.

EXPERIMENTAL. This class or interface has been added as part of a work in progress. There is no guarantee that this API will work or that it will remain the same. Please do not use this API without consulting with the CDT team.

Since:
4.0

Method Summary
 java.lang.String[] getBuiltinTypes()
          Get the built-in type names defined for this language.
 java.lang.String[] getKeywords()
          Get the keywords defined for this language, excluding bult-in types.
 java.lang.String[] getPreprocessorKeywords()
          Get the preprocessor keywords (directives) defined for this language.
 

Method Detail

getKeywords

java.lang.String[] getKeywords()
Get the keywords defined for this language, excluding bult-in types.

Returns:
an array of keywords, never null

getBuiltinTypes

java.lang.String[] getBuiltinTypes()
Get the built-in type names defined for this language.

Returns:
an array of names, never null

getPreprocessorKeywords

java.lang.String[] getPreprocessorKeywords()
Get the preprocessor keywords (directives) defined for this language.

Returns:
an array of keywords, never null

Eclipse CDT
7.0

Copyright (c) IBM Corp. and others 2004, 2012. All Rights Reserved.