Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

more::lang::cx_call Class Reference

The representation of a C function call. More...

#include <more/lang/cx_expr.h>

Inheritance diagram for more::lang::cx_call:

Inheritance graph
[legend]
Collaboration diagram for more::lang::cx_call:

Collaboration graph
[legend]
List of all members.

Public Methods


Detailed Description

The representation of a C function call.


Constructor & Destructor Documentation

more::lang::cx_call::cx_call cx_expr   fn,
va_list    va
 

Consturct a call to fn with arugments from va.

va must be initialized to iterate over cx_expr* terminated by (cx_expr*)0.

more::lang::cx_call::cx_call cx_expr   fn,
cx_expr **    args
 

Construct a call to fn from a pre-built argument list args.

args need not be 0-terminated, and should persist (use GC).


Member Function Documentation

virtual void more::lang::cx_call::append_ctors_to cx_block   blk [virtual]
 

Append constructors of this expression to blk.

Reimplemented from more::lang::cx_expr.

virtual void more::lang::cx_call::append_dtors_to cx_block   blk [virtual]
 

Append destructors of this expression to blk.

Implementations of this function shall not declare variables in blk.

Reimplemented from more::lang::cx_expr.

virtual void more::lang::cx_call::print_as_expr std::ostream &    os const [virtual]
 

Print the C source code of this expression.

The default implementation thows a logic error. This function may be overloaded to extend the backend, otherwise it may be easier to transform the source code.

Reimplemented from more::lang::cx_expr.


The documentation for this class was generated from the following file:
Generated on Sat Sep 7 19:12:49 2002 for more with Doxygen 1.2.13.1. Doxygen 1.2.13.1 is written and copyright 1997-2002 by Dimitri van Heesch.