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

org.snapscript.tree.define.PrimitiveState Maven / Gradle / Ivy

package org.snapscript.tree.define;

import org.snapscript.core.scope.Scope;
import org.snapscript.core.type.TypeState;
import org.snapscript.core.type.Type;
import org.snapscript.core.result.Result;

public class PrimitiveState extends TypeState {

   @Override
   public Result execute(Scope scope, Type type) throws Exception {  
      Scope outer = scope.getScope();
      return Result.getNormal(outer);
   }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy