package ocaml-protoc

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Ocaml_protoc_compiler_lib.Pb_parsingSource

Parsing compilation step

This module perform the parsing of the given protobuf file along with all the imported files.

Sourcetype file_loader = string -> string * string

Given a file name return the fully qualified file name along with its content

Sourceval parse_file : file_loader -> string -> Pb_parsing_parse_tree.proto list

parse_file file_loader file_name reutrns the protobuf parse tree of the given file_name and all its dependent files (ie imports).

OCaml

Innovation. Community. Security.