semanticToHljs top-level constant

Map<String, List<String>> const semanticToHljs

Implementation

const Map<String, List<String>> semanticToHljs = {
  'class': ['built_in', 'type'],
  'type': ['built_in', 'type'],
  'namespace': ['built_in', 'type'],
  'interface': ['built_in', 'type'],
  'struct': ['attr', 'attribute'],
  'enum': ['built_in', 'type'],
  'function': ['section', 'function', 'bullet', 'selector-tag', 'selector-id'],
  'method': ['section', 'function', 'bullet', 'selector-tag', 'selector-id'],
  'decorator': ['meta', 'meta-keyword'],
  'variable': ['attr', 'attribute'],
  'parameter': ['attr', 'attribute'],
  'property': ['attr', 'attribute'],
  'typeParameter': ['attr', 'attribute'],
  'enumMember': ['attr', 'attribute'],
  'operator': ['keyword'],
  'keyword': ['keyword'],
  'modifier': ['keyword'],
  'string': ['string'],
  'comment': ['comment'],
  'number': ['number'],
  'regexp': ['regexp'],
  'macro': ['meta', 'meta-keyword'],
  'event': ['attr', 'attribute'],
};