className
public String className()
getIDLTypeName
public String getIDLTypeName()
get this symbol's IDL type name
- getIDLTypeName in interface TypeDeclaration
getJavaTypeName
public String getJavaTypeName()
get this types's mapped Java name
- getJavaTypeName in interface TypeDeclaration
getTypeCodeExpression
public String getTypeCodeExpression()
- getTypeCodeExpression in interface TypeDeclaration
- a string for an expression of type TypeCode that
describes this type
getTypeCodeExpression
public String getTypeCodeExpression(Set knownTypes)
Returns a type code expression (for use in generated code) for
this type. If `knownTypes' contains this type,
then a recursive type code is returned.
- getTypeCodeExpression in interface TypeDeclaration
holderName
public String holderName()
- holderName in interface TypeDeclaration
isException
public boolean isException()
- true if this struct represents an IDL exception
print
public void print(PrintWriter ps)
Generates code from this AST class
- print in interface TypeDeclaration
ps
- not used, the necessary output streams to classes
that receive code (e.g., helper and holder classes for the
IDL/Java mapping, are created inside this method.
printReadExpression
public String printReadExpression(String Streamname)
- printReadExpression in interface TypeDeclaration
printWriteStatement
public String printWriteStatement(String var_name,
String streamname)
- printWriteStatement in interface TypeDeclaration
setPackage
public void setPackage(String s)
- setPackage in interface TypeDeclaration
set_included
public void set_included(boolean i)
used by the lexer to mark this symbol as included from another
IDL file
- set_included in interface TypeDeclaration
set_memberlist
public void set_memberlist(MemberList m)