ImportsPatcher class

Inheritance
  • Object
  • SimpleAstVisitor<ImportDirective>
  • ImportsPatcher

Constructors

ImportsPatcher(PathFixer fixer, {required String filename})

Properties

filename String
getter/setter pair
fixer PathFixer
final
hasChanges bool
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addPatch(Patch patch) → void
apply(List<int> contents) List<int>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
visit(CompilationUnit unit) → void
visitAdjacentStrings(AdjacentStrings node) → ImportDirective?
inherited
visitAnnotation(Annotation node) → ImportDirective?
inherited
visitArgumentList(ArgumentList node) → ImportDirective?
inherited
visitAsExpression(AsExpression node) → ImportDirective?
inherited
visitAssertInitializer(AssertInitializer node) → ImportDirective?
inherited
visitAssertStatement(AssertStatement node) → ImportDirective?
inherited
visitAssignmentExpression(AssignmentExpression node) → ImportDirective?
inherited
visitAwaitExpression(AwaitExpression node) → ImportDirective?
inherited
visitBinaryExpression(BinaryExpression node) → ImportDirective?
inherited
visitBlock(Block node) → ImportDirective?
inherited
visitBlockFunctionBody(BlockFunctionBody node) → ImportDirective?
inherited
visitBooleanLiteral(BooleanLiteral node) → ImportDirective?
inherited
visitBreakStatement(BreakStatement node) → ImportDirective?
inherited
visitCascadeExpression(CascadeExpression node) → ImportDirective?
inherited
visitCatchClause(CatchClause node) → ImportDirective?
inherited
visitClassDeclaration(ClassDeclaration node) → ImportDirective?
inherited
visitClassTypeAlias(ClassTypeAlias node) → ImportDirective?
inherited
visitComment(Comment node) → ImportDirective?
inherited
visitCommentReference(CommentReference node) → ImportDirective?
inherited
visitCompilationUnit(CompilationUnit node) → ImportDirective?
inherited
visitConditionalExpression(ConditionalExpression node) → ImportDirective?
inherited
visitConfiguration(Configuration node) → ImportDirective?
inherited
visitConstructorDeclaration(ConstructorDeclaration node) → ImportDirective?
inherited
visitConstructorFieldInitializer(ConstructorFieldInitializer node) → ImportDirective?
inherited
visitConstructorName(ConstructorName node) → ImportDirective?
inherited
visitConstructorReference(ConstructorReference node) → ImportDirective?
inherited
visitConstructorSelector(ConstructorSelector node) → ImportDirective?
inherited
visitContinueStatement(ContinueStatement node) → ImportDirective?
inherited
visitDeclaredIdentifier(DeclaredIdentifier node) → ImportDirective?
inherited
visitDefaultFormalParameter(DefaultFormalParameter node) → ImportDirective?
inherited
visitDoStatement(DoStatement node) → ImportDirective?
inherited
visitDottedName(DottedName node) → ImportDirective?
inherited
visitDoubleLiteral(DoubleLiteral node) → ImportDirective?
inherited
visitEmptyFunctionBody(EmptyFunctionBody node) → ImportDirective?
inherited
visitEmptyStatement(EmptyStatement node) → ImportDirective?
inherited
visitEnumConstantArguments(EnumConstantArguments node) → ImportDirective?
inherited
visitEnumConstantDeclaration(EnumConstantDeclaration node) → ImportDirective?
inherited
visitEnumDeclaration(EnumDeclaration node) → ImportDirective?
inherited
visitExportDirective(ExportDirective node) → ImportDirective?
inherited
visitExpressionFunctionBody(ExpressionFunctionBody node) → ImportDirective?
inherited
visitExpressionStatement(ExpressionStatement node) → ImportDirective?
inherited
visitExtendsClause(ExtendsClause node) → ImportDirective?
inherited
visitExtensionDeclaration(ExtensionDeclaration node) → ImportDirective?
inherited
visitExtensionOverride(ExtensionOverride node) → ImportDirective?
inherited
visitFieldDeclaration(FieldDeclaration node) → ImportDirective?
inherited
visitFieldFormalParameter(FieldFormalParameter node) → ImportDirective?
inherited
visitForEachPartsWithDeclaration(ForEachPartsWithDeclaration node) → ImportDirective?
inherited
visitForEachPartsWithIdentifier(ForEachPartsWithIdentifier node) → ImportDirective?
inherited
visitForElement(ForElement node) → ImportDirective?
inherited
visitFormalParameterList(FormalParameterList node) → ImportDirective?
inherited
visitForPartsWithDeclarations(ForPartsWithDeclarations node) → ImportDirective?
inherited
visitForPartsWithExpression(ForPartsWithExpression node) → ImportDirective?
inherited
visitForStatement(ForStatement node) → ImportDirective?
inherited
visitFunctionDeclaration(FunctionDeclaration node) → ImportDirective?
inherited
visitFunctionDeclarationStatement(FunctionDeclarationStatement node) → ImportDirective?
inherited
visitFunctionExpression(FunctionExpression node) → ImportDirective?
inherited
visitFunctionExpressionInvocation(FunctionExpressionInvocation node) → ImportDirective?
inherited
visitFunctionReference(FunctionReference node) → ImportDirective?
inherited
visitFunctionTypeAlias(FunctionTypeAlias node) → ImportDirective?
inherited
visitFunctionTypedFormalParameter(FunctionTypedFormalParameter node) → ImportDirective?
inherited
visitGenericFunctionType(GenericFunctionType node) → ImportDirective?
inherited
visitGenericTypeAlias(GenericTypeAlias node) → ImportDirective?
inherited
visitHideClause(HideClause node) → ImportDirective?
inherited
visitHideCombinator(HideCombinator node) → ImportDirective?
inherited
visitIfElement(IfElement node) → ImportDirective?
inherited
visitIfStatement(IfStatement node) → ImportDirective?
inherited
visitImplementsClause(ImplementsClause node) → ImportDirective?
inherited
visitImplicitCallReference(ImplicitCallReference node) → ImportDirective?
inherited
visitImportDirective(ImportDirective node) → ImportDirective?
override
visitIndexExpression(IndexExpression node) → ImportDirective?
inherited
visitInstanceCreationExpression(InstanceCreationExpression node) → ImportDirective?
inherited
visitIntegerLiteral(IntegerLiteral node) → ImportDirective?
inherited
visitInterpolationExpression(InterpolationExpression node) → ImportDirective?
inherited
visitInterpolationString(InterpolationString node) → ImportDirective?
inherited
visitIsExpression(IsExpression node) → ImportDirective?
inherited
visitLabel(Label node) → ImportDirective?
inherited
visitLabeledStatement(LabeledStatement node) → ImportDirective?
inherited
visitLibraryDirective(LibraryDirective node) → ImportDirective?
inherited
visitLibraryIdentifier(LibraryIdentifier node) → ImportDirective?
inherited
visitListLiteral(ListLiteral node) → ImportDirective?
inherited
visitMapLiteralEntry(MapLiteralEntry node) → ImportDirective?
inherited
visitMethodDeclaration(MethodDeclaration node) → ImportDirective?
inherited
visitMethodInvocation(MethodInvocation node) → ImportDirective?
inherited
visitMixinDeclaration(MixinDeclaration node) → ImportDirective?
inherited
visitNamedExpression(NamedExpression node) → ImportDirective?
inherited
visitNamedType(NamedType node) → ImportDirective?
inherited
visitNativeClause(NativeClause node) → ImportDirective?
inherited
visitNativeFunctionBody(NativeFunctionBody node) → ImportDirective?
inherited
visitNullLiteral(NullLiteral node) → ImportDirective?
inherited
visitOnClause(OnClause node) → ImportDirective?
inherited
visitParenthesizedExpression(ParenthesizedExpression node) → ImportDirective?
inherited
visitPartDirective(PartDirective node) → ImportDirective?
inherited
visitPartOfDirective(PartOfDirective node) → ImportDirective?
inherited
visitPostfixExpression(PostfixExpression node) → ImportDirective?
inherited
visitPrefixedIdentifier(PrefixedIdentifier node) → ImportDirective?
inherited
visitPrefixExpression(PrefixExpression node) → ImportDirective?
inherited
visitPropertyAccess(PropertyAccess node) → ImportDirective?
inherited
visitRedirectingConstructorInvocation(RedirectingConstructorInvocation node) → ImportDirective?
inherited
visitRethrowExpression(RethrowExpression node) → ImportDirective?
inherited
visitReturnStatement(ReturnStatement node) → ImportDirective?
inherited
visitScriptTag(ScriptTag node) → ImportDirective?
inherited
visitSetOrMapLiteral(SetOrMapLiteral node) → ImportDirective?
inherited
visitShowClause(ShowClause node) → ImportDirective?
inherited
visitShowCombinator(ShowCombinator node) → ImportDirective?
inherited
visitShowHideElement(ShowHideElement node) → ImportDirective?
inherited
visitSimpleFormalParameter(SimpleFormalParameter node) → ImportDirective?
inherited
visitSimpleIdentifier(SimpleIdentifier node) → ImportDirective?
inherited
visitSimpleStringLiteral(SimpleStringLiteral node) → ImportDirective?
inherited
visitSpreadElement(SpreadElement node) → ImportDirective?
inherited
visitStringInterpolation(StringInterpolation node) → ImportDirective?
inherited
visitSuperConstructorInvocation(SuperConstructorInvocation node) → ImportDirective?
inherited
visitSuperExpression(SuperExpression node) → ImportDirective?
inherited
visitSuperFormalParameter(SuperFormalParameter node) → ImportDirective?
inherited
visitSwitchCase(SwitchCase node) → ImportDirective?
inherited
visitSwitchDefault(SwitchDefault node) → ImportDirective?
inherited
visitSwitchStatement(SwitchStatement node) → ImportDirective?
inherited
visitSymbolLiteral(SymbolLiteral node) → ImportDirective?
inherited
visitThisExpression(ThisExpression node) → ImportDirective?
inherited
visitThrowExpression(ThrowExpression node) → ImportDirective?
inherited
visitTopLevelVariableDeclaration(TopLevelVariableDeclaration node) → ImportDirective?
inherited
visitTryStatement(TryStatement node) → ImportDirective?
inherited
visitTypeArgumentList(TypeArgumentList node) → ImportDirective?
inherited
visitTypeLiteral(TypeLiteral node) → ImportDirective?
inherited
visitTypeParameter(TypeParameter node) → ImportDirective?
inherited
visitTypeParameterList(TypeParameterList node) → ImportDirective?
inherited
visitVariableDeclaration(VariableDeclaration node) → ImportDirective?
inherited
visitVariableDeclarationList(VariableDeclarationList node) → ImportDirective?
inherited
visitVariableDeclarationStatement(VariableDeclarationStatement node) → ImportDirective?
inherited
visitWhileStatement(WhileStatement node) → ImportDirective?
inherited
visitWithClause(WithClause node) → ImportDirective?
inherited
visitYieldStatement(YieldStatement node) → ImportDirective?
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited