Package gnu.expr

Class TryExp

  • All Implemented Interfaces:
    gnu.kawa.format.Printable, Named, SourceLocator, javax.xml.transform.SourceLocator, org.xml.sax.Locator

    public class TryExp
    extends Expression
    This class represents try/catch/finally.
    • Method Detail

      • getCatchClauses

        public final CatchClause getCatchClauses()
      • getFinallyClause

        public final Expression getFinallyClause()
      • setCatchClauses

        public final void setCatchClauses​(CatchClause catch_clauses)
      • apply

        public void apply​(CallContext ctx)
                   throws java.lang.Throwable
        Description copied from class: Expression
        Evaluate the expression. This is named apply rather than eval so it is compatible with the full-tail-call calling convention, and we can stash an Expression in CallContext's proc field. FIXME - are we making use of this?
        Overrides:
        apply in class Expression
        Throws:
        java.lang.Throwable
      • print

        public void print​(gnu.kawa.io.OutPort ps)
        Specified by:
        print in class Expression