DefinedWords constructor

DefinedWords(
  1. Map<String, List<NotationDefinition>> definitions, {
  2. required bool open,
  3. void record(
    1. String kind,
    2. String word,
    3. String on,
    4. String? value,
    5. int column, [
    6. String? say,
    ])?,
  4. void issue(
    1. int column,
    2. String message
    )?,
  5. void used(
    1. NotationDefinition definition,
    2. LineParts parts,
    3. String node,
    4. int column,
    )?,
  6. void slot(
    1. NotationDefinition definition,
    2. String word,
    3. int column
    )?,
  7. bool ours(
    1. String word
    )?,
  8. Set<String>? component(
    1. String word
    )?,
  9. Map<String, int>? counts,
  10. Map<String, Set<String>>? scoped,
  11. String? context,
  12. List<String> within = const [],
  13. Map<String, List<NotationDefinition>>? page,
  14. bool variable(
    1. String word
    )?,
  15. bool textVariable(
    1. String word
    )?,
  16. bool eachItem(
    1. String word
    )?,
  17. void internal(
    1. String name
    )?,
  18. void bindsVariable(
    1. String name,
    2. int column,
    3. String? start
    )?,
  19. String? builtIn(
    1. String word,
    2. bool primitive
    )?,
  20. Map<String, Object?> theme = const {},
})

Implementation

DefinedWords(
  this.definitions, {
  required this.open,
  this.record,
  this.issue,
  this.used,
  this.slot,
  this.ours,
  this.component,
  Map<String, int>? counts,
  Map<String, Set<String>>? scoped,
  this.context,
  this.within = const [],
  Map<String, List<NotationDefinition>>? page,
  this.variable,
  this.textVariable,
  this.eachItem,
  this.internal,
  this.bindsVariable,
  this.builtIn,
  this.theme = const {},
})  : counts = counts ?? {},
      scoped = scoped ?? {},
      page = page ?? {};