Mode constructor
Mode({
- String? name,
- String? label,
- List<
String> ? aliases, - dynamic scope,
- dynamic begin,
- dynamic end,
- dynamic match,
- dynamic beginScope,
- dynamic endScope,
- List? contains,
- dynamic keywords,
- dynamic illegal,
- num? relevance,
- dynamic subLanguage,
- bool? endsWithParent,
- bool? endsParent,
- bool? excludeBegin,
- bool? excludeEnd,
- bool? returnBegin,
- bool? returnEnd,
- bool? skip,
- Mode? starts,
- List<
Mode> ? variants, - String? beginKeywords,
- String? beforeMatch,
- dynamic exports,
- dynamic preprocessor,
- bool? caseInsensitive,
- bool? unicodeRegex,
- bool? disableAutodetect,
- Map<
String, String> ? classNameAliases, - String? supersetOf,
- List? compilerExtensions,
- String? binary,
- ModeCallback? onBegin,
- ModeCallback? onEnd,
- ModeCallback? beforeBeginCallback,
- void emitTokens(
- String,
- 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,
});