CommentRule constructor

CommentRule({
  1. String? lineComment,
  2. CharacterPair? blockComment,
})

Implementation

factory CommentRule({
  _i2.String? lineComment,
  _i3.CharacterPair? blockComment,
}) =>
    CommentRule._(
      lineComment: lineComment,
      blockComment: blockComment == null
          ? null
          : [
              blockComment.$1,
              blockComment.$2,
            ],
    );