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