示例#1
0
        S IAstVisitor <T, S> .VisitUsingDeclaration(UsingDeclaration usingDeclaration, T data)
        {
            var handler = UsingDeclarationVisited;

            if (handler != null)
            {
                handler(usingDeclaration, data);
            }
            return(VisitChildren(usingDeclaration, data));
        }
示例#2
0
 public override void VisitUsingDeclaration(UsingDeclaration usingDeclaration)
 {
     ForceSpacesAfter(usingDeclaration.UsingToken, true);
     FixSemicolon(usingDeclaration.SemicolonToken);
 }
示例#3
0
        protected internal override bool DoMatch(AstNode other, PatternMatching.Match match)
        {
            UsingDeclaration o = other as UsingDeclaration;

            return(o != null && this.Import.DoMatch(o.Import, match));
        }
示例#4
0
 void IAstVisitor.VisitUsingDeclaration(UsingDeclaration usingDeclaration)
 {
     Visit(EnterUsingDeclaration, LeaveUsingDeclaration, usingDeclaration);
 }