Esempio n. 1
0
 public CCodeUnaryExpression(CCodeUnaryOperator op, CCodeExpression expr)
 {
     Operator = op;
     inner    = expr;
 }
Esempio n. 2
0
 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;
 }
Esempio n. 4
0
 public void set_expression(int index, CCodeExpression expr)
 {
     inner[index] = expr;
 }
Esempio n. 5
0
 /// <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);
 }
Esempio n. 6
0
 public CCodeParenthesizedExpression(CCodeExpression expr)
 {
     inner = expr;
 }
Esempio n. 7
0
 public CCodeBinaryExpression(CCodeBinaryOperator op, CCodeExpression l, CCodeExpression r)
 {
     Operator = op;
     left     = l;
     right    = r;
 }