File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 22// for details. All rights reserved. Use of this source code is governed by a
33// BSD-style license that can be found in the LICENSE file.
44
5- @deprecated
5+ /// This library is no longer supported, but most of the functionality it
6+ /// provides is available through supported analyzer APIs. See specific methods
7+ /// below for more information about their supported replacements.
8+ @Deprecated ('See package:analyzer/analyzer.dart file for details' )
69library analyzer;
710
811import 'dart:io' ;
@@ -67,12 +70,12 @@ CompilationUnit parseCompilationUnit(String contents,
6770/// If [parseFunctionBodies] is [false] then only function signatures will be
6871/// parsed. (Currently broken; function bodies are always parsed).
6972///
70- /// Deprecated - please use the `parseFile2 ` function
73+ /// Deprecated - please use the `parseFile ` function
7174/// (from package:analyzer/dart/analysis/utilities.dart) instead.
7275///
73- /// Note that `parseFile2 ` does not support the `parseFunctionBodies` option;
76+ /// Note that `parseFile ` does not support the `parseFunctionBodies` option;
7477/// callers that don't require function bodies should simply ignore them.
75- @Deprecated ('Please use parseFile2 instead' )
78+ @Deprecated ('Please use parseFile instead' )
7679CompilationUnit parseDartFile (String path,
7780 {bool suppressErrors = false ,
7881 bool parseFunctionBodies = true ,
You can’t perform that action at this time.
0 commit comments