Mode class Null safety

Constructors

Mode({String? ref, Map<String, Mode>? refs, List<String>? aliases, dynamic keywords, String? illegal, bool? case_insensitive, List<Mode?>? contains, List<Mode?>? variants, Mode? starts, String? className, String? begin, String? beginKeywords, String? end, String? lexemes, bool? endSameAsBegin, bool? endsParent, bool? endsWithParent, int? relevance, List<String>? subLanguage, bool? excludeBegin, bool? excludeEnd, bool? skip, bool? returnBegin, bool? returnEnd, bool? self, bool? disableAutodetect})

Properties

aliases List<String>?
read / write
begin String?
read / write
beginKeywords String?
read / write
beginRe RegExp?
read / write
cached_variants List<Mode>?
read / write
case_insensitive bool?
read / write
className String?
read / write
compiled bool?
read / write
contains List<Mode?>?
read / write
disableAutodetect bool?
read / write
end String?
read / write
endRe RegExp?
read / write
endSameAsBegin bool?
read / write
endsParent bool?
read / write
endsWithParent bool?
read / write
excludeBegin bool?
read / write
excludeEnd bool?
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
illegal String?
read / write
illegalRe RegExp?
read / write
keywords ↔ dynamic
String | Map<String, [String, int]>
read / write
lexemes String?
read / write
lexemesRe RegExp?
read / write
parent Mode?
read / write
ref String?
read / write
refs Map<String, Mode>?
read / write
relevance int?
read / write
returnBegin bool?
read / write
returnEnd bool?
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
self bool?
read / write
skip bool?
read / write
starts Mode?
read / write
subLanguage List<String>?
read / write
terminator_end String?
read / write
terminators RegExp?
read / write
variants List<Mode?>?
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Static Methods

inherit(Mode a, [Mode? b]) Mode