public CCodeUnaryExpression(CCodeUnaryOperator op, CCodeExpression expr) { Operator = op; inner = expr; }
public CCodeCastExpression(CCodeExpression expr, string type) { inner = expr; type_name = type; }
public CCodeConditionalExpression(CCodeExpression cond, CCodeExpression true_expr, CCodeExpression false_expr) { condition = cond; true_expression = true_expr; false_expression = false_expr; }
public void set_expression(int index, CCodeExpression expr) { inner[index] = expr; }
/// <summary> /// Appends the specified expression to the expression list. /// /// <param name="expr">a C code expression</param> /// </summary> public void append_expression(CCodeExpression expr) { inner.Add(expr); }
public CCodeParenthesizedExpression(CCodeExpression expr) { inner = expr; }
public CCodeBinaryExpression(CCodeBinaryOperator op, CCodeExpression l, CCodeExpression r) { Operator = op; left = l; right = r; }