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

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


package org.snapscript.tree.define;

import org.snapscript.core.Result;
import org.snapscript.core.ResultType;
import org.snapscript.core.Scope;
import org.snapscript.core.Type;
import org.snapscript.core.TypeFactory;

public class PrimitiveConstructor extends TypeFactory {

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy