Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

ICS_Step Struct Reference

#include <implicit_conversion.h>

Inheritance diagram for ICS_Step:

Inheritance graph
[legend]
Collaboration diagram for ICS_Step:

Collaboration graph
[legend]
List of all members.

Public Methods

 ICS_Step (Type type, Kind kind, Action action)
 ICS_Step (Type type, Kind kind, Function_signature *function, Action action)
ICS_Step::Rank get_rank () const
 Get rank of a conversion step (13.3.3.1.1). More...

ICS_Step::Form get_form () const
 Get form of a conversion step (13.3.3.1). More...

bool is_lvalue_transformation () const
void dump (std::ostream &os) const

Public Attributes

Type type
Kind kind
Function_signaturefunction
Action action

Private Methods

const char * get_action_name () const
 Get name of the action in this step. More...


Constructor & Destructor Documentation

ICS_Step::ICS_Step Type    type,
Kind    kind,
Action    action
[inline]
 

Definition at line 100 of file implicit_conversion.h.

References action, ICS_Types::Action, kind, and ICS_Types::Kind.

ICS_Step::ICS_Step Type    type,
Kind    kind,
Function_signature   function,
Action    action
[inline]
 

Definition at line 102 of file implicit_conversion.h.

References action, ICS_Types::Action, kind, and ICS_Types::Kind.


Member Function Documentation

void ICS_Step::dump std::ostream &    os const
 

Definition at line 642 of file implicit_conversion.cc.

References function, get_action_name(), Type::get_encoded_type(), Type::get_human_readable_type(), Function_signature::get_proto_type(), Expr_result::k_LValue, Expr_result::k_RValue, kind, and type.

const char * ICS_Step::get_action_name   const [private]
 

Get name of the action in this step.

Definition at line 613 of file implicit_conversion.cc.

References action.

Referenced by dump().

ICS_Step::Form ICS_Step::get_form   const
 

Get form of a conversion step (13.3.3.1).

The form of the whole sequence is max(form(step)).

Definition at line 578 of file implicit_conversion.cc.

References ICS_Types::a_BindReferenceToTemporary, ICS_Types::a_ConversionOp, ICS_Types::a_CtorCall, ICS_Types::a_Ellipsis, ICS_Types::a_NullStep, ICS_Types::f_Ellipsis, ICS_Types::f_NoForm, ICS_Types::f_Standard, and ICS_Types::f_Userdef.

Referenced by Implicit_conversion::add_step().

ICS_Step::Rank ICS_Step::get_rank   const
 

Get rank of a conversion step (13.3.3.1.1).

The rank of the whole sequence is max(rank(step)).

Definition at line 549 of file implicit_conversion.cc.

References ICS_Types::a_ArrayToPointer, ICS_Types::a_BoolConversion, ICS_Types::a_DerivedToBaseConversion, ICS_Types::a_FloatingConversion, ICS_Types::a_FloatingIntegralConversion, ICS_Types::a_FloatingPromotion, ICS_Types::a_FunctionToPointer, ICS_Types::a_IntegralConversion, ICS_Types::a_IntegralPromotion, ICS_Types::a_LValueToRValue, ICS_Types::a_PointerConversion, ICS_Types::a_PtrMemConversion, ICS_Types::a_QualificationAdjustment, ICS_Types::r_Conversion, ICS_Types::r_Exact, ICS_Types::r_NoRank, and ICS_Types::r_Promotion.

Referenced by Implicit_conversion::add_step().

bool ICS_Step::is_lvalue_transformation   const
 

Definition at line 603 of file implicit_conversion.cc.

References ICS_Types::a_ArrayToPointer, ICS_Types::a_FunctionToPointer, ICS_Types::a_LValueToRValue, and action.


Member Data Documentation

Action ICS_Step::action
 

Definition at line 98 of file implicit_conversion.h.

Referenced by get_action_name(), ICS_Step(), is_lvalue_transformation(), and operator==().

Function_signature* ICS_Step::function
 

Definition at line 97 of file implicit_conversion.h.

Referenced by dump(), and operator==().

Kind ICS_Step::kind
 

Definition at line 96 of file implicit_conversion.h.

Referenced by dump(), ICS_Step(), and operator==().

Type ICS_Step::type
 

Definition at line 95 of file implicit_conversion.h.

Referenced by dump(), and operator==().


The documentation for this struct was generated from the following files:
Generated on Mon Feb 10 17:35:39 2003 for VFiasco Semantics Compiler by doxygen1.2.15