File tree Expand file tree Collapse file tree 3 files changed +0
-41
lines changed Expand file tree Collapse file tree 3 files changed +0
-41
lines changed Original file line number Diff line number Diff line change @@ -445,38 +445,6 @@ abstract class Source implements AnalysisTarget {
445445 bool exists ();
446446}
447447
448- /**
449- * The interface `ContentReceiver` defines the behavior of objects that can receive the
450- * content of a source.
451- */
452- abstract class Source_ContentReceiver {
453- /**
454- * Accept the contents of a source.
455- *
456- * @param contents the contents of the source
457- * @param modificationTime the time at which the contents were last set
458- */
459- void accept (String contents, int modificationTime);
460- }
461-
462- /**
463- * The interface `SourceContainer` is used by clients to define a collection of sources
464- *
465- * Source containers are not used within analysis engine, but can be used by clients to group
466- * sources for the purposes of accessing composite dependency information. For example, the Eclipse
467- * client uses source containers to represent Eclipse projects, which allows it to easily compute
468- * project-level dependencies.
469- */
470- abstract class SourceContainer {
471- /**
472- * Determine if the specified source is part of the receiver's collection of sources.
473- *
474- * @param source the source in question
475- * @return `true` if the receiver contains the source, else `false`
476- */
477- bool contains (Source source);
478- }
479-
480448/**
481449 * Instances of the class `SourceFactory` resolve possibly relative URI's against an existing
482450 * [Source] .
Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ import 'package:analyzer/src/error/codes.dart';
1313import 'package:analyzer/src/generated/engine.dart' ;
1414import 'package:analyzer/src/generated/parser.dart' show ParserErrorCode;
1515import 'package:analyzer/src/generated/resolver.dart' ;
16- import 'package:analyzer/src/generated/source_io.dart' ;
1716import 'package:analyzer/src/generated/testing/ast_test_factory.dart' ;
1817import 'package:analyzer/src/generated/testing/element_factory.dart' ;
1918import 'package:test/test.dart' ;
@@ -462,11 +461,6 @@ class ScopeTest extends DriverResolutionTest {
462461 }
463462}
464463
465- class SourceContainer_ChangeSetTest_test_toString implements SourceContainer {
466- @override
467- bool contains (Source source) => false ;
468- }
469-
470464/**
471465 * Instances of the class `StaticTypeVerifier` verify that all of the nodes in an AST
472466 * structure that should have a static type associated with them do have a static type.
Original file line number Diff line number Diff line change @@ -432,9 +432,6 @@ class TestSource extends Source {
432432 }
433433
434434 bool exists () => exists2;
435- void getContentsToReceiver (Source_ContentReceiver receiver) {
436- throw new UnsupportedError ('getContentsToReceiver' );
437- }
438435
439436 Source resolve (String uri) {
440437 throw new UnsupportedError ('resolve' );
You can’t perform that action at this time.
0 commit comments