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

more::lang::rt_closure Struct Reference

#include <cx_closure.h>

Inheritance diagram for more::lang::rt_closure:

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

Collaboration graph
[legend]
List of all members.

Public Methods


Constructor & Destructor Documentation

more::lang::rt_closure::rt_closure (  cx_expr *    fn,
va_list    va
) 
 

more::lang::rt_closure::rt_closure (  cx_expr *    fn,
cx_expr **    args
) 
 

Construct a closure which binds fn to those of args which are non-zero, and takes the rest as arguments.


Member Function Documentation

ct_struct const* more::lang::rt_closure::closure_arg_type (    )  const
 

virtual void more::lang::rt_closure::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.

more::lang::rt_closure::rt_closure_proto (  ct_proto *    src_proto,
argument_selection const &    sel
) 
 


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