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

org.snapscript.core.scope.index.Local Maven / Gradle / Ivy

package org.snapscript.core.scope.index;

import org.snapscript.core.constraint.Constraint;
import org.snapscript.core.variable.Value;

public abstract class Local extends Value {
   
   public static Local getConstant(Object value, String name) {
      return new LocalConstant(value, name, null);
   }
   
   public static Local getConstant(Object value, String name, Constraint type) {
      return new LocalConstant(value, name, type);
   }

   public static Local getReference(Object value, String name) {
      return new LocalReference(value, name, null);
   }
   
   public static Local getReference(Object value, String name, Constraint type) {
      return new LocalReference(value, name, type);
   }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy