~ubuntu-branches/ubuntu/hardy/ocaml-doc/hardy

« back to all changes in this revision

Viewing changes to examples/asl/token.mli

  • Committer: Bazaar Package Importer
  • Author(s): Samuel Mimram
  • Date: 2007-09-08 01:49:22 UTC
  • mfrom: (0.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20070908014922-lvihyehz0ndq7suu
Tags: 3.10-1
* New upstream release.
* Removed camlp4 documentation since it is not up-to-date.
* Updated to standards version 3.7.2, no changes needed.
* Updated my email address.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
(* $Id: token.mli,v 1.1.1.1 2002/05/28 15:59:16 weis Exp $ *)
2
 
 
3
 
type token_type =
4
 
   | IDENT of string | INT of int | OP of string
5
 
   | BSLASH | DOT | ELSE | EQUAL | FI | IF | LET | LPAREN | RPAREN | SEMICOL
6
 
   | THEN
7
 
;;
8
 
 
9
 
val next_token : char Stream.t -> token_type;;
10
 
val reset_lexer : char Stream.t -> unit;;
11
 
val token_name : token_type -> string;;