예제 #1
0
 void IAstVisitor.VisitSwitchStatement(SwitchStatement switchStatement)
 {
     Visit(EnterSwitchStatement, LeaveSwitchStatement, switchStatement);
 }
        protected internal override bool DoMatch(AstNode other, PatternMatching.Match match)
        {
            SwitchStatement o = other as SwitchStatement;

            return(o != null && this.Expression.DoMatch(o.Expression, match) && this.SwitchSections.DoMatch(o.SwitchSections, match));
        }