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

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

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