Search in sources :

Example 1 with TyExpEmpty

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);
}
Also used : TyExpEmpty(catdata.aql.exp.TyExp.TyExpEmpty) TyExpVar(catdata.aql.exp.TyExp.TyExpVar)

Aggregations

TyExpEmpty (catdata.aql.exp.TyExp.TyExpEmpty)1 TyExpVar (catdata.aql.exp.TyExp.TyExpVar)1