S IAstVisitor <T, S> .VisitCaseLabel(CaseLabel caseLabel, T data) { var handler = CaseLabelVisited; if (handler != null) { handler(caseLabel, data); } return(VisitChildren(caseLabel, data)); }
public override void VisitCaseLabel(CaseLabel caseLabel) { FixSemicolon(caseLabel.ColonToken); }
void IAstVisitor.VisitCaseLabel(CaseLabel caseLabel) { Visit(EnterCaseLabel, LeaveCaseLabel, caseLabel); }
protected internal override bool DoMatch(AstNode other, PatternMatching.Match match) { CaseLabel o = other as CaseLabel; return(o != null && this.Expression.DoMatch(o.Expression, match)); }