Class CLanguageKeywords

  • All Implemented Interfaces:
    ICLanguageKeywords

    public class CLanguageKeywords
    extends java.lang.Object
    implements ICLanguageKeywords
    This class allows provides a reusable implementation of ICLanguageKeywords for use by ILanguage implementations.
    Since:
    5.1
    • Method Detail

      • getKeywords

        public java.lang.String[] getKeywords()
        Description copied from interface: ICLanguageKeywords
        Returns the keywords defined for this language, excluding built-in types.
        Specified by:
        getKeywords in interface ICLanguageKeywords
        Returns:
        an array of keywords, never null
      • getBuiltinTypes

        public java.lang.String[] getBuiltinTypes()
        Description copied from interface: ICLanguageKeywords
        Returns the built-in type names defined for this language.
        Specified by:
        getBuiltinTypes in interface ICLanguageKeywords
        Returns:
        an array of names, never null
      • getPreprocessorKeywords

        public java.lang.String[] getPreprocessorKeywords()
        Description copied from interface: ICLanguageKeywords
        Returns the preprocessor keywords (directives) defined for this language.
        Specified by:
        getPreprocessorKeywords in interface ICLanguageKeywords
        Returns:
        an array of keywords, never null