/// <summary>
        /// calculates the scope names of all the scopes represented by the inherited interfaces.
        /// </summary>
        /// <remarks>this method is used by IDLParser.</remarks>
        /// <returns>a list of scoped names IList /* <ASTscoped_name> */ </returns>
        public IList getInheritedScopeNames()
        {
            IList result = new ArrayList();

            for (int i = 0; i < jjtGetNumChildren(); i++)
            {
                ASTinterface_name ifName     = (ASTinterface_name)jjtGetChild(i);
                ASTscoped_name    scopedName = (ASTscoped_name)ifName.jjtGetChild(0);
                result.Add(scopedName);
            }
            return(result);
        }
Beispiel #2
0
/* Production 11: chapter 3.4, CORBA 2.3.1 */
  public void interface_name() {
 /*@bgen(jjtree) interface_name */
  ASTinterface_name jjtn000 = new ASTinterface_name(this, IDLParserTreeConstants.JJTINTERFACE_NAME);
  bool jjtc000 = true;
  jjtree.openNodeScope(jjtn000);
    try {
      scoped_name();
    } catch (Exception jjte000) {
      if (jjtc000) {
        jjtree.clearNodeScope(jjtn000);
        jjtc000 = false;
      } else {
        jjtree.popNode();
      }
    {if (true) throw ;}
    } finally {
      if (jjtc000) {
        jjtree.closeNodeScope(jjtn000, true);
      }
    }
  }
 /**
  * @see parser.IDLParserVisitor#visit(ASTinterface_name, Object)
  */
 public Object visit(ASTinterface_name node, Object data) {
     Symbol result = (Symbol)node.jjtGetChild(0).jjtAccept(this, data);
     return result;
 }