case classSheathLeafClauses(state: Option[String]) extends StatefulTransformerWithStack[Option[String]] with Product with Serializable
The state produced in some child clause by the sheathLeaf function is essentially "consumed" by the
elaborateSheath function in the parent.
Note that in the documentation is use a couple of shorthands:
M - means Map
Fm - means FlatMap
ent - means a Ast Query. Typically just a Ast Entity
e.v - this dot-shorthand means Property(e, v) where e is an Ast Ident. This is essentially a scalar-projection
from the entity e.
leaf - Typically this is a query-ast clause that results in a scalar type. It could be M(ent,e,e.v) or
an infix"stuff".as[Query[Int/String/Boolean/etc...] ]
The state produced in some child clause by the
sheathLeaf
function is essentially "consumed" by theelaborateSheath
function in the parent.Note that in the documentation is use a couple of shorthands:
M - means Map Fm - means FlatMap ent - means a Ast Query. Typically just a Ast Entity e.v - this dot-shorthand means Property(e, v) where e is an Ast Ident. This is essentially a scalar-projection from the entity e. leaf - Typically this is a query-ast clause that results in a scalar type. It could be M(ent,e,e.v) or an
infix"stuff".as[Query[Int/String/Boolean/etc...] ]