package lrgrep

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

Module Kernel.CodegenSource

Sourcetype priority = int
Sourcetype spec = {
  1. parser_name : string;
  2. lexer_definition : Syntax.lexer_definition;
}
Sourceval print_literal_code : Utils.Code_printer.t -> (Stdlib.Lexing.position * string) -> unit
Sourceval output_table : Utils.Code_printer.t -> Syntax.rule -> ('g, 'r, 'a, 'b) Automata.Machine.t -> (string * Lrgrep_support_packer.table * int array) -> unit
Sourceval output_wrapper : Utils.Code_printer.t -> Syntax.rule -> unit
Sourcetype printer = Utils.Code_printer.t option -> unit
Sourceval grammar_parameters : 'a Info.grammar -> string list
Sourceval output_header : 'g Info.grammar -> spec -> printer
Sourceval output_trailer : 'g Info.grammar -> spec -> printer
Sourceval output_rule : 'g Info.grammar -> spec -> Syntax.rule -> ('g, 'r) Spec.clauses -> ('g, 'r) Spec.branches -> ('g, 'r, 'a, 'b) Automata.Machine.t -> printer