il::block_expression Class Reference

This is used to model a gcc extension where you can write code like a = ({args[1]+1;args[2];}); ({args[1]+1;args[2];}) evaluates to the result of the last statement in the block. More...

#include <block_expression.h>

Inheritance diagram for il::block_expression:
il::expression il::node

List of all members.

Public Member Functions

 block_expression (block *b, variable_declaration *var_decl, type *t, location loc)
virtual string to_string () const
virtual blockget_block ()
virtual variable_declarationget_vardecl ()

Friends

class boost::serialization::access

Detailed Description

This is used to model a gcc extension where you can write code like a = ({args[1]+1;args[2];}); ({args[1]+1;args[2];}) evaluates to the result of the last statement in the block.


The documentation for this class was generated from the following files:
Generated on Sun Oct 17 14:01:21 2010 by  doxygen 1.6.3