1 /*2 * Copyright © 2002 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,3 * California 95054, U.S.A. All rights reserved. Sun Microsystems, Inc. has4 * intellectual property rights relating to technology embodied in the product5 * that is described in this document. In particular, and without limitation,6 * these intellectual property rights may include one or more of the U.S.7 * patents listed at http://www.sun.com/patents and one or more additional8 * patents or pending patent applications in the U.S. and in other countries.9 * U.S. Government Rights - Commercial software. Government users are subject10 * to the Sun Microsystems, Inc. standard license agreement and applicable11 * provisions of the FAR and its supplements. Use is subject to license terms.12 * Sun, Sun Microsystems, the Sun logo and Java are trademarks or registered13 * trademarks of Sun Microsystems, Inc. in the U.S. and other countries. This14 * product is covered and controlled by U.S. Export Control laws and may be15 * subject to the export or import laws in other countries. Nuclear, missile,16 * chemical biological weapons or nuclear maritime end uses or end users,17 * whether direct or indirect, are strictly prohibited. Export or reexport18 * to countries subject to U.S. embargo or to entities identified on U.S.19 * export exclusion lists, including, but not limited to, the denied persons20 * and specially designated nationals lists is strictly prohibited.21 */22 23 package org.javacc.parser;24 25 /**26 * Describes expansions of the form "try {...} ..."27 */28 29 public class TryBlock extends Expansion {30 31 /**32 * The expansion contained within the try block.33 */34 public Expansion exp;35 36 /**37 * The types of each catch block. Each vector entry is itself a38 * vector which in turn contains tokens as entries.39 */40 public java.util.Vector types;41 42 /**43 * The exception identifiers of each catch block. Each vector entry44 * is a token.45 */46 public java.util.Vector ids;47 48 /**49 * The block part of each catch block. Each vector entry is itself a50 * vector which in turn contains tokens as entries.51 */52 public java.util.Vector catchblks;53 54 /**55 * The block part of the finally block. Each vector entry is a token.56 * If there is no finally block, this is null.57 */58 public java.util.Vector finallyblk;59 60 }61