示例#1
0
/* Production 63, chapter 3.4, corba 2.3.1 */
  public void char_type() {
 /*@bgen(jjtree) char_type */
  ASTchar_type jjtn000 = new ASTchar_type(this, IDLParserTreeConstants.JJTCHAR_TYPE);
  bool jjtc000 = true;
  jjtree.openNodeScope(jjtn000);
    try {
      jj_consume_token(55);
    } finally {
    if (jjtc000) {
      jjtree.closeNodeScope(jjtn000, true);
    }
    }
  }
 /**
  * @see parser.IDLParserVisitor#visit(ASTchar_type, Object)
  * @param data unused
  * @return a TypeContainer for the char type
  */
 public Object visit(ASTchar_type node, Object data) {
     AttributeExtCollection attrs = new AttributeExtCollection(
         new Attribute[] { new WideCharAttribute(false) });
     TypeContainer containter = new TypeContainer(typeof(System.Char), attrs);
     return containter;
 }