mirror of
https://github.com/sigmasternchen/xtext-core
synced 2025-03-15 08:18:55 +00:00
Add public getter for the language name
Add public getter for the language name so that sub-classes can access the language name.
This commit is contained in:
parent
4ab6f15d20
commit
2c6059f353
1 changed files with 7 additions and 0 deletions
|
@ -138,6 +138,13 @@ public class XtextGeneratorLanguage extends CompositeGeneratorFragment2 implemen
|
|||
this.name = name;
|
||||
}
|
||||
|
||||
/**
|
||||
* @since 2.26
|
||||
*/
|
||||
public final String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
/**
|
||||
* Either a single file extension or a comma-separated list of extensions
|
||||
* for which the language shall be registered.
|
||||
|
|
Loading…
Reference in a new issue