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

org.squeryl.dsl.boilerplate.Query.scala Maven / Gradle / Ivy

Go to download

A Scala ORM and DSL for talking with Databases using minimum verbosity and maximum type safety

The newest version!
package org.squeryl.dsl.boilerplate

import java.sql.ResultSet
import org.squeryl.internals.ResultSetMapper
import org.squeryl.dsl.AbstractQuery
import org.squeryl.dsl.QueryYield
import org.squeryl.Query
import org.squeryl.Queryable


class Query1[T1, R](
  t1: Queryable[T1],
  f: Function1[T1, QueryYield[R]],
  isRoot: Boolean,
  unions: List[(String, Query[R])]
) extends AbstractQuery[R](isRoot, unions) {

  val sq1 = createSubQueryable(t1)

  def createCopy(root: Boolean, newUnions: List[(String, Query[R])]): AbstractQuery[R] =
    new Query1[T1, R](t1, f, root, copyUnions(unions ++ newUnions))

  def invokeYield(rsm: ResultSetMapper, rs: ResultSet): R =
    f(sq1.give(rs)).invokeYield(rsm, rs)

  val ast = buildAst(
    f(sq1.sample),
    sq1
  )
}

class Query2[T1, T2, R](
  t1: Queryable[T1], t2: Queryable[T2],
  f: Function2[T1, T2, QueryYield[R]],
  isRoot: Boolean,
  unions: List[(String, Query[R])]
) extends AbstractQuery[R](isRoot, unions) {

  val sq1 = createSubQueryable(t1)
  val sq2 = createSubQueryable(t2)

  def createCopy(root: Boolean, newUnions: List[(String, Query[R])]): AbstractQuery[R] =
    new Query2[T1, T2, R](t1, t2, f, root, copyUnions(unions ++ newUnions))

  def invokeYield(rsm: ResultSetMapper, rs: ResultSet): R =
    f(sq1.give(rs), sq2.give(rs)).invokeYield(rsm, rs)

  val ast = buildAst(
    f(sq1.sample, sq2.sample),
    sq1, sq2
  )
}

class Query3[T1, T2, T3, R](
  t1: Queryable[T1], t2: Queryable[T2], t3: Queryable[T3],
  f: Function3[T1, T2, T3, QueryYield[R]],
  isRoot: Boolean,
  unions: List[(String, Query[R])]
) extends AbstractQuery[R](isRoot, unions) {

  val sq1 = createSubQueryable(t1)
  val sq2 = createSubQueryable(t2)
  val sq3 = createSubQueryable(t3)

  def createCopy(root: Boolean, newUnions: List[(String, Query[R])]): AbstractQuery[R] =
    new Query3[T1, T2, T3, R](t1, t2, t3, f, root, copyUnions(unions ++ newUnions))

  def invokeYield(rsm: ResultSetMapper, rs: ResultSet): R =
    f(sq1.give(rs), sq2.give(rs), sq3.give(rs)).invokeYield(rsm, rs)

  val ast = buildAst(
    f(sq1.sample, sq2.sample, sq3.sample),
    sq1, sq2, sq3
  )
}

class Query4[T1, T2, T3, T4, R](
  t1: Queryable[T1], t2: Queryable[T2], t3: Queryable[T3], t4: Queryable[T4],
  f: Function4[T1, T2, T3, T4, QueryYield[R]],
  isRoot: Boolean,
  unions: List[(String, Query[R])]
) extends AbstractQuery[R](isRoot, unions) {

  val sq1 = createSubQueryable(t1)
  val sq2 = createSubQueryable(t2)
  val sq3 = createSubQueryable(t3)
  val sq4 = createSubQueryable(t4)

  def createCopy(root: Boolean, newUnions: List[(String, Query[R])]): AbstractQuery[R] =
    new Query4[T1, T2, T3, T4, R](t1, t2, t3, t4, f, root, copyUnions(unions ++ newUnions))

  def invokeYield(rsm: ResultSetMapper, rs: ResultSet): R =
    f(sq1.give(rs), sq2.give(rs), sq3.give(rs), sq4.give(rs)).invokeYield(rsm, rs)

  val ast = buildAst(
    f(sq1.sample, sq2.sample, sq3.sample, sq4.sample),
    sq1, sq2, sq3, sq4
  )
}

class Query5[T1, T2, T3, T4, T5, R](
  t1: Queryable[T1], t2: Queryable[T2], t3: Queryable[T3], t4: Queryable[T4], t5: Queryable[T5],
  f: Function5[T1, T2, T3, T4, T5, QueryYield[R]],
  isRoot: Boolean,
  unions: List[(String, Query[R])]
) extends AbstractQuery[R](isRoot, unions) {

  val sq1 = createSubQueryable(t1)
  val sq2 = createSubQueryable(t2)
  val sq3 = createSubQueryable(t3)
  val sq4 = createSubQueryable(t4)
  val sq5 = createSubQueryable(t5)

  def createCopy(root: Boolean, newUnions: List[(String, Query[R])]): AbstractQuery[R] =
    new Query5[T1, T2, T3, T4, T5, R](t1, t2, t3, t4, t5, f, root, copyUnions(unions ++ newUnions))

  def invokeYield(rsm: ResultSetMapper, rs: ResultSet): R =
    f(sq1.give(rs), sq2.give(rs), sq3.give(rs), sq4.give(rs), sq5.give(rs)).invokeYield(rsm, rs)

  val ast = buildAst(
    f(sq1.sample, sq2.sample, sq3.sample, sq4.sample, sq5.sample),
    sq1, sq2, sq3, sq4, sq5
  )
}

class Query6[T1, T2, T3, T4, T5, T6, R](
  t1: Queryable[T1], t2: Queryable[T2], t3: Queryable[T3], t4: Queryable[T4], t5: Queryable[T5], t6: Queryable[T6],
  f: Function6[T1, T2, T3, T4, T5, T6, QueryYield[R]],
  isRoot: Boolean,
  unions: List[(String, Query[R])]
) extends AbstractQuery[R](isRoot, unions) {

  val sq1 = createSubQueryable(t1)
  val sq2 = createSubQueryable(t2)
  val sq3 = createSubQueryable(t3)
  val sq4 = createSubQueryable(t4)
  val sq5 = createSubQueryable(t5)
  val sq6 = createSubQueryable(t6)

  def createCopy(root: Boolean, newUnions: List[(String, Query[R])]): AbstractQuery[R] =
    new Query6[T1, T2, T3, T4, T5, T6, R](t1, t2, t3, t4, t5, t6, f, root, copyUnions(unions ++ newUnions))

  def invokeYield(rsm: ResultSetMapper, rs: ResultSet): R =
    f(sq1.give(rs), sq2.give(rs), sq3.give(rs), sq4.give(rs), sq5.give(rs), sq6.give(rs)).invokeYield(rsm, rs)

  val ast = buildAst(
    f(sq1.sample, sq2.sample, sq3.sample, sq4.sample, sq5.sample, sq6.sample),
    sq1, sq2, sq3, sq4, sq5, sq6
  )
}

class Query7[T1, T2, T3, T4, T5, T6, T7, R](
  t1: Queryable[T1], t2: Queryable[T2], t3: Queryable[T3], t4: Queryable[T4], t5: Queryable[T5], t6: Queryable[T6], t7: Queryable[T7],
  f: Function7[T1, T2, T3, T4, T5, T6, T7, QueryYield[R]],
  isRoot: Boolean,
  unions: List[(String, Query[R])]
) extends AbstractQuery[R](isRoot, unions) {

  val sq1 = createSubQueryable(t1)
  val sq2 = createSubQueryable(t2)
  val sq3 = createSubQueryable(t3)
  val sq4 = createSubQueryable(t4)
  val sq5 = createSubQueryable(t5)
  val sq6 = createSubQueryable(t6)
  val sq7 = createSubQueryable(t7)

  def createCopy(root: Boolean, newUnions: List[(String, Query[R])]): AbstractQuery[R] =
    new Query7[T1, T2, T3, T4, T5, T6, T7, R](t1, t2, t3, t4, t5, t6, t7, f, root, copyUnions(unions ++ newUnions))

  def invokeYield(rsm: ResultSetMapper, rs: ResultSet): R =
    f(sq1.give(rs), sq2.give(rs), sq3.give(rs), sq4.give(rs), sq5.give(rs), sq6.give(rs), sq7.give(rs)).invokeYield(rsm, rs)

  val ast = buildAst(
    f(sq1.sample, sq2.sample, sq3.sample, sq4.sample, sq5.sample, sq6.sample, sq7.sample),
    sq1, sq2, sq3, sq4, sq5, sq6, sq7
  )
}

class Query8[T1, T2, T3, T4, T5, T6, T7, T8, R](
  t1: Queryable[T1], t2: Queryable[T2], t3: Queryable[T3], t4: Queryable[T4], t5: Queryable[T5], t6: Queryable[T6], t7: Queryable[T7], t8: Queryable[T8],
  f: Function8[T1, T2, T3, T4, T5, T6, T7, T8, QueryYield[R]],
  isRoot: Boolean,
  unions: List[(String, Query[R])]
) extends AbstractQuery[R](isRoot, unions) {

  val sq1 = createSubQueryable(t1)
  val sq2 = createSubQueryable(t2)
  val sq3 = createSubQueryable(t3)
  val sq4 = createSubQueryable(t4)
  val sq5 = createSubQueryable(t5)
  val sq6 = createSubQueryable(t6)
  val sq7 = createSubQueryable(t7)
  val sq8 = createSubQueryable(t8)

  def createCopy(root: Boolean, newUnions: List[(String, Query[R])]): AbstractQuery[R] =
    new Query8[T1, T2, T3, T4, T5, T6, T7, T8, R](t1, t2, t3, t4, t5, t6, t7, t8, f, root, copyUnions(unions ++ newUnions))

  def invokeYield(rsm: ResultSetMapper, rs: ResultSet): R =
    f(sq1.give(rs), sq2.give(rs), sq3.give(rs), sq4.give(rs), sq5.give(rs), sq6.give(rs), sq7.give(rs), sq8.give(rs)).invokeYield(rsm, rs)

  val ast = buildAst(
    f(sq1.sample, sq2.sample, sq3.sample, sq4.sample, sq5.sample, sq6.sample, sq7.sample, sq8.sample),
    sq1, sq2, sq3, sq4, sq5, sq6, sq7, sq8
  )
}

class Query9[T1, T2, T3, T4, T5, T6, T7, T8, T9, R](
  t1: Queryable[T1], t2: Queryable[T2], t3: Queryable[T3], t4: Queryable[T4], t5: Queryable[T5], t6: Queryable[T6], t7: Queryable[T7], t8: Queryable[T8], t9: Queryable[T9],
  f: Function9[T1, T2, T3, T4, T5, T6, T7, T8, T9, QueryYield[R]],
  isRoot: Boolean,
  unions: List[(String, Query[R])]
) extends AbstractQuery[R](isRoot, unions) {

  val sq1 = createSubQueryable(t1)
  val sq2 = createSubQueryable(t2)
  val sq3 = createSubQueryable(t3)
  val sq4 = createSubQueryable(t4)
  val sq5 = createSubQueryable(t5)
  val sq6 = createSubQueryable(t6)
  val sq7 = createSubQueryable(t7)
  val sq8 = createSubQueryable(t8)
  val sq9 = createSubQueryable(t9)

  def createCopy(root: Boolean, newUnions: List[(String, Query[R])]): AbstractQuery[R] =
    new Query9[T1, T2, T3, T4, T5, T6, T7, T8, T9, R](t1, t2, t3, t4, t5, t6, t7, t8, t9, f, root, copyUnions(unions ++ newUnions))

  def invokeYield(rsm: ResultSetMapper, rs: ResultSet): R =
    f(sq1.give(rs), sq2.give(rs), sq3.give(rs), sq4.give(rs), sq5.give(rs), sq6.give(rs), sq7.give(rs), sq8.give(rs), sq9.give(rs)).invokeYield(rsm, rs)

  val ast = buildAst(
    f(sq1.sample, sq2.sample, sq3.sample, sq4.sample, sq5.sample, sq6.sample, sq7.sample, sq8.sample, sq9.sample),
    sq1, sq2, sq3, sq4, sq5, sq6, sq7, sq8, sq9
  )
}

class Query10[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, R](
  t1: Queryable[T1], t2: Queryable[T2], t3: Queryable[T3], t4: Queryable[T4], t5: Queryable[T5], t6: Queryable[T6], t7: Queryable[T7], t8: Queryable[T8], t9: Queryable[T9], t10: Queryable[T10],
  f: Function10[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, QueryYield[R]],
  isRoot: Boolean,
  unions: List[(String, Query[R])]
) extends AbstractQuery[R](isRoot, unions) {

  val sq1 = createSubQueryable(t1)
  val sq2 = createSubQueryable(t2)
  val sq3 = createSubQueryable(t3)
  val sq4 = createSubQueryable(t4)
  val sq5 = createSubQueryable(t5)
  val sq6 = createSubQueryable(t6)
  val sq7 = createSubQueryable(t7)
  val sq8 = createSubQueryable(t8)
  val sq9 = createSubQueryable(t9)
  val sq10 = createSubQueryable(t10)

  def createCopy(root: Boolean, newUnions: List[(String, Query[R])]): AbstractQuery[R] =
    new Query10[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, R](t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, f, root, copyUnions(unions ++ newUnions))

  def invokeYield(rsm: ResultSetMapper, rs: ResultSet): R =
    f(sq1.give(rs), sq2.give(rs), sq3.give(rs), sq4.give(rs), sq5.give(rs), sq6.give(rs), sq7.give(rs), sq8.give(rs), sq9.give(rs), sq10.give(rs)).invokeYield(rsm, rs)

  val ast = buildAst(
    f(sq1.sample, sq2.sample, sq3.sample, sq4.sample, sq5.sample, sq6.sample, sq7.sample, sq8.sample, sq9.sample, sq10.sample),
    sq1, sq2, sq3, sq4, sq5, sq6, sq7, sq8, sq9, sq10
  )
}

class Query11[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, R](
  t1: Queryable[T1], t2: Queryable[T2], t3: Queryable[T3], t4: Queryable[T4], t5: Queryable[T5], t6: Queryable[T6], t7: Queryable[T7], t8: Queryable[T8], t9: Queryable[T9], t10: Queryable[T10], t11: Queryable[T11],
  f: Function11[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, QueryYield[R]],
  isRoot: Boolean,
  unions: List[(String, Query[R])]
) extends AbstractQuery[R](isRoot, unions) {

  val sq1 = createSubQueryable(t1)
  val sq2 = createSubQueryable(t2)
  val sq3 = createSubQueryable(t3)
  val sq4 = createSubQueryable(t4)
  val sq5 = createSubQueryable(t5)
  val sq6 = createSubQueryable(t6)
  val sq7 = createSubQueryable(t7)
  val sq8 = createSubQueryable(t8)
  val sq9 = createSubQueryable(t9)
  val sq10 = createSubQueryable(t10)
  val sq11 = createSubQueryable(t11)

  def createCopy(root: Boolean, newUnions: List[(String, Query[R])]): AbstractQuery[R] =
    new Query11[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, R](t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, f, root, copyUnions(unions ++ newUnions))

  def invokeYield(rsm: ResultSetMapper, rs: ResultSet): R =
    f(sq1.give(rs), sq2.give(rs), sq3.give(rs), sq4.give(rs), sq5.give(rs), sq6.give(rs), sq7.give(rs), sq8.give(rs), sq9.give(rs), sq10.give(rs), sq11.give(rs)).invokeYield(rsm, rs)

  val ast = buildAst(
    f(sq1.sample, sq2.sample, sq3.sample, sq4.sample, sq5.sample, sq6.sample, sq7.sample, sq8.sample, sq9.sample, sq10.sample, sq11.sample),
    sq1, sq2, sq3, sq4, sq5, sq6, sq7, sq8, sq9, sq10, sq11
  )
}

class Query12[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, R](
  t1: Queryable[T1], t2: Queryable[T2], t3: Queryable[T3], t4: Queryable[T4], t5: Queryable[T5], t6: Queryable[T6], t7: Queryable[T7], t8: Queryable[T8], t9: Queryable[T9], t10: Queryable[T10], t11: Queryable[T11], t12: Queryable[T12],
  f: Function12[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, QueryYield[R]],
  isRoot: Boolean,
  unions: List[(String, Query[R])]
) extends AbstractQuery[R](isRoot, unions) {

  val sq1 = createSubQueryable(t1)
  val sq2 = createSubQueryable(t2)
  val sq3 = createSubQueryable(t3)
  val sq4 = createSubQueryable(t4)
  val sq5 = createSubQueryable(t5)
  val sq6 = createSubQueryable(t6)
  val sq7 = createSubQueryable(t7)
  val sq8 = createSubQueryable(t8)
  val sq9 = createSubQueryable(t9)
  val sq10 = createSubQueryable(t10)
  val sq11 = createSubQueryable(t11)
  val sq12 = createSubQueryable(t12)

  def createCopy(root: Boolean, newUnions: List[(String, Query[R])]): AbstractQuery[R] =
    new Query12[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, R](t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, f, root, copyUnions(unions ++ newUnions))

  def invokeYield(rsm: ResultSetMapper, rs: ResultSet): R =
    f(sq1.give(rs), sq2.give(rs), sq3.give(rs), sq4.give(rs), sq5.give(rs), sq6.give(rs), sq7.give(rs), sq8.give(rs), sq9.give(rs), sq10.give(rs), sq11.give(rs), sq12.give(rs)).invokeYield(rsm, rs)

  val ast = buildAst(
    f(sq1.sample, sq2.sample, sq3.sample, sq4.sample, sq5.sample, sq6.sample, sq7.sample, sq8.sample, sq9.sample, sq10.sample, sq11.sample, sq12.sample),
    sq1, sq2, sq3, sq4, sq5, sq6, sq7, sq8, sq9, sq10, sq11, sq12
  )
}

class Query13[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, R](
  t1: Queryable[T1], t2: Queryable[T2], t3: Queryable[T3], t4: Queryable[T4], t5: Queryable[T5], t6: Queryable[T6], t7: Queryable[T7], t8: Queryable[T8], t9: Queryable[T9], t10: Queryable[T10], t11: Queryable[T11], t12: Queryable[T12], t13: Queryable[T13],
  f: Function13[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, QueryYield[R]],
  isRoot: Boolean,
  unions: List[(String, Query[R])]
) extends AbstractQuery[R](isRoot, unions) {

  val sq1 = createSubQueryable(t1)
  val sq2 = createSubQueryable(t2)
  val sq3 = createSubQueryable(t3)
  val sq4 = createSubQueryable(t4)
  val sq5 = createSubQueryable(t5)
  val sq6 = createSubQueryable(t6)
  val sq7 = createSubQueryable(t7)
  val sq8 = createSubQueryable(t8)
  val sq9 = createSubQueryable(t9)
  val sq10 = createSubQueryable(t10)
  val sq11 = createSubQueryable(t11)
  val sq12 = createSubQueryable(t12)
  val sq13 = createSubQueryable(t13)

  def createCopy(root: Boolean, newUnions: List[(String, Query[R])]): AbstractQuery[R] =
    new Query13[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, R](t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, f, root, copyUnions(unions ++ newUnions))

  def invokeYield(rsm: ResultSetMapper, rs: ResultSet): R =
    f(sq1.give(rs), sq2.give(rs), sq3.give(rs), sq4.give(rs), sq5.give(rs), sq6.give(rs), sq7.give(rs), sq8.give(rs), sq9.give(rs), sq10.give(rs), sq11.give(rs), sq12.give(rs), sq13.give(rs)).invokeYield(rsm, rs)

  val ast = buildAst(
    f(sq1.sample, sq2.sample, sq3.sample, sq4.sample, sq5.sample, sq6.sample, sq7.sample, sq8.sample, sq9.sample, sq10.sample, sq11.sample, sq12.sample, sq13.sample),
    sq1, sq2, sq3, sq4, sq5, sq6, sq7, sq8, sq9, sq10, sq11, sq12, sq13
  )
}

class Query14[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, R](
  t1: Queryable[T1], t2: Queryable[T2], t3: Queryable[T3], t4: Queryable[T4], t5: Queryable[T5], t6: Queryable[T6], t7: Queryable[T7], t8: Queryable[T8], t9: Queryable[T9], t10: Queryable[T10], t11: Queryable[T11], t12: Queryable[T12], t13: Queryable[T13], t14: Queryable[T14],
  f: Function14[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, QueryYield[R]],
  isRoot: Boolean,
  unions: List[(String, Query[R])]
) extends AbstractQuery[R](isRoot, unions) {

  val sq1 = createSubQueryable(t1)
  val sq2 = createSubQueryable(t2)
  val sq3 = createSubQueryable(t3)
  val sq4 = createSubQueryable(t4)
  val sq5 = createSubQueryable(t5)
  val sq6 = createSubQueryable(t6)
  val sq7 = createSubQueryable(t7)
  val sq8 = createSubQueryable(t8)
  val sq9 = createSubQueryable(t9)
  val sq10 = createSubQueryable(t10)
  val sq11 = createSubQueryable(t11)
  val sq12 = createSubQueryable(t12)
  val sq13 = createSubQueryable(t13)
  val sq14 = createSubQueryable(t14)

  def createCopy(root: Boolean, newUnions: List[(String, Query[R])]): AbstractQuery[R] =
    new Query14[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, R](t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, f, root, copyUnions(unions ++ newUnions))

  def invokeYield(rsm: ResultSetMapper, rs: ResultSet): R =
    f(sq1.give(rs), sq2.give(rs), sq3.give(rs), sq4.give(rs), sq5.give(rs), sq6.give(rs), sq7.give(rs), sq8.give(rs), sq9.give(rs), sq10.give(rs), sq11.give(rs), sq12.give(rs), sq13.give(rs), sq14.give(rs)).invokeYield(rsm, rs)

  val ast = buildAst(
    f(sq1.sample, sq2.sample, sq3.sample, sq4.sample, sq5.sample, sq6.sample, sq7.sample, sq8.sample, sq9.sample, sq10.sample, sq11.sample, sq12.sample, sq13.sample, sq14.sample),
    sq1, sq2, sq3, sq4, sq5, sq6, sq7, sq8, sq9, sq10, sq11, sq12, sq13, sq14
  )
}

class Query15[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, R](
  t1: Queryable[T1], t2: Queryable[T2], t3: Queryable[T3], t4: Queryable[T4], t5: Queryable[T5], t6: Queryable[T6], t7: Queryable[T7], t8: Queryable[T8], t9: Queryable[T9], t10: Queryable[T10], t11: Queryable[T11], t12: Queryable[T12], t13: Queryable[T13], t14: Queryable[T14], t15: Queryable[T15],
  f: Function15[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, QueryYield[R]],
  isRoot: Boolean,
  unions: List[(String, Query[R])]
) extends AbstractQuery[R](isRoot, unions) {

  val sq1 = createSubQueryable(t1)
  val sq2 = createSubQueryable(t2)
  val sq3 = createSubQueryable(t3)
  val sq4 = createSubQueryable(t4)
  val sq5 = createSubQueryable(t5)
  val sq6 = createSubQueryable(t6)
  val sq7 = createSubQueryable(t7)
  val sq8 = createSubQueryable(t8)
  val sq9 = createSubQueryable(t9)
  val sq10 = createSubQueryable(t10)
  val sq11 = createSubQueryable(t11)
  val sq12 = createSubQueryable(t12)
  val sq13 = createSubQueryable(t13)
  val sq14 = createSubQueryable(t14)
  val sq15 = createSubQueryable(t15)

  def createCopy(root: Boolean, newUnions: List[(String, Query[R])]): AbstractQuery[R] =
    new Query15[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, R](t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, f, root, copyUnions(unions ++ newUnions))

  def invokeYield(rsm: ResultSetMapper, rs: ResultSet): R =
    f(sq1.give(rs), sq2.give(rs), sq3.give(rs), sq4.give(rs), sq5.give(rs), sq6.give(rs), sq7.give(rs), sq8.give(rs), sq9.give(rs), sq10.give(rs), sq11.give(rs), sq12.give(rs), sq13.give(rs), sq14.give(rs), sq15.give(rs)).invokeYield(rsm, rs)

  val ast = buildAst(
    f(sq1.sample, sq2.sample, sq3.sample, sq4.sample, sq5.sample, sq6.sample, sq7.sample, sq8.sample, sq9.sample, sq10.sample, sq11.sample, sq12.sample, sq13.sample, sq14.sample, sq15.sample),
    sq1, sq2, sq3, sq4, sq5, sq6, sq7, sq8, sq9, sq10, sq11, sq12, sq13, sq14, sq15
  )
}

class Query16[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, R](
  t1: Queryable[T1], t2: Queryable[T2], t3: Queryable[T3], t4: Queryable[T4], t5: Queryable[T5], t6: Queryable[T6], t7: Queryable[T7], t8: Queryable[T8], t9: Queryable[T9], t10: Queryable[T10], t11: Queryable[T11], t12: Queryable[T12], t13: Queryable[T13], t14: Queryable[T14], t15: Queryable[T15], t16: Queryable[T16],
  f: Function16[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, QueryYield[R]],
  isRoot: Boolean,
  unions: List[(String, Query[R])]
) extends AbstractQuery[R](isRoot, unions) {

  val sq1 = createSubQueryable(t1)
  val sq2 = createSubQueryable(t2)
  val sq3 = createSubQueryable(t3)
  val sq4 = createSubQueryable(t4)
  val sq5 = createSubQueryable(t5)
  val sq6 = createSubQueryable(t6)
  val sq7 = createSubQueryable(t7)
  val sq8 = createSubQueryable(t8)
  val sq9 = createSubQueryable(t9)
  val sq10 = createSubQueryable(t10)
  val sq11 = createSubQueryable(t11)
  val sq12 = createSubQueryable(t12)
  val sq13 = createSubQueryable(t13)
  val sq14 = createSubQueryable(t14)
  val sq15 = createSubQueryable(t15)
  val sq16 = createSubQueryable(t16)

  def createCopy(root: Boolean, newUnions: List[(String, Query[R])]): AbstractQuery[R] =
    new Query16[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, R](t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, f, root, copyUnions(unions ++ newUnions))

  def invokeYield(rsm: ResultSetMapper, rs: ResultSet): R =
    f(sq1.give(rs), sq2.give(rs), sq3.give(rs), sq4.give(rs), sq5.give(rs), sq6.give(rs), sq7.give(rs), sq8.give(rs), sq9.give(rs), sq10.give(rs), sq11.give(rs), sq12.give(rs), sq13.give(rs), sq14.give(rs), sq15.give(rs), sq16.give(rs)).invokeYield(rsm, rs)

  val ast = buildAst(
    f(sq1.sample, sq2.sample, sq3.sample, sq4.sample, sq5.sample, sq6.sample, sq7.sample, sq8.sample, sq9.sample, sq10.sample, sq11.sample, sq12.sample, sq13.sample, sq14.sample, sq15.sample, sq16.sample),
    sq1, sq2, sq3, sq4, sq5, sq6, sq7, sq8, sq9, sq10, sq11, sq12, sq13, sq14, sq15, sq16
  )
}

class Query17[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, R](
  t1: Queryable[T1], t2: Queryable[T2], t3: Queryable[T3], t4: Queryable[T4], t5: Queryable[T5], t6: Queryable[T6], t7: Queryable[T7], t8: Queryable[T8], t9: Queryable[T9], t10: Queryable[T10], t11: Queryable[T11], t12: Queryable[T12], t13: Queryable[T13], t14: Queryable[T14], t15: Queryable[T15], t16: Queryable[T16], t17: Queryable[T17],
  f: Function17[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, QueryYield[R]],
  isRoot: Boolean,
  unions: List[(String, Query[R])]
) extends AbstractQuery[R](isRoot, unions) {

  val sq1 = createSubQueryable(t1)
  val sq2 = createSubQueryable(t2)
  val sq3 = createSubQueryable(t3)
  val sq4 = createSubQueryable(t4)
  val sq5 = createSubQueryable(t5)
  val sq6 = createSubQueryable(t6)
  val sq7 = createSubQueryable(t7)
  val sq8 = createSubQueryable(t8)
  val sq9 = createSubQueryable(t9)
  val sq10 = createSubQueryable(t10)
  val sq11 = createSubQueryable(t11)
  val sq12 = createSubQueryable(t12)
  val sq13 = createSubQueryable(t13)
  val sq14 = createSubQueryable(t14)
  val sq15 = createSubQueryable(t15)
  val sq16 = createSubQueryable(t16)
  val sq17 = createSubQueryable(t17)

  def createCopy(root: Boolean, newUnions: List[(String, Query[R])]): AbstractQuery[R] =
    new Query17[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, R](t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, f, root, copyUnions(unions ++ newUnions))

  def invokeYield(rsm: ResultSetMapper, rs: ResultSet): R =
    f(sq1.give(rs), sq2.give(rs), sq3.give(rs), sq4.give(rs), sq5.give(rs), sq6.give(rs), sq7.give(rs), sq8.give(rs), sq9.give(rs), sq10.give(rs), sq11.give(rs), sq12.give(rs), sq13.give(rs), sq14.give(rs), sq15.give(rs), sq16.give(rs), sq17.give(rs)).invokeYield(rsm, rs)

  val ast = buildAst(
    f(sq1.sample, sq2.sample, sq3.sample, sq4.sample, sq5.sample, sq6.sample, sq7.sample, sq8.sample, sq9.sample, sq10.sample, sq11.sample, sq12.sample, sq13.sample, sq14.sample, sq15.sample, sq16.sample, sq17.sample),
    sq1, sq2, sq3, sq4, sq5, sq6, sq7, sq8, sq9, sq10, sq11, sq12, sq13, sq14, sq15, sq16, sq17
  )
}

class Query18[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, R](
  t1: Queryable[T1], t2: Queryable[T2], t3: Queryable[T3], t4: Queryable[T4], t5: Queryable[T5], t6: Queryable[T6], t7: Queryable[T7], t8: Queryable[T8], t9: Queryable[T9], t10: Queryable[T10], t11: Queryable[T11], t12: Queryable[T12], t13: Queryable[T13], t14: Queryable[T14], t15: Queryable[T15], t16: Queryable[T16], t17: Queryable[T17], t18: Queryable[T18],
  f: Function18[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, QueryYield[R]],
  isRoot: Boolean,
  unions: List[(String, Query[R])]
) extends AbstractQuery[R](isRoot, unions) {

  val sq1 = createSubQueryable(t1)
  val sq2 = createSubQueryable(t2)
  val sq3 = createSubQueryable(t3)
  val sq4 = createSubQueryable(t4)
  val sq5 = createSubQueryable(t5)
  val sq6 = createSubQueryable(t6)
  val sq7 = createSubQueryable(t7)
  val sq8 = createSubQueryable(t8)
  val sq9 = createSubQueryable(t9)
  val sq10 = createSubQueryable(t10)
  val sq11 = createSubQueryable(t11)
  val sq12 = createSubQueryable(t12)
  val sq13 = createSubQueryable(t13)
  val sq14 = createSubQueryable(t14)
  val sq15 = createSubQueryable(t15)
  val sq16 = createSubQueryable(t16)
  val sq17 = createSubQueryable(t17)
  val sq18 = createSubQueryable(t18)

  def createCopy(root: Boolean, newUnions: List[(String, Query[R])]): AbstractQuery[R] =
    new Query18[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, R](t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, f, root, copyUnions(unions ++ newUnions))

  def invokeYield(rsm: ResultSetMapper, rs: ResultSet): R =
    f(sq1.give(rs), sq2.give(rs), sq3.give(rs), sq4.give(rs), sq5.give(rs), sq6.give(rs), sq7.give(rs), sq8.give(rs), sq9.give(rs), sq10.give(rs), sq11.give(rs), sq12.give(rs), sq13.give(rs), sq14.give(rs), sq15.give(rs), sq16.give(rs), sq17.give(rs), sq18.give(rs)).invokeYield(rsm, rs)

  val ast = buildAst(
    f(sq1.sample, sq2.sample, sq3.sample, sq4.sample, sq5.sample, sq6.sample, sq7.sample, sq8.sample, sq9.sample, sq10.sample, sq11.sample, sq12.sample, sq13.sample, sq14.sample, sq15.sample, sq16.sample, sq17.sample, sq18.sample),
    sq1, sq2, sq3, sq4, sq5, sq6, sq7, sq8, sq9, sq10, sq11, sq12, sq13, sq14, sq15, sq16, sq17, sq18
  )
}

class Query19[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, R](
  t1: Queryable[T1], t2: Queryable[T2], t3: Queryable[T3], t4: Queryable[T4], t5: Queryable[T5], t6: Queryable[T6], t7: Queryable[T7], t8: Queryable[T8], t9: Queryable[T9], t10: Queryable[T10], t11: Queryable[T11], t12: Queryable[T12], t13: Queryable[T13], t14: Queryable[T14], t15: Queryable[T15], t16: Queryable[T16], t17: Queryable[T17], t18: Queryable[T18], t19: Queryable[T19],
  f: Function19[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, QueryYield[R]],
  isRoot: Boolean,
  unions: List[(String, Query[R])]
) extends AbstractQuery[R](isRoot, unions) {

  val sq1 = createSubQueryable(t1)
  val sq2 = createSubQueryable(t2)
  val sq3 = createSubQueryable(t3)
  val sq4 = createSubQueryable(t4)
  val sq5 = createSubQueryable(t5)
  val sq6 = createSubQueryable(t6)
  val sq7 = createSubQueryable(t7)
  val sq8 = createSubQueryable(t8)
  val sq9 = createSubQueryable(t9)
  val sq10 = createSubQueryable(t10)
  val sq11 = createSubQueryable(t11)
  val sq12 = createSubQueryable(t12)
  val sq13 = createSubQueryable(t13)
  val sq14 = createSubQueryable(t14)
  val sq15 = createSubQueryable(t15)
  val sq16 = createSubQueryable(t16)
  val sq17 = createSubQueryable(t17)
  val sq18 = createSubQueryable(t18)
  val sq19 = createSubQueryable(t19)

  def createCopy(root: Boolean, newUnions: List[(String, Query[R])]): AbstractQuery[R] =
    new Query19[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, R](t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, f, root, copyUnions(unions ++ newUnions))

  def invokeYield(rsm: ResultSetMapper, rs: ResultSet): R =
    f(sq1.give(rs), sq2.give(rs), sq3.give(rs), sq4.give(rs), sq5.give(rs), sq6.give(rs), sq7.give(rs), sq8.give(rs), sq9.give(rs), sq10.give(rs), sq11.give(rs), sq12.give(rs), sq13.give(rs), sq14.give(rs), sq15.give(rs), sq16.give(rs), sq17.give(rs), sq18.give(rs), sq19.give(rs)).invokeYield(rsm, rs)

  val ast = buildAst(
    f(sq1.sample, sq2.sample, sq3.sample, sq4.sample, sq5.sample, sq6.sample, sq7.sample, sq8.sample, sq9.sample, sq10.sample, sq11.sample, sq12.sample, sq13.sample, sq14.sample, sq15.sample, sq16.sample, sq17.sample, sq18.sample, sq19.sample),
    sq1, sq2, sq3, sq4, sq5, sq6, sq7, sq8, sq9, sq10, sq11, sq12, sq13, sq14, sq15, sq16, sq17, sq18, sq19
  )
}

class Query20[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, R](
  t1: Queryable[T1], t2: Queryable[T2], t3: Queryable[T3], t4: Queryable[T4], t5: Queryable[T5], t6: Queryable[T6], t7: Queryable[T7], t8: Queryable[T8], t9: Queryable[T9], t10: Queryable[T10], t11: Queryable[T11], t12: Queryable[T12], t13: Queryable[T13], t14: Queryable[T14], t15: Queryable[T15], t16: Queryable[T16], t17: Queryable[T17], t18: Queryable[T18], t19: Queryable[T19], t20: Queryable[T20],
  f: Function20[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, QueryYield[R]],
  isRoot: Boolean,
  unions: List[(String, Query[R])]
) extends AbstractQuery[R](isRoot, unions) {

  val sq1 = createSubQueryable(t1)
  val sq2 = createSubQueryable(t2)
  val sq3 = createSubQueryable(t3)
  val sq4 = createSubQueryable(t4)
  val sq5 = createSubQueryable(t5)
  val sq6 = createSubQueryable(t6)
  val sq7 = createSubQueryable(t7)
  val sq8 = createSubQueryable(t8)
  val sq9 = createSubQueryable(t9)
  val sq10 = createSubQueryable(t10)
  val sq11 = createSubQueryable(t11)
  val sq12 = createSubQueryable(t12)
  val sq13 = createSubQueryable(t13)
  val sq14 = createSubQueryable(t14)
  val sq15 = createSubQueryable(t15)
  val sq16 = createSubQueryable(t16)
  val sq17 = createSubQueryable(t17)
  val sq18 = createSubQueryable(t18)
  val sq19 = createSubQueryable(t19)
  val sq20 = createSubQueryable(t20)

  def createCopy(root: Boolean, newUnions: List[(String, Query[R])]): AbstractQuery[R] =
    new Query20[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, R](t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, f, root, copyUnions(unions ++ newUnions))

  def invokeYield(rsm: ResultSetMapper, rs: ResultSet): R =
    f(sq1.give(rs), sq2.give(rs), sq3.give(rs), sq4.give(rs), sq5.give(rs), sq6.give(rs), sq7.give(rs), sq8.give(rs), sq9.give(rs), sq10.give(rs), sq11.give(rs), sq12.give(rs), sq13.give(rs), sq14.give(rs), sq15.give(rs), sq16.give(rs), sq17.give(rs), sq18.give(rs), sq19.give(rs), sq20.give(rs)).invokeYield(rsm, rs)

  val ast = buildAst(
    f(sq1.sample, sq2.sample, sq3.sample, sq4.sample, sq5.sample, sq6.sample, sq7.sample, sq8.sample, sq9.sample, sq10.sample, sq11.sample, sq12.sample, sq13.sample, sq14.sample, sq15.sample, sq16.sample, sq17.sample, sq18.sample, sq19.sample, sq20.sample),
    sq1, sq2, sq3, sq4, sq5, sq6, sq7, sq8, sq9, sq10, sq11, sq12, sq13, sq14, sq15, sq16, sq17, sq18, sq19, sq20
  )
}

class Query21[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, R](
  t1: Queryable[T1], t2: Queryable[T2], t3: Queryable[T3], t4: Queryable[T4], t5: Queryable[T5], t6: Queryable[T6], t7: Queryable[T7], t8: Queryable[T8], t9: Queryable[T9], t10: Queryable[T10], t11: Queryable[T11], t12: Queryable[T12], t13: Queryable[T13], t14: Queryable[T14], t15: Queryable[T15], t16: Queryable[T16], t17: Queryable[T17], t18: Queryable[T18], t19: Queryable[T19], t20: Queryable[T20], t21: Queryable[T21],
  f: Function21[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, QueryYield[R]],
  isRoot: Boolean,
  unions: List[(String, Query[R])]
) extends AbstractQuery[R](isRoot, unions) {

  val sq1 = createSubQueryable(t1)
  val sq2 = createSubQueryable(t2)
  val sq3 = createSubQueryable(t3)
  val sq4 = createSubQueryable(t4)
  val sq5 = createSubQueryable(t5)
  val sq6 = createSubQueryable(t6)
  val sq7 = createSubQueryable(t7)
  val sq8 = createSubQueryable(t8)
  val sq9 = createSubQueryable(t9)
  val sq10 = createSubQueryable(t10)
  val sq11 = createSubQueryable(t11)
  val sq12 = createSubQueryable(t12)
  val sq13 = createSubQueryable(t13)
  val sq14 = createSubQueryable(t14)
  val sq15 = createSubQueryable(t15)
  val sq16 = createSubQueryable(t16)
  val sq17 = createSubQueryable(t17)
  val sq18 = createSubQueryable(t18)
  val sq19 = createSubQueryable(t19)
  val sq20 = createSubQueryable(t20)
  val sq21 = createSubQueryable(t21)

  def createCopy(root: Boolean, newUnions: List[(String, Query[R])]): AbstractQuery[R] =
    new Query21[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, R](t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, f, root, copyUnions(unions ++ newUnions))

  def invokeYield(rsm: ResultSetMapper, rs: ResultSet): R =
    f(sq1.give(rs), sq2.give(rs), sq3.give(rs), sq4.give(rs), sq5.give(rs), sq6.give(rs), sq7.give(rs), sq8.give(rs), sq9.give(rs), sq10.give(rs), sq11.give(rs), sq12.give(rs), sq13.give(rs), sq14.give(rs), sq15.give(rs), sq16.give(rs), sq17.give(rs), sq18.give(rs), sq19.give(rs), sq20.give(rs), sq21.give(rs)).invokeYield(rsm, rs)

  val ast = buildAst(
    f(sq1.sample, sq2.sample, sq3.sample, sq4.sample, sq5.sample, sq6.sample, sq7.sample, sq8.sample, sq9.sample, sq10.sample, sq11.sample, sq12.sample, sq13.sample, sq14.sample, sq15.sample, sq16.sample, sq17.sample, sq18.sample, sq19.sample, sq20.sample, sq21.sample),
    sq1, sq2, sq3, sq4, sq5, sq6, sq7, sq8, sq9, sq10, sq11, sq12, sq13, sq14, sq15, sq16, sq17, sq18, sq19, sq20, sq21
  )
}

class Query22[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, R](
  t1: Queryable[T1], t2: Queryable[T2], t3: Queryable[T3], t4: Queryable[T4], t5: Queryable[T5], t6: Queryable[T6], t7: Queryable[T7], t8: Queryable[T8], t9: Queryable[T9], t10: Queryable[T10], t11: Queryable[T11], t12: Queryable[T12], t13: Queryable[T13], t14: Queryable[T14], t15: Queryable[T15], t16: Queryable[T16], t17: Queryable[T17], t18: Queryable[T18], t19: Queryable[T19], t20: Queryable[T20], t21: Queryable[T21], t22: Queryable[T22],
  f: Function22[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, QueryYield[R]],
  isRoot: Boolean,
  unions: List[(String, Query[R])]
) extends AbstractQuery[R](isRoot, unions) {

  val sq1 = createSubQueryable(t1)
  val sq2 = createSubQueryable(t2)
  val sq3 = createSubQueryable(t3)
  val sq4 = createSubQueryable(t4)
  val sq5 = createSubQueryable(t5)
  val sq6 = createSubQueryable(t6)
  val sq7 = createSubQueryable(t7)
  val sq8 = createSubQueryable(t8)
  val sq9 = createSubQueryable(t9)
  val sq10 = createSubQueryable(t10)
  val sq11 = createSubQueryable(t11)
  val sq12 = createSubQueryable(t12)
  val sq13 = createSubQueryable(t13)
  val sq14 = createSubQueryable(t14)
  val sq15 = createSubQueryable(t15)
  val sq16 = createSubQueryable(t16)
  val sq17 = createSubQueryable(t17)
  val sq18 = createSubQueryable(t18)
  val sq19 = createSubQueryable(t19)
  val sq20 = createSubQueryable(t20)
  val sq21 = createSubQueryable(t21)
  val sq22 = createSubQueryable(t22)

  def createCopy(root: Boolean, newUnions: List[(String, Query[R])]): AbstractQuery[R] =
    new Query22[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, R](t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, f, root, copyUnions(unions ++ newUnions))

  def invokeYield(rsm: ResultSetMapper, rs: ResultSet): R =
    f(sq1.give(rs), sq2.give(rs), sq3.give(rs), sq4.give(rs), sq5.give(rs), sq6.give(rs), sq7.give(rs), sq8.give(rs), sq9.give(rs), sq10.give(rs), sq11.give(rs), sq12.give(rs), sq13.give(rs), sq14.give(rs), sq15.give(rs), sq16.give(rs), sq17.give(rs), sq18.give(rs), sq19.give(rs), sq20.give(rs), sq21.give(rs), sq22.give(rs)).invokeYield(rsm, rs)

  val ast = buildAst(
    f(sq1.sample, sq2.sample, sq3.sample, sq4.sample, sq5.sample, sq6.sample, sq7.sample, sq8.sample, sq9.sample, sq10.sample, sq11.sample, sq12.sample, sq13.sample, sq14.sample, sq15.sample, sq16.sample, sq17.sample, sq18.sample, sq19.sample, sq20.sample, sq21.sample, sq22.sample),
    sq1, sq2, sq3, sq4, sq5, sq6, sq7, sq8, sq9, sq10, sq11, sq12, sq13, sq14, sq15, sq16, sq17, sq18, sq19, sq20, sq21, sq22
  )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy