BaseDSL

abstract class BaseDSL : SearchDSL, Copy

Base class for the Copy DSL.

Constructors

Link copied to clipboard
fun BaseDSL()

Types

Link copied to clipboard
class Sentence(specs: MutableList<CopySpecs>)

Second half of the sentence [copy|ignore] the and [copy|ignore] all

Functions

Link copied to clipboard
infix fun SearchSpecs.and(spec: SearchDSL.Spec): SearchSpecs

Allows to merge to constraints.

Link copied to clipboard
fun Argument(argumentType: TypeToken<*>): SearchDSL.Spec

Creates an argument constrained spec.

Link copied to clipboard
fun Context(contextType: TypeToken<*>): SearchDSL.Spec

Creates a context constrained spec.

Link copied to clipboard
abstract fun keySet(tree: DITree): Set<DI.Key<*, *, *>>

The keys to copy from the given tree, according to the rules defined in this object.

Link copied to clipboard
fun tag(tag: Any?): SearchDSL.Spec

Creates a tag constrained spec.

Link copied to clipboard
infix fun SearchSpecs.with(spec: SearchDSL.Spec): SearchSpecs

Allows to add a constraints spec.

Properties

Link copied to clipboard
val copy: Copy.BaseDSL.Sentence

Beginning of the following DSLs: copy the ... and copy all ....

Link copied to clipboard
val ignore: Copy.BaseDSL.Sentence

Beginning of the following DSLs: ignore the ... and ignore all ....

Inheritors

Link copied to clipboard
Link copied to clipboard