LanguageConfiguration constructor
LanguageConfiguration({
- CommentRule? comments,
- List<
CharacterPair> ? brackets, - RegExp? wordPattern,
- IndentationRule? indentationRules,
- List<
OnEnterRule> ? onEnterRules, - List<
AutoClosingPair> ? autoClosingPairs, - IInline26? electricCharacterSupport,
- IInline28? characterPairSupport,
Implementation
factory LanguageConfiguration({
_i3.CommentRule? comments,
_i2.List<_i3.CharacterPair>? brackets,
_i7.RegExp? wordPattern,
_i3.IndentationRule? indentationRules,
_i2.List<_i3.OnEnterRule>? onEnterRules,
_i2.List<_i3.AutoClosingPair>? autoClosingPairs,
_i3.IInline26? electricCharacterSupport,
_i3.IInline28? characterPairSupport,
}) =>
LanguageConfiguration._(
comments: comments ?? _i6.undefined,
brackets: brackets
?.map((i) => [
i.$1,
i.$2,
])
.toList(),
wordPattern: wordPattern ?? _i6.undefined,
indentationRules: indentationRules ?? _i6.undefined,
onEnterRules: onEnterRules,
autoClosingPairs: autoClosingPairs,
electricCharacterSupport: electricCharacterSupport ?? _i6.undefined,
characterPairSupport: characterPairSupport ?? _i6.undefined,
);