22 if(statement==ID_assign)
31 else if(statement==ID_block)
36 else if(statement==ID_label)
41 else if(statement==ID_goto)
44 else if(statement==ID_ifthenelse)
52 else if(statement==ID_switch)
57 else if(statement==ID_return)
62 else if(statement==ID_function_call)
68 for(code_function_callt::argumentst::iterator
69 a_it=code_function_call.
arguments().begin();
70 a_it!=code_function_call.
arguments().end();
74 else if(statement==ID_assert || statement==ID_assume)
A codet representing an assignment in the program.
goto_instruction_codet representation of a function call statement.
codet representation of an if-then-else statement.
const codet & then_case() const
const exprt & cond() const
const codet & else_case() const
codet representation of a label for branch targets.
goto_instruction_codet representation of a "return from a function" statement.
const exprt & return_value() const
codet representing a switch statement.
const exprt & value() const
Data structure for representing an arbitrary statement in a program.
const irep_idt & get_statement() const
dstringt has one field, an unsigned integer no which is an index into a static table of strings.
typet & type()
Return the type of the expression.
void typecheck_code(codet &)
virtual void typecheck_expr(exprt &expr)
static exprt conditional_cast(const exprt &expr, const typet &type)
#define Forall_operands(it, expr)
const code_returnt & to_code_return(const goto_instruction_codet &code)
const code_function_callt & to_code_function_call(const goto_instruction_codet &code)
JAVA Bytecode Language Type Checking.
const code_ifthenelset & to_code_ifthenelse(const codet &code)
const code_labelt & to_code_label(const codet &code)
const code_switcht & to_code_switch(const codet &code)
const code_frontend_assignt & to_code_frontend_assign(const codet &code)
const codet & to_code(const exprt &expr)