type token =
  | END
  | Title of (
# 29 "ocamldoc/odoc_text_parser.mly"
        int * string option
# 7 "ocamldoc/odoc_text_parser.mli"
)
  | BOLD
  | EMP
  | CENTER
  | LEFT
  | RIGHT
  | ITALIC
  | CUSTOM of (
# 36 "ocamldoc/odoc_text_parser.mly"
        string
# 18 "ocamldoc/odoc_text_parser.mli"
)
  | LIST
  | ENUM
  | ITEM
  | LINK
  | CODE
  | END_CODE
  | CODE_PRE
  | END_CODE_PRE
  | VERB
  | END_VERB
  | LATEX
  | Target of (
# 48 "ocamldoc/odoc_text_parser.mly"
        string
# 34 "ocamldoc/odoc_text_parser.mli"
)
  | END_TARGET
  | LBRACE
  | ELE_REF
  | VAL_REF
  | TYP_REF
  | EXT_REF
  | EXC_REF
  | MOD_REF
  | MODT_REF
  | CLA_REF
  | CLT_REF
  | ATT_REF
  | MET_REF
  | SEC_REF
  | RECF_REF
  | CONST_REF
  | MOD_LIST_REF
  | INDEX_LIST
  | SUPERSCRIPT
  | SUBSCRIPT
  | BEGIN_SHORTCUT_LIST_ITEM
  | BEGIN_SHORTCUT_ENUM_ITEM
  | SHORTCUT_LIST_ITEM
  | SHORTCUT_ENUM_ITEM
  | END_SHORTCUT_LIST
  | BLANK_LINE
  | EOF
  | Char of (
# 81 "ocamldoc/odoc_text_parser.mly"
        string
# 66 "ocamldoc/odoc_text_parser.mli"
)

val main :
  (Lexing.lexbuf  -> token) -> Lexing.lexbuf -> Odoc_types.text
val located_element_list :
  (Lexing.lexbuf  -> token) -> Lexing.lexbuf -> (int * int * Odoc_types.text_element) list
