- | T.BaseUri baseuri -> out_command och (set "baseuri" baseuri)
- | T.Include inc -> () (* *)
- | T.Coercion coercion -> () (* *)
- | T.Notation notation -> () (* *)
- | T.Inline iniline -> () (* *)
- | T.Comment comment -> () (* out_comment och comment *)
- | T.Unexport unexport -> () (* *)
+ | T.Line line ->
+ if !O.comments then out_line_comment och line
+ | T.Include script -> out_command och (require script)
+ | T.Coercion specs ->
+ if !O.comments then out_unexported och "COERCION" (snd specs)
+ | T.Notation specs ->
+ if !O.comments then out_unexported och "NOTATION" (snd specs) (**)
+ | T.Inline (_, T.Var, src, _, _, _) ->
+ if !O.comments then out_unexported och "UNEXPORTED" src
+(* FG: we do not export variables because we cook the other objects
+ * let name = UriManager.name_of_uri (UriManager.uri_of_string src) in
+ * out_alias och name src
+ *)
+ | T.Inline (_, _, src, pre, fl, params) ->
+ if !O.getter then check och src;
+ out_command och (inline kind src pre fl params)
+ | T.Section specs ->
+ if !O.comments then out_unexported och "UNEXPORTED" (trd specs)
+ | T.Comment comment ->
+ if !O.comments then out_comment och comment
+ | T.Unexport unexport ->
+ if !O.comments then out_unexported och "UNEXPORTED" unexport