Module Parse_top

module Parse_top: sig .. end

val parse_statement_from_io : Parse_context.parse_context -> Galax_io.input_spec -> Xquery_ast.statement
val parse_statement_from_string : string -> Xquery_ast.statement
val parse_prolog_from_io : Parse_context.parse_context ->
Galax_io.input_spec -> Parse_context.parse_context * Xquery_ast.prolog
val parse_library_module_from_io : Parse_context.parse_context ->
Galax_io.input_spec ->
Parse_context.parse_context * Xquery_ast.library_module
val parse_library_module_from_string : string -> Parse_context.parse_context * Xquery_ast.library_module
val parse_main_module_from_io : Parse_context.parse_context ->
Galax_io.input_spec -> Parse_context.parse_context * Xquery_ast.main_module
val parse_main_module_from_string : string -> Parse_context.parse_context * Xquery_ast.main_module
val parse_interface_from_io : Parse_context.parse_context ->
Galax_io.input_spec -> Parse_context.parse_context * Xquery_ast.interface
val parse_interface_from_string : string -> Parse_context.parse_context * Xquery_ast.interface
val parse_type_from_io : Parse_context.parse_context ->
Galax_io.input_spec -> Xquery_type_ast.xtype option * Xquery_type_ast.xtype
val ast_from_file : string -> Xquery_ast.main_module
val ast_from_string : string -> Xquery_ast.main_module
val tokens_from_file : string -> (Parse_xquery.token * Lexing_util.lex_state list * bool) list
val tokens_from_string : string -> (Parse_xquery.token * Lexing_util.lex_state list * bool) list