Public Member Functions | Protected Attributes | Private Attributes

c_micro_str_eval Class Reference

Microcode class: evaluates string in double quotes. More...

#include <c_micro_str_eval.h>

Inheritance diagram for c_micro_str_eval:
Collaboration diagram for c_micro_str_eval:

List of all members.

Public Member Functions

 c_micro_str_eval (const string &input, var_sym_index_t output)
 Constructor.
 c_micro_str_eval (const c_micro_str_eval &orig)
 Copy-constructor.
virtual ~c_micro_str_eval ()
 Destructor.
void add_inputs (vector< var_sym_index_t > &inputs)
 Adds all inputs to vector.
c_microcopy ()
 Copy.
const string & get_input ()
 Retrieves input string.
virtual var_sym_index_t get_output ()
e_micro_type get_type ()
 Gets type of class.
void optimize_output (const vector< var_sym_index_t > &inputs)
 Optimizes output by removing result variables taht are not referenced as input.
bool perform (c_micro_symbol_table *symbols, c_micro_error *&error, c_module *this_module, const string &debug)
 Performs microcode.
void set_output_must_be_lvalue ()

Protected Attributes

bool output_must_be_lvalue
 If to set l-value flag on an output variable, and if output is not UNSET, report an "l-value needed" error if it is not l-value already; (if applicable; used in cases of assignment operators).

Private Attributes

string input_
 Input string.
var_sym_index_t output_
 Output variable index.

Detailed Description

Microcode class: evaluates string in double quotes.

Author:
VooDooMan
Version:
1
Date:
2006-04-28

Definition at line 62 of file c_micro_str_eval.h.


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

Generated on Sat Aug 7 2010 15:33:12 for VooDoo cIRCle by doxygen 1.7.1

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