package tiny_languages

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

Module Html_lexerSource

Sourcetype attribute = string * string
Sourcetype token =
  1. | Doctype of string
  2. | Start_tag of {
    1. name : string;
    2. attributes : attribute list;
    3. extensions : attribute list;
    4. origin : Dtd.origin;
    5. self_closing : bool;
    }
  3. | End_tag of string
  4. | Text of string
  5. | Comment of string
Sourceval tokenize : string -> token list
Sourceval to_string : token -> string
Sourceval attribute : string -> attribute list -> string option