Exemplo n.º 1
0
        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));
        }
Exemplo n.º 2
0
 void IAstVisitor.VisitSwitchStatement(SwitchStatement switchStatement)
 {
     Visit(EnterSwitchStatement, LeaveSwitchStatement, switchStatement);
 }