CommentDirectiveParser constructor

CommentDirectiveParser(
  1. String toolName
)

Implementation

CommentDirectiveParser(this.toolName)
  : ignoreForFilePattern = RegExp(
      '//\\s*${RegExp.escape(toolName)}:ignore_for_file\\b',
    ),
    ignoreDeclarationPattern = RegExp(
      '//\\s*${RegExp.escape(toolName)}:ignore\\b',
    );