From 04ac14fc14131a66f0c391d8bb3894a01e556a05 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 13 Feb 2009 17:18:11 -0800 Subject: [PATCH] [fcformat] Add list of undocumented language features --- src/fcformat.c | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/src/fcformat.c b/src/fcformat.c index ee7796a..417aba6 100644 --- a/src/fcformat.c +++ b/src/fcformat.c @@ -28,6 +28,41 @@ #include +/* XXX Document the language. + * + * These are mostly the features implemented but not documented: + * + * width %[[-]width]{tag} + * index %{tag[ids]} + * name= %{tag=|decorator} + * :name= %{:tag=|decorator} + * subexpr %{{expr}|decorator1|decorator2} + * delete %{-charset,lang{expr}|decorator} + * filter %{+family,familylang{expr}|decorator} + * cond %{?tag1,tag2,!tag3{}{}} + * decorat %{tag|decorator1|decorator2} + * default %{parameter:-word} + * array %{[]family,familylang{expr}|decorator} + * langset enumeration using the same syntax as arrays + * + * filters: + * basename FcStrBasename + * dirname FcStrDirname + * downcase FcStrDowncase + * shescape + * cescape + * xmlescape + * delete delete chars + * escape escape chars + * translate translate chars + * + * builtins: + * unparse + * fcmatch + * fclist + * pkgkit + */ + /* * Some ideas for future syntax extensions: * -- 2.39.2