Esempio n. 1
0
 public static Conditional Condition(NRefactory.ConditionalExpression conditionalExpression, IScope scope, INRefcatoryExpressionVisitor visitor)
 {
     return(new Conditional(conditionalExpression, scope, visitor));
 }
Esempio n. 2
0
        protected internal override bool DoMatch(AstNode other, PatternMatching.Match match)
        {
            ConditionalExpression o = other as ConditionalExpression;

            return(o != null && this.Condition.DoMatch(o.Condition, match) && this.TrueExpression.DoMatch(o.TrueExpression, match) && this.FalseExpression.DoMatch(o.FalseExpression, match));
        }
 void IAstVisitor.VisitConditionalExpression(ConditionalExpression conditionalExpression)
 {
     Visit(EnterConditionalExpression, LeaveConditionalExpression, conditionalExpression);
 }
Esempio n. 4
0
 public virtual S VisitConditionalExpression(ConditionalExpression conditionalExpression, T data)
 {
     return(VisitChildren(conditionalExpression, data));
 }
 public virtual S VisitConditionalExpression(ConditionalExpression conditionalExpression, T data)
 {
     throw new NotImplementedException();
 }
Esempio n. 6
0
 public override AstExpression VisitConditionalExpression(NRefactory.ConditionalExpression conditionalExpression, IScope scope)
 {
     return(AstExpression.Condition(conditionalExpression, scope, this));
 }