Mode class

Constructors

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)?})

Properties

aliases ↔ List<String>?
getter/setter pair
beforeBeginCallback ↔ ModeCallback?
getter/setter pair
beforeMatch ↔ String?
getter/setter pair
begin ↔ dynamic
getter/setter pair
beginKeywords ↔ String?
getter/setter pair
beginRe ↔ RegExp?
getter/setter pair
beginScope ↔ dynamic
getter/setter pair
binary ↔ String?
getter/setter pair
cachedVariants ↔ List<Mode>?
getter/setter pair
caseInsensitive ↔ bool?
getter/setter pair
classNameAliases ↔ Map<String, String>?
getter/setter pair
compiledKeywords ↔ Map<String, List>?
Compiled keywords map where value is [scope, relevance].
getter/setter pair
compilerExtensions ↔ List?
getter/setter pair
contains ↔ List?
getter/setter pair
data ↔ Map<String, dynamic>?
getter/setter pair
disableAutodetect ↔ bool?
getter/setter pair
emitTokens ↔ void Function(String, dynamic)?
getter/setter pair
end ↔ dynamic
getter/setter pair
endRe ↔ RegExp?
getter/setter pair
endScope ↔ dynamic
getter/setter pair
endsParent ↔ bool?
getter/setter pair
endsWithParent ↔ bool?
getter/setter pair
excludeBegin ↔ bool?
getter/setter pair
excludeEnd ↔ bool?
getter/setter pair
exports ↔ dynamic
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
illegal ↔ dynamic
getter/setter pair
illegalRe ↔ RegExp?
getter/setter pair
isCompiled ↔ bool
getter/setter pair
keywordPatternRe ↔ RegExp?
getter/setter pair
keywords ↔ dynamic
getter/setter pair
label ↔ String?
getter/setter pair
match ↔ dynamic
getter/setter pair
matcher ↔ ResumableMultiRegex?
getter/setter pair
modeId ↔ int?
getter/setter pair
name ↔ String?
getter/setter pair
onBegin ↔ ModeCallback?
getter/setter pair
onEnd ↔ ModeCallback?
getter/setter pair
parent ↔ Mode?
getter/setter pair
preprocessor ↔ dynamic
getter/setter pair
rawDefinition ↔ dynamic
getter/setter pair
relevance ↔ num?
getter/setter pair
returnBegin ↔ bool?
getter/setter pair
returnEnd ↔ bool?
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scope ↔ dynamic
getter/setter pair
skip ↔ bool?
getter/setter pair
starts ↔ Mode?
getter/setter pair
subLanguage ↔ dynamic
getter/setter pair
supersetOf ↔ String?
getter/setter pair
terminatorEnd ↔ String?
getter/setter pair
unicodeRegex ↔ bool?
getter/setter pair
variants ↔ List<Mode>?
getter/setter pair

Methods

copyWith({String? name, String? label, dynamic scope, dynamic begin, dynamic end, 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, bool clearVariants = false}) → Mode
mergeWith(Mode other) → Mode
Creates a new Mode with other's non-null fields taking priority.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
shallowCopy() → Mode
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited