S IAstVisitor <T, S> .VisitUsingDeclaration(UsingDeclaration usingDeclaration, T data) { var handler = UsingDeclarationVisited; if (handler != null) { handler(usingDeclaration, data); } return(VisitChildren(usingDeclaration, data)); }
// TODO: extern aliases public override IEntity VisitUsingDeclaration(UsingDeclaration usingDeclaration, object data) { ITypeOrNamespaceReference u = ConvertType(usingDeclaration.Import, true) as ITypeOrNamespaceReference; if (u != null) { usingScope.Usings.Add(u); } return(null); }
void IAstVisitor.VisitUsingDeclaration(UsingDeclaration usingDeclaration) { Visit(EnterUsingDeclaration, LeaveUsingDeclaration, usingDeclaration); }
public virtual S VisitUsingDeclaration(UsingDeclaration usingDeclaration, T 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)); }
public virtual S VisitUsingDeclaration(UsingDeclaration usingDeclaration, T data) { throw new NotImplementedException(); }