Example #1
0
 /// <summary>
 /// Creates a new elif block with a chained elif statement.
 /// </summary>
 /// <param name="expression">The expression to evaluate.</param>
 /// <param name="children">The children of the if.</param>
 /// <param name="elif">The chained if statement.</param>
 public Elif(Expression expression, IEnumerable <Node> children, Elif elif)
     : base(expression, children, elif)
 {
 }
Example #2
0
 /// <summary>
 /// Creates a new if block with a chained elif statement.
 /// </summary>
 /// <param name="expression">The expression to evaluate.</param>
 /// <param name="children">The children of the if.</param>
 /// <param name="elif">The chained if statement.</param>
 public If(Expression expression, IEnumerable <Node> children, Elif elif)
     : base(expression, children)
 {
     this.elif = elif;
 }