package orsetto

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

The symbol type.

type position

The position type.

type +'a form

The value form type.

module Scan : Cf_scan.Profile with type symbol := symbol and type position := position and type 'a form := 'a form

The basic scanner module for the symbol type.

module Form : Cf_scan.Form with type 'a t := 'a form

The scanner production form.

val digitsym : radix -> symbol -> digit

Calls digitsym base sym to convert sym to its digit value under base. If sym is not a digit under the radix base, then returns a digit less than zero.

val signtok : symbol -> int option

Tokenizing function for recognizing a positive or negative sign. Returns either 1 or (-1) to represent the sign recognized.

val pointsat : symbol -> bool

Satisfier for decimla point characters.

val expsat : symbol -> bool

Satisfier for exponent symbols in scientific notation.