Exemplo n.º 1
0
 public virtual S VisitIfElseStatement(IfElseStatement ifElseStatement, T data)
 {
     return(VisitChildren(ifElseStatement, data));
 }
Exemplo n.º 2
0
        protected internal override bool DoMatch(AstNode other, PatternMatching.Match match)
        {
            IfElseStatement o = other as IfElseStatement;

            return(o != null && this.Condition.DoMatch(o.Condition, match) && this.TrueStatement.DoMatch(o.TrueStatement, match) && this.FalseStatement.DoMatch(o.FalseStatement, match));
        }