org.jacorb.idl
Class Definition

java.lang.Object
  extended by org.jacorb.idl.runtime.symbol
      extended by org.jacorb.idl.IdlSymbol
          extended by org.jacorb.idl.Definition

public class Definition
extends IdlSymbol


Field Summary
 
Fields inherited from class org.jacorb.idl.IdlSymbol
_id, enclosing_symbol, fileSeparator, included, inhibitionFlag, is_pseudo, omg_package_prefix, pack_name
 
Fields inherited from class org.jacorb.idl.runtime.symbol
parse_state, sym
 
Constructor Summary
Definition(Declaration d)
           
Definition(int num)
           
 
Method Summary
 void accept(IDLTreeVisitor visitor)
          let the visitor pattern do its work...
 Declaration get_declaration()
           
 void parse()
          empty parse
 void print(java.io.PrintWriter ps)
           
 void set_declaration(Declaration d)
           
 void set_included(boolean i)
          used by the lexer to mark this symbol as included from another IDL file
 void setEnclosingSymbol(IdlSymbol s)
           
 void setPackage(java.lang.String s)
           
 
Methods inherited from class org.jacorb.idl.IdlSymbol
addImportedAlias, addImportedName, addImportedName, addImportedNameHolder, deEscapeName, escapeName, generateIncluded, get_token, getEnclosingSymbol, id, is_included, is_pseudo, isEscaped, name, new_num, omgPrefix, printIdMethod, printImport, set_name, set_pseudo, set_token, setPrintPhaseNames
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Definition

public Definition(int num)

Definition

public Definition(Declaration d)
Method Detail

setPackage

public void setPackage(java.lang.String s)
Overrides:
setPackage in class IdlSymbol

setEnclosingSymbol

public void setEnclosingSymbol(IdlSymbol s)
Overrides:
setEnclosingSymbol in class IdlSymbol

get_declaration

public Declaration get_declaration()

set_declaration

public void set_declaration(Declaration d)

set_included

public void set_included(boolean i)
Description copied from class: IdlSymbol
used by the lexer to mark this symbol as included from another IDL file


print

public void print(java.io.PrintWriter ps)
Overrides:
print in class IdlSymbol

parse

public void parse()
Description copied from class: IdlSymbol
empty parse

Overrides:
parse in class IdlSymbol

accept

public void accept(IDLTreeVisitor visitor)
Description copied from class: IdlSymbol
let the visitor pattern do its work...

Overrides:
accept in class IdlSymbol