Ejemplo n.º 1
0
 public virtual S VisitSwitchStatement(SwitchStatement switchStatement, T data)
 {
     return(VisitChildren(switchStatement, data));
 }
Ejemplo n.º 2
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));
        }