public class CLanguageKeywords extends Object implements ICLanguageKeywords
Constructor and Description |
---|
CLanguageKeywords(ParserLanguage language,
IScannerExtensionConfiguration config) |
Modifier and Type | Method and Description |
---|---|
String[] |
getBuiltinTypes()
Returns the built-in type names defined for this language.
|
String[] |
getKeywords()
Returns the keywords defined for this language, excluding built-in types.
|
String[] |
getPreprocessorKeywords()
Returns the preprocessor keywords (directives) defined for this language.
|
public CLanguageKeywords(ParserLanguage language, IScannerExtensionConfiguration config)
NullPointerException
- if either parameter is nullpublic String[] getKeywords()
ICLanguageKeywords
getKeywords
in interface ICLanguageKeywords
null
public String[] getBuiltinTypes()
ICLanguageKeywords
getBuiltinTypes
in interface ICLanguageKeywords
null
public String[] getPreprocessorKeywords()
ICLanguageKeywords
getPreprocessorKeywords
in interface ICLanguageKeywords
null
Copyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.