Package org.eclipse.cdt.core.dom.parser
Class CLanguageKeywords
java.lang.Object
org.eclipse.cdt.core.dom.parser.CLanguageKeywords
- All Implemented Interfaces:
ICLanguageKeywords
This class allows provides a reusable implementation of ICLanguageKeywords
for use by ILanguage implementations.
- Since:
- 5.1
-
Constructor Summary
ConstructorDescriptionCLanguageKeywords
(ParserLanguage language, IScannerExtensionConfiguration config) -
Method Summary
-
Constructor Details
-
CLanguageKeywords
- Throws:
NullPointerException
- if either parameter is null
-
-
Method Details
-
getKeywords
Description copied from interface:ICLanguageKeywords
Returns the keywords defined for this language, excluding built-in types.- Specified by:
getKeywords
in interfaceICLanguageKeywords
- Returns:
- an array of keywords, never
null
-
getBuiltinTypes
Description copied from interface:ICLanguageKeywords
Returns the built-in type names defined for this language.- Specified by:
getBuiltinTypes
in interfaceICLanguageKeywords
- Returns:
- an array of names, never
null
-
getPreprocessorKeywords
Description copied from interface:ICLanguageKeywords
Returns the preprocessor keywords (directives) defined for this language.- Specified by:
getPreprocessorKeywords
in interfaceICLanguageKeywords
- Returns:
- an array of keywords, never
null
-