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_name
parse_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, getTCKind
getIDLTypeName, getJavaTypeName, getTypeCodeExpression, helperName, printExtractResult, printInsertIntoAny, printReadStatement, set_constr
addImportedAlias, 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, setPrintPhaseNames
public 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()
IdlSymbol
escapeName
in class IdlSymbol
public void setEnclosingSymbol(IdlSymbol s)
setEnclosingSymbol
in class TypeSpec
public void parse()
IdlSymbol
public boolean resolved()
public boolean basic()
public boolean is_pseudo()
IdlSymbol
public TypeSpec resolvedTypeSpec()
public boolean isEscaped(String name)
public String resolvedName()
public void setPackage(String s)
setPackage
in class TypeSpec
public String typeName()
public String holderName()
holderName
in class TypeSpec
public String printReadExpression(String streamname)
printReadExpression
in class TypeSpec
public String printWriteStatement(String var_name, String streamname)
printWriteStatement
in class TypeSpec
public String printInsertExpression()
printInsertExpression
in class TypeSpec
public String printExtractExpression()
printExtractExpression
in class TypeSpec
public String getTypeCodeExpression()
getTypeCodeExpression
in class TypeSpec
public 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 © 2016 JacORB. All rights reserved.