package coq

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

Lexing for Camlp5 grammars.

This module defines the Camlp5 lexer type to be used in extensible grammars (see module Grammar). It also provides some useful functions to create lexers.

Lexer type

type 'te lexer_func = ?loc:Loc.t -> char Stream.t -> 'te LStream.t

Returning a stream equipped with a location function

module type S = sig ... end
OCaml

Innovation. Community. Security.