示例#1
0
 void IAstVisitor.VisitCaseLabel(CaseLabel caseLabel)
 {
     Visit(EnterCaseLabel, LeaveCaseLabel, caseLabel);
 }
示例#2
0
        protected internal override bool DoMatch(AstNode other, PatternMatching.Match match)
        {
            CaseLabel o = other as CaseLabel;

            return(o != null && this.Expression.DoMatch(o.Expression, match));
        }
 public override void VisitCaseLabel(CaseLabel caseLabel)
 {
     ForceSpacesBefore(caseLabel.ColonToken, false);
 }