docs: protected static Iterable<Keyword> getAllKeywords(Grammar grammar) {
  		final Map<String, Keyword> keywords = new HashMap<>();
  		final List<ParserRule> rules = GrammarUtil.allParserRules(grammar);
  		for (final ParserRule parserRule : rules) {
  			final List<Keyword> list = typeSelect(eAllContentsAsList(parserRule), Keyword.class);
  			for (final Keyword keyword : list) {
  				keywords.put(keyword.getValue(), keyword);
  			}
  		}
  		final List<EnumRule> enumRules = GrammarUtil.allEnumRules(grammar);
  		for (final EnumRule enumRule : enumRules) {
  			final List<Keyword> list = typeSelect(eAllContentsAsList(enumRule), Keyword.class);
  			for (final Keyword keyword : list) {
  				keywords.put(keyword.getValue(), keyword);
  			}
  		}
  		return keywords.values();
  	}