public class ScopedName extends SimpleTypeSpec
| Modifier and Type | Field and Description |
|---|---|
String |
typeName |
_id, enclosing_symbol, fileSeparator, included, inhibitionFlag, is_pseudo, omg_package_prefix, pack_nameparse_state, sym| Constructor and Description |
|---|
ScopedName(int num) |
| Modifier and Type | Method and Description |
|---|---|
static void |
addRecursionScope(String typeName) |
boolean |
basic() |
Object |
clone() |
static void |
definePseudoScope(String name)
Interfaces define a new scope, but since we can't do that
in Java, this kind of scope is called a 'pseudo scope' and
is just prepended to the interface name
|
static void |
enumMap(String n,
String m)
enumerations don't define new scopes in IDL, but their
mapping to Java introduces a new scope by generating
a new class for the enum's type.
|
void |
escapeName()
A number of IDL constructs need to have their names
checked for clashes with name reserved by Java or
the Java Language Mapping.
|
String |
getTypeCodeExpression() |
String |
holderName() |
String |
id() |
String |
IDLName() |
boolean |
is_pseudo()
is this a PIDL symbol?
|
boolean |
isEscaped(String name) |
static boolean |
isPseudoScope(String name) |
static boolean |
isRecursionScope(String typeName) |
boolean |
isSwitchable() |
void |
parse()
empty parse
|
void |
print(PrintWriter ps) |
String |
printExtractExpression() |
String |
printInsertExpression() |
String |
printReadExpression(String streamname) |
String |
printWriteStatement(String var_name,
String streamname) |
static void |
removeRecursionScope(String typeName) |
boolean |
resolved() |
String |
resolvedName() |
TypeSpec |
resolvedTypeSpec() |
void |
setEnclosingSymbol(IdlSymbol s) |
void |
setId(String _id) |
void |
setPackage(String s) |
String |
toString() |
String |
typeName() |
TypeSpec |
typeSpec() |
static String |
unPseudoName(String name)
unPseudo transforms scoped names like
module.Interface1.Interface2.Type_name to
module.Interface1Package.Interface2Package.Type_name
|
accept, getTCKindgetIDLTypeName, getJavaTypeName, getTypeCodeExpression, helperName, printExtractResult, printInsertIntoAny, printReadStatement, set_constraddImportedAlias, addImportedName, addImportedName, addImportedNameHolder, deEscapeName, generateIncluded, get_token, getEnclosingSymbol, getFullName, is_included, isEscaped, name, new_num, omgPrefix, printClassComment, printIdMethod, printImport, set_name, set_pseudo, set_token, setPrintPhaseNamespublic String typeName
public static void definePseudoScope(String name)
public static boolean isPseudoScope(String name)
public static String unPseudoName(String name)
public static void enumMap(String n, String m)
public void setId(String _id)
public void escapeName()
IdlSymbolescapeName in class IdlSymbolpublic void setEnclosingSymbol(IdlSymbol s)
setEnclosingSymbol in class TypeSpecpublic void parse()
IdlSymbolpublic boolean resolved()
public boolean basic()
public boolean is_pseudo()
IdlSymbolpublic TypeSpec resolvedTypeSpec()
public boolean isEscaped(String name)
public String resolvedName()
public void setPackage(String s)
setPackage in class TypeSpecpublic String typeName()
public String holderName()
holderName in class TypeSpecpublic String printReadExpression(String streamname)
printReadExpression in class TypeSpecpublic String printWriteStatement(String var_name, String streamname)
printWriteStatement in class TypeSpecpublic String printInsertExpression()
printInsertExpression in class TypeSpecpublic String printExtractExpression()
printExtractExpression in class TypeSpecpublic String getTypeCodeExpression()
getTypeCodeExpression in class TypeSpecpublic void print(PrintWriter ps)
public String IDLName()
public static void addRecursionScope(String typeName)
public static void removeRecursionScope(String typeName)
public static boolean isRecursionScope(String typeName)
public boolean isSwitchable()
Copyright © 2017 JacORB. All rights reserved.