use of catdata.aql.exp.TyExp.TyExpEmpty in project fql by CategoricalData.
the class CombinatorParser method tyExp.
private static void tyExp() {
Parser<TyExp<?, ?>> var = ident.map(TyExpVar::new), sql = token("sql").map(x -> new TyExpSql()), empty = token("empty").map(x -> new TyExpEmpty()), sch = Parsers.tuple(token("typesideOf"), sch_ref.lazy()).map(x -> new TyExpSch<>(x.b)), ret = Parsers.or(sch, empty, sql, tyExpRaw(), var, parens(ty_ref));
ty_ref.set(ret);
}
Aggregations