public abstract class MetaLanguage extends Language
language
" attribute of an extension in plugin.xml
.Modifier and Type | Field and Description |
---|---|
static ExtensionPointName<MetaLanguage> |
EP_NAME |
Modifier | Constructor and Description |
---|---|
protected |
MetaLanguage(java.lang.String ID) |
Modifier and Type | Method and Description |
---|---|
static java.util.List<MetaLanguage> |
all() |
static java.util.stream.Stream<MetaLanguage> |
getAllMatchingMetaLanguages(Language language) |
java.util.Collection<Language> |
getMatchingLanguages()
Returns the list of all languages matching this meta-language.
|
abstract boolean |
matchesLanguage(Language language)
Checks if the given language matches the criterion of this meta-language.
|
findInstance, findInstancesByMimeType, findLanguageByID, findMyFileType, getAssociatedFileType, getBaseLanguage, getDialects, getDisplayName, getID, getMimeTypes, getRegisteredLanguages, is, isCaseSensitive, isKindOf, isKindOf, toString, unregisterDialect, unregisterLanguage, unregisterLanguages
changeUserMap, clearUserData, clone, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMap
public static final ExtensionPointName<MetaLanguage> EP_NAME
public static java.util.List<MetaLanguage> all()
public static java.util.stream.Stream<MetaLanguage> getAllMatchingMetaLanguages(Language language)
public abstract boolean matchesLanguage(Language language)
public java.util.Collection<Language> getMatchingLanguages()