public class ParamDecl extends IdlSymbol
| Modifier and Type | Field and Description |
|---|---|
static int |
MODE_IN |
static int |
MODE_INOUT |
static int |
MODE_OUT |
int |
paramAttribute |
TypeSpec |
paramTypeSpec |
SimpleDeclarator |
simple_declarator |
_id, enclosing_symbol, fileSeparator, included, inhibitionFlag, is_pseudo, omg_package_prefix, pack_nameparse_state, sym| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(IDLTreeVisitor visitor)
let the visitor pattern do its work...
|
ParamDecl |
asIn()
Returns a new ParamDecl with the same characteristics as this one,
except that its mode is changed to 'in'.
|
void |
parse()
empty 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) |
addImportedAlias, addImportedName, addImportedName, addImportedNameHolder, deEscapeName, escapeName, generateIncluded, get_token, getEnclosingSymbol, getFullName, id, is_included, is_pseudo, isEscaped, name, new_num, omgPrefix, printClassComment, printIdMethod, printImport, set_name, set_pseudo, set_token, setEnclosingSymbol, setPrintPhaseNamespublic static final int MODE_IN
public static final int MODE_OUT
public static final int MODE_INOUT
public int paramAttribute
public TypeSpec paramTypeSpec
public SimpleDeclarator simple_declarator
public ParamDecl(int num)
public ParamDecl(int paramAttribute,
TypeSpec paramTypeSpec,
SimpleDeclarator simple_declarator)
public void setPackage(String s)
setPackage in class IdlSymbolpublic ParamDecl asIn()
public void parse()
IdlSymbolpublic void print(PrintWriter ps)
public void printAddArgumentStatement(PrintWriter ps, String reqname)
public void printExtractArgumentStatement(PrintWriter ps)
ps - public void accept(IDLTreeVisitor visitor)
IdlSymbolCopyright © 2017 JacORB. All rights reserved.