type 'a localized_option =
LSome of 'a
- | LNone of Token.flocation
+ | LNone of GrafiteAst.loc
-type statement =
- include_paths:string list ->
- LexiconEngine.status ->
- LexiconEngine.status *
+type ast_statement =
(CicNotationPt.term, CicNotationPt.term,
CicNotationPt.term GrafiteAst.reduction, CicNotationPt.obj, string)
- GrafiteAst.statement localized_option
+ GrafiteAst.statement
+
+type statement =
+ include_paths:string list ->
+ LexiconEngine.status ->
+ LexiconEngine.status * ast_statement localized_option
let grammar = CicNotationParser.level2_ast_grammar
type 'a localized_option =
LSome of 'a
- | LNone of Token.flocation
+ | LNone of GrafiteAst.loc
-type statement =
- include_paths:string list ->
- LexiconEngine.status ->
- LexiconEngine.status *
+type ast_statement =
(CicNotationPt.term, CicNotationPt.term,
CicNotationPt.term GrafiteAst.reduction, CicNotationPt.obj, string)
- GrafiteAst.statement localized_option
+ GrafiteAst.statement
+
+type statement =
+ include_paths:string list ->
+ LexiconEngine.status ->
+ LexiconEngine.status * ast_statement localized_option
val parse_statement: Ulexing.lexbuf -> statement (** @raise End_of_file *)