Interface SourceLanguageSpecExtension
- All Superinterfaces:
ExtensionPoint
An
ExtensionPoint to dynamically support source language-specific
spec extensions-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordProcessor-related attributes that form conditions for applying the given spec extension contents to a program -
Method Summary
Modifier and TypeMethodDescriptionReturns theSourceLanguageIDof the source language thisSourceLanguageSpecExtensionis compatible with.getSpecExtensionRules(Program program, MessageLog log, TaskMonitor monitor) Returns the source language'sSourceLanguageSpecExtension.SpecExtensionRules.
-
Method Details
-
getCompatibleSourceLanguage
SourceLanguageID getCompatibleSourceLanguage()Returns theSourceLanguageIDof the source language thisSourceLanguageSpecExtensionis compatible with.- Returns:
- the
SourceLanguageIDof the source language thisSourceLanguageSpecExtensionis compatible with
-
getSpecExtensionRules
List<SourceLanguageSpecExtension.SpecExtensionRule> getSpecExtensionRules(Program program, MessageLog log, TaskMonitor monitor) Returns the source language'sSourceLanguageSpecExtension.SpecExtensionRules.- Parameters:
program- TheProgramlog- The error logmonitor- TheTaskMonitor- Returns:
- the source language's
SourceLanguageSpecExtension.SpecExtensionRules
-