public SyntaxCompatibilityVisitor(
     UseCompatibleSyntax rule,
     string analyzedScriptPath,
     HashSet <Version> targetVersions)
 {
     _diagnosticAccumulator = new List <DiagnosticRecord>();
     _rule             = rule;
     _analyzedFilePath = analyzedScriptPath;
     _targetVersions   = targetVersions;
 }