Class Language

    • Constructor Detail

      • Language

        public Language()
    • Method Detail

      • getName

        @Nonnull
        public abstract String getName()
        Unique, permanent, internal identifier of this language.
        Returns:
        a short unlocalized identifier, such as might be used for a filename extension
      • getDisplayName

        @Nonnull
        public abstract String getDisplayName()
        Display name of the language for use in the UI.
        Returns:
        a localized name
      • getCodeMirrorMode

        @CheckForNull
        public String getCodeMirrorMode()
        A CodeMirror mode string, for purposes of displaying scripts in HTML.
        Returns:
        a mode such as clike, or null