S IAstVisitor <T, S> .VisitUsingDeclaration(UsingDeclaration usingDeclaration, T data) { var handler = UsingDeclarationVisited; if (handler != null) { handler(usingDeclaration, data); } return(VisitChildren(usingDeclaration, data)); }
public override void VisitUsingDeclaration(UsingDeclaration usingDeclaration) { ForceSpacesAfter(usingDeclaration.UsingToken, true); FixSemicolon(usingDeclaration.SemicolonToken); }
protected internal override bool DoMatch(AstNode other, PatternMatching.Match match) { UsingDeclaration o = other as UsingDeclaration; return(o != null && this.Import.DoMatch(o.Import, match)); }
void IAstVisitor.VisitUsingDeclaration(UsingDeclaration usingDeclaration) { Visit(EnterUsingDeclaration, LeaveUsingDeclaration, usingDeclaration); }