Package ghidra.program.model.lang
Interface LanguageProvider
-
- All Superinterfaces:
ExtensionPoint
- All Known Implementing Classes:
SleighLanguageProvider
public interface LanguageProvider extends ExtensionPoint
NOTE: ALL LanguageProvider CLASSES MUST END IN "LanguageProvider". If not, the ClassSearcher will not find them. Service for providing languages.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface ghidra.util.classfinder.ExtensionPoint
ExtensionPoint.Exclude, ExtensionPoint.Util
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LanguagegetLanguage(LanguageID languageId)Returns the language with the given name or null if no language has that nameLanguageDescription[]getLanguageDescriptions()Returns a list of language descriptions provided by this providerbooleanhadLoadFailure()
-
-
-
Method Detail
-
getLanguage
Language getLanguage(LanguageID languageId)
Returns the language with the given name or null if no language has that name- Parameters:
name- the name of the language to be retrieved- Returns:
- the language with the given name
-
getLanguageDescriptions
LanguageDescription[] getLanguageDescriptions()
Returns a list of language descriptions provided by this provider
-
hadLoadFailure
boolean hadLoadFailure()
- Returns:
- true if one of more laguages or language description failed to load properly.
-
-