org.jacorb.idl
public class TypeDeclaration extends Declaration
Version: $Id: TypeDeclaration.java,v 1.27 2006/06/14 12:32:32 alphonse.bendt Exp $
| Field Summary | |
|---|---|
| TypeDeclaration | type_decl |
| Constructor Summary | |
|---|---|
| TypeDeclaration(int num) | |
| Method Summary | |
|---|---|
| void | accept(IDLTreeVisitor visitor) |
| boolean | basic() |
| Object | clone() |
| TypeDeclaration | declaration() |
| String | getIDLTypeName()
get this symbol's IDL type name |
| String | getJavaTypeName()
get this types's mapped Java name |
| String | getRecursiveTypeCodeExpression() |
| String | getTypeCodeExpression(Set knownTypes)
Returns a type code expression (for use in generated code) for
this type. |
| String | getTypeCodeExpression() |
| String | helperName() |
| String | holderName() |
| void | markTypeDefd(String alias)
we have to be able to distinguish between explicitly typedef'd
type names and anonymously defined type names |
| void | parse() |
| void | print(PrintWriter ps) |
| void | printExtractResult(PrintWriter ps, String resultname, String anyname, String resulttype) |
| void | printInsertIntoAny(PrintWriter ps, String anyname, String varname) |
| String | printReadExpression(String streamname) |
| String | printReadStatement(String var_name, String streamname) |
| String | printWriteStatement(String var_name, String streamname) |
| void | setEnclosingSymbol(IdlSymbol s) |
| void | setPackage(String s) |
| void | set_included(boolean i) |
| String | toString() |
| String | typeName() |
Returns: a string for an expression of type TypeCode that describes this type