Class TryBlock


  • public class TryBlock
    extends Expansion
    Describes expansions of the form "try {...} ...".
    • Field Detail

      • exp

        public Expansion exp
        The expansion contained within the try block.
      • types

        public java.util.List<java.util.List<Token>> types
        The types of each catch block. Each list entry is itself a list which in turn contains tokens as entries.
      • ids

        public java.util.List<Token> ids
        The exception identifiers of each catch block. Each list entry is a token.
      • catchblks

        public java.util.List<java.util.List<Token>> catchblks
        The block part of each catch block. Each list entry is itself a list which in turn contains tokens as entries.
      • finallyblk

        public java.util.List<Token> finallyblk
        The block part of the finally block. Each list entry is a token. If there is no finally block, this is null.
    • Constructor Detail

      • TryBlock

        public TryBlock()
    • Method Detail

      • dump

        public java.lang.StringBuffer dump​(int indent,
                                           java.util.Set alreadyDumped)
        Overrides:
        dump in class Expansion