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

org.snapscript.core.NoStatement Maven / Gradle / Ivy

package org.snapscript.core;

import static org.snapscript.core.result.Result.NORMAL;

import org.snapscript.core.constraint.Constraint;
import org.snapscript.core.scope.Scope;

public class NoStatement extends Statement {
   
   private final Execution execution;
   
   public NoStatement() {
      this.execution = new NoExecution(NORMAL);
   }

   @Override
   public Execution compile(Scope scope, Constraint returns) throws Exception {
      return execution;
   }
   
   
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy