S IAstVisitor <T, S> .VisitSwitchSection(SwitchSection switchSection, T data) { var handler = SwitchSectionVisited; if (handler != null) { handler(switchSection, data); } return(VisitChildren(switchSection, data)); }
public virtual S VisitSwitchSection(SwitchSection switchSection, T data) { return(VisitChildren(switchSection, data)); }
protected internal override bool DoMatch(AstNode other, PatternMatching.Match match) { SwitchSection o = other as SwitchSection; return(o != null && this.CaseLabels.DoMatch(o.CaseLabels, match) && this.Statements.DoMatch(o.Statements, match)); }