BaseDSL

abstract class BaseDSL : SearchDSL, Copy

Base class for the Copy DSL.

Constructors

BaseDSL
Link copied to clipboard
common
fun BaseDSL()

Types

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

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

Functions

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

Allows to merge to constraints.

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

Creates an argument constrained spec.

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

Creates a context constrained spec.

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

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

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

Creates a tag constrained spec.

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

Allows to add a constraints spec.

Properties

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

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

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

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

Inheritors

Copy
Link copied to clipboard
Copy
Link copied to clipboard