Public Member Functions | Protected Attributes

c_fn_cmd Class Reference

Base class for function's command. More...

#include <c_fn_cmd.h>

Inherited by c_fn_cmd_break, c_fn_cmd_case, c_fn_cmd_case_default, c_fn_cmd_continue, c_fn_cmd_do, c_fn_cmd_do_while, c_fn_cmd_dummy, c_fn_cmd_end_of_func, c_fn_cmd_exp, c_fn_cmd_for_cond, c_fn_cmd_foreach, c_fn_cmd_foreach_next_iter, c_fn_cmd_global, c_fn_cmd_goto, c_fn_cmd_if, c_fn_cmd_jump, c_fn_cmd_label, c_fn_cmd_left_brace, c_fn_cmd_right_brace, c_fn_cmd_switch, and c_fn_cmd_while.

Collaboration diagram for c_fn_cmd:

List of all members.

Public Member Functions

 c_fn_cmd (const string &debug, long id)
 Constructor.
 c_fn_cmd (const c_fn_cmd &orig)
virtual ~c_fn_cmd ()
virtual void add_inputs (vector< var_sym_index_t > &inputs)=0
 Adds all inputs to vector.
virtual void clean_up ()=0
 Deallocates microcode (if applicable).
virtual c_fn_cmdcopy ()=0
 Creates copy of itself.
const string & get_debug_string ()
 Gets debug string.
long get_id ()
 Gets ID of command.
virtual e_cmd_type get_type ()=0
 Returns type of command.
virtual void optimize_output (const vector< var_sym_index_t > &inputs)=0
 Optimizes output by removing result variables taht are not referenced as input.
virtual bool sanity_check (string &msg)=0
 Performs sanity check.

Protected Attributes

string _debug
 Debug string.
long _id
 Unique ID of command.

Detailed Description

Base class for function's command.

Version:
1
Date:
2006-01
Author:
VooDooMan

Definition at line 62 of file c_fn_cmd.h.


The documentation for this class was generated from the following files:

Generated on Sat Aug 7 2010 15:28:56 for VooDoo cIRCle by doxygen 1.7.1

Get VooDoo cIRCle at SourceForge.net. Fast, secure and Free Open Source software downloads