absyntax_utils/search_expression_type.hh
changeset 350 2c3c4dc34979
parent 336 229eb3e29216
child 665 50fca2d3abd9
equal deleted inserted replaced
341:ba80c3ceb6fb 350:2c3c4dc34979
    35  *
    35  *
    36  * For example:
    36  * For example:
    37  *       2 + 3       -> returns reference to a int_type_name_c object.
    37  *       2 + 3       -> returns reference to a int_type_name_c object.
    38  *       22.2 - 5    -> returns reference to a real_type_name_c object.
    38  *       22.2 - 5    -> returns reference to a real_type_name_c object.
    39  *       etc...
    39  *       etc...
       
    40  */
       
    41 
       
    42 /* WARNING   WARNING  WARNING
       
    43  *
       
    44  * When taking into consideration calls to functions, this search_expression_type_c
       
    45  * class will use internal atributes (i.e. anotation) in the function_invocation_c symbol 
       
    46  * in the abstract syntax tree.
       
    47  *
       
    48  * Since this anotation/atribute is only set/populated with the correct value
       
    49  * during stage3 (semantic verification), this class will only work correctly
       
    50  * after the semantic verification in stage 3 has been executed
       
    51  * (to be more exact, the data type checking of stage 3).
    40  */
    52  */
    41 
    53 
    42 class search_expression_type_c: public search_constant_type_c {
    54 class search_expression_type_c: public search_constant_type_c {
    43 
    55 
    44   private:
    56   private: