object ReflectedRepository
Helper object to construct a ReflectedRepository.
- Alphabetic
- By Inheritance
- ReflectedRepository
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
apply[R](inst: R, semanticTaxonomy: Taxonomy = Taxonomy.empty, substitutionSpace: FiniteSubstitutionSpace = FiniteSubstitutionSpace.empty, algorithm: InhabitationAlgorithm = BoundedCombinatoryLogic.algorithm, classLoader: ClassLoader = getClass.getClassLoader)(implicit tag: scala.reflect.api.JavaUniverse.WeakTypeTag[R]): ReflectedRepository[R]
Obtains a ReflectedRepository from an instance of any type
R.Obtains a ReflectedRepository from an instance of any type
R. Use ReflectedRepository.inhabit or ReflectedRepository.InhabitationBatchJob to perform type inhabitation with the constructed repository. If desired, pass in another inhabitation algorithm implementation, e.g. one creating debug information.- R
the Scala type of the repository.
- inst
the instance to obtain reflection information from.
- semanticTaxonomy
a subtype relation on semantic type constructors used in
inst.- substitutionSpace
a finite restriction on the space of well-formed substitutions used during inhabitation.
- algorithm
the inhabitation algorithm to use.
- classLoader
the class loader to resolve combinator implementations when interpreting inhabitation results.
- tag
reflection information to inspect
R.- returns
a repository that contains every combinator in
instand has methods to perform inhabitation.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
fullTypeOf(combinatorInfo: CombinatorInfo): Type
Constructs the full type of a combinator out of a CombinatorInfo object.
Constructs the full type of a combinator out of a CombinatorInfo object. The full type is nativeTypeOf(CombinatorInfo) intersected with the semantic type.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
nativeTypeOf(combinatorInfo: CombinatorInfo): Type
Constructs the native combinator type out of a CombinatorInfo object.
Constructs the native combinator type out of a CombinatorInfo object. For this,
apply(x: A, y: B): CbecomesA =>: B =>: C. -
def
nativeTypeOf(ty: scala.reflect.api.JavaUniverse.Type): Constructor
Translates the reflected native Scala type
tyinto an intersection type constant. -
def
nativeTypeOf[A](implicit aTag: scala.reflect.api.JavaUniverse.WeakTypeTag[A]): Constructor
Translates native Scala type
Ainto an intersection type constant. -
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )