All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.snapscript.tree.CatchBlock Maven / Gradle / Ivy

There is a newer version: 1.4.6
Show newest version
package org.snapscript.tree;

import org.snapscript.core.Statement;
import org.snapscript.tree.function.ParameterDeclaration;

public class CatchBlock {
   
   private final ParameterDeclaration declaration;
   private final Statement statement;
   
   public CatchBlock(ParameterDeclaration declaration, Statement statement) {
      this.declaration = declaration;
      this.statement = statement;
   }

   public ParameterDeclaration getDeclaration() {
      return declaration;
   }

   public Statement getStatement() {
      return statement;
   }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy