1 package org.jacorb.idl; 2 3 22 23 import java.io.PrintWriter ; 24 25 29 30 public class Declarator 31 extends IdlSymbol 32 { 33 public Declarator d; 34 35 public Declarator( int num ) 36 { 37 super( num ); 38 } 39 40 public String name() 41 { 42 return d.name(); 43 } 44 45 public void setPackage( String s ) 46 { 47 s = parser.pack_replace( s ); 48 d.setPackage( s ); 49 } 50 51 public void set_included( boolean i ) 52 { 53 included = i; 54 d.set_included( i ); 55 } 56 57 String full_name() 58 { 59 return d.full_name(); 60 } 61 62 64 65 public void escapeName() 66 { 67 d.escapeName(); 68 } 69 70 public void parse() 71 { 72 d.parse(); 73 } 74 75 public void print( PrintWriter ps ) 76 { 77 } 78 79 public String toString() 80 { 81 return d.toString(); 82 } 83 84 public void setEnclosingSymbol( IdlSymbol s ) 85 { 86 d.setEnclosingSymbol( s ); 87 } 88 89 public IdlSymbol getEnclosingSymbol() 90 { 91 return d.getEnclosingSymbol(); 92 } 93 } 94 95 96 97 | Popular Tags |