org.jacorb.idl
public class ParamDecl extends IdlSymbol
Version: $Id: ParamDecl.java,v 1.23 2006/06/26 14:37:45 alphonse.bendt Exp $
| Field Summary | |
|---|---|
| static int | MODE_IN |
| static int | MODE_INOUT |
| static int | MODE_OUT |
| int | paramAttribute |
| TypeSpec | paramTypeSpec |
| SimpleDeclarator | simple_declarator |
| Constructor Summary | |
|---|---|
| ParamDecl(int num) | |
| ParamDecl(int paramAttribute, TypeSpec paramTypeSpec, SimpleDeclarator simple_declarator)
Constructs a new parameter declaration with the given characteristics. | |
| ParamDecl(int paramAttribute, TypeSpec paramTypeSpec, String name)
Constructs a new parameter declaration with the given characteristics. | |
| Method Summary | |
|---|---|
| void | accept(IDLTreeVisitor visitor) |
| ParamDecl | asIn()
Returns a new ParamDecl with the same characteristics as this one,
except that its mode is changed to 'in'. |
| void | parse() |
| void | print(PrintWriter ps) |
| void | printAddArgumentStatement(PrintWriter ps, String reqname) |
| void | printExtractArgumentStatement(PrintWriter ps) |
| String | printReadExpression(String ps) |
| String | printWriteStatement(String ps) |
| String | printWriteStatement(String name, String ps) |
| void | setPackage(String s) |
Parameters: ps