Mode constructor

Mode({
  1. String? name,
  2. String? label,
  3. List<String>? aliases,
  4. dynamic scope,
  5. dynamic begin,
  6. dynamic end,
  7. dynamic match,
  8. dynamic beginScope,
  9. dynamic endScope,
  10. List? contains,
  11. dynamic keywords,
  12. dynamic illegal,
  13. num? relevance,
  14. dynamic subLanguage,
  15. bool? endsWithParent,
  16. bool? endsParent,
  17. bool? excludeBegin,
  18. bool? excludeEnd,
  19. bool? returnBegin,
  20. bool? returnEnd,
  21. bool? skip,
  22. Mode? starts,
  23. List<Mode>? variants,
  24. String? beginKeywords,
  25. String? beforeMatch,
  26. dynamic exports,
  27. dynamic preprocessor,
  28. bool? caseInsensitive,
  29. bool? unicodeRegex,
  30. bool? disableAutodetect,
  31. Map<String, String>? classNameAliases,
  32. String? supersetOf,
  33. List? compilerExtensions,
  34. String? binary,
  35. ModeCallback? onBegin,
  36. ModeCallback? onEnd,
  37. ModeCallback? beforeBeginCallback,
  38. void emitTokens(
    1. String,
    2. dynamic
    )?,
})

Implementation

Mode({
  this.name,
  this.label,
  this.aliases,
  this.scope,
  this.begin,
  this.end,
  this.match,
  this.beginScope,
  this.endScope,
  this.contains,
  this.keywords,
  this.illegal,
  this.relevance,
  this.subLanguage,
  this.endsWithParent,
  this.endsParent,
  this.excludeBegin,
  this.excludeEnd,
  this.returnBegin,
  this.returnEnd,
  this.skip,
  this.starts,
  this.variants,
  this.beginKeywords,
  this.beforeMatch,
  this.exports,
  this.preprocessor,
  this.caseInsensitive,
  this.unicodeRegex,
  this.disableAutodetect,
  this.classNameAliases,
  this.supersetOf,
  this.compilerExtensions,
  this.binary,
  this.onBegin,
  this.onEnd,
  this.beforeBeginCallback,
  this.emitTokens,
});