org.combinators.cls.interpreter.ReflectedRepository
InhabitationBatchJob
Companion object InhabitationBatchJob
sealed trait InhabitationBatchJob extends AnyRef
Combines multiple inhabitation requests into one more efficient batch job. Reuses shared intermediate results. Create new batch jobs using [InhabitationBatchJob.apply[R](Type*)] and [InhabitationBatchJob.addJob[R](Type*)].
- Self Type
- InhabitationBatchJob
- Alphabetic
- By Inheritance
- InhabitationBatchJob
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
Abstract Value Members
-
abstract
val
semanticTypes: Seq[Type]
All semantic types of the last request.
All semantic types of the last request. These are be joined in a big intersection as in inhabit.
-
abstract
def
toResult(resultGrammar: TreeGrammar): ResultType
Interpretes the tree grammar returned by the algorithm as the computed
ResultType, that is a combination of all requested native Scala types in this job. -
abstract
val
typeTag: scala.reflect.api.JavaUniverse.WeakTypeTag[RequestType]
Reflected type information about the native Scala request type.
Concrete 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
addJob[R](semanticTypes: Type*)(implicit tag: scala.reflect.api.JavaUniverse.WeakTypeTag[R]): AuxWithPrior[R, ResultType]
Creates a new batch job, adding the request specified via
RandsemanticTypesto the requests in this job.Creates a new batch job, adding the request specified via
RandsemanticTypesto the requests in this job. The result type is composed by creating a tuple of the current result type and the newly requested typeR, whereResultTypeis the first component andRis the second component. -
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
enrichTaxonomyWithTargets(taxonomy: NativeTaxonomyBuilder): NativeTaxonomyBuilder
Collects subtype information about
RequestType. -
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] )
-
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
-
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()
-
def
run(): ResultType
Runs this batch job, returning the current native scala
ResultType. -
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
targets: Seq[Type]
Computes a sequence of all requested target types of this batch job.
-
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( ... )