LanguageConfiguration constructor

LanguageConfiguration({
  1. CommentRule? comments,
  2. List<CharacterPair>? brackets,
  3. RegExp? wordPattern,
  4. IndentationRule? indentationRules,
  5. List<OnEnterRule>? onEnterRules,
  6. List<AutoClosingPair>? autoClosingPairs,
  7. IInline26? electricCharacterSupport,
  8. 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,
    );