]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/components/grafite_parser/grafiteParser.mli
Use of standard OCaml syntax
[helm.git] / matita / components / grafite_parser / grafiteParser.mli
index ec5cdbb21d125a18dcf0bffd1b4987ac4987dcf4..e2a156aeab057506fe476c97798bbdc601059f10 100644 (file)
@@ -31,15 +31,15 @@ class type g_status =
   method parser_db: db
  end
 
-class status :
+class virtual status :
  object('self)
   inherit g_status
   inherit CicNotationParser.status
   method set_parser_db : db -> 'self
-  method set_parser_status : 'status. #g_status as 'status -> 'self
+  method set_parser_status : 'status. (#g_status as 'status) -> 'self
  end
 
-val extend : #status as 'status ->
+val extend : (#status as 'status) ->
            CicNotationParser.checked_l1_pattern ->
            (NotationEnv.t -> NotationPt.location -> NotationPt.term) -> 'status
 
@@ -50,3 +50,4 @@ val extend : #status as 'status ->
 type parsable
 val parsable_statement: #status -> Ulexing.lexbuf -> parsable
 val parse_statement: #status -> parsable -> GrafiteAst.statement
+val strm_of_parsable: parsable -> Ulexing.lexbuf