| java.lang.Object org.jacorb.idl.runtime.symbol org.jacorb.idl.IdlSymbol
All known Subclasses: org.jacorb.idl.ElementSpec, org.jacorb.idl.XorExpr, org.jacorb.idl.Declaration, org.jacorb.idl.Literal, org.jacorb.idl.AttrRaisesExpr, org.jacorb.idl.AddExpr, org.jacorb.idl.InterfaceBody, org.jacorb.idl.UnaryExpr, org.jacorb.idl.PosIntConst, org.jacorb.idl.ConstType, org.jacorb.idl.SwitchBody, org.jacorb.idl.FixedArraySize, org.jacorb.idl.TypeDeclarator, org.jacorb.idl.Declarator, org.jacorb.idl.ParamDecl, org.jacorb.idl.OrExpr, org.jacorb.idl.TypeSpec, org.jacorb.idl.Case, org.jacorb.idl.Truncatable, org.jacorb.idl.Definition, org.jacorb.idl.AndExpr, org.jacorb.idl.Spec, org.jacorb.idl.PrimaryExpr, org.jacorb.idl.RaisesExpr, org.jacorb.idl.ConstExpr, org.jacorb.idl.ShiftExpr, org.jacorb.idl.MultExpr, org.jacorb.idl.SymbolList,
IdlSymbol | public class IdlSymbol extends org.jacorb.idl.runtime.symbol (Code) | | Base class for all classes of the abstract IDL syntax tree
author: Gerald Brose version: $Id: IdlSymbol.java,v 1.45 2006/08/03 12:31:17 alphonse.bendt Exp $ |
Constructor Summary | |
public | IdlSymbol(int num) |
fileSeparator | final protected static char fileSeparator(Code) | | |
included | protected boolean included(Code) | | |
inhibitionFlag | protected boolean inhibitionFlag(Code) | | |
is_pseudo | protected boolean is_pseudo(Code) | | |
myPosition | PositionInfo myPosition(Code) | | the posizion in the IDL file where this symbol was found by the lexer,
needed for better error messages
|
IdlSymbol | public IdlSymbol(int num)(Code) | | class constructor
|
addImportedAlias | public void addImportedAlias(String alias)(Code) | | Called by derived classes to potentially add the aliasHelper
name to the generated Java class's import list, which is
necessary in case the mapped code is in the unnamed package.
Parameters: alias - the name of the alias |
addImportedName | public void addImportedName(String name)(Code) | | Called by derived classes to potentially add the name and the
nameHelper to the generated Java class's import list, which is
necessary in case the mapped code is in the unnamed package.
Parameters: name - |
addImportedName | public void addImportedName(String name, TypeSpec type)(Code) | | Called by derived classes to potentially add the name and the
nameHelper to the generated Java class's import list, which is
necessary in case the mapped code is in the unnamed package.
Parameters: name - Parameters: type - |
addImportedNameHolder | public void addImportedNameHolder(String name)(Code) | | Called by derived classes to potentially add the name, the
nameHelper and nameHolder to the generated Java class's import
list, which is necessary in case the mapped code is in the
unnamed package.
Parameters: name - |
escapeName | public void escapeName()(Code) | | A number of IDL constructs need to have their names
checked for clashes with name reserved by Java or
the Java Language Mapping.
|
full_name | String full_name()(Code) | | fully scoped IDL identifier |
generateIncluded | protected boolean generateIncluded()(Code) | | access to parser state (e.g. options)
|
getFullName | protected String getFullName(String name)(Code) | | this method will prepend the
specified name with the omg prefix if
necessary
the full qualified java name |
isEscaped | public boolean isEscaped()(Code) | | |
is_included | public boolean is_included()(Code) | | is this a symbol included from another IDL file?
Used to determine if code should be generated or not.
|
is_pseudo | public boolean is_pseudo()(Code) | | is this a PIDL symbol?
|
javaName | String javaName()(Code) | | fully scoped Java identifier, only used incode generation phase |
new_num | public static int new_num()(Code) | | |
omgPrefix | public String omgPrefix()(Code) | | "org.omg." if the symbol has been declared inside ascope with a pragma prefix of "omg.org". |
printClassComment | final protected void printClassComment(String type, String name, PrintWriter ps)(Code) | | printClassComment is used by inherited classes to print
the class comment.
Parameters: name - a String value Parameters: ps - a PrintWriter value |
setPrintPhaseNames | public void setPrintPhaseNames()(Code) | | |
set_included | void set_included(boolean i)(Code) | | used by the lexer to mark this symbol as included from another
IDL file
|
set_name | public void set_name(String n)(Code) | | the name of this symbol
|
set_pseudo | public void set_pseudo()(Code) | | |
|
|