[][src]Module mini_haskell::scanner

lexical scanner for mini-haskell.

Modules

basic

basic character classes in "Haskell 2010 Report, 2.2 Lexical Program Structure".

char_string

chars and strings: see "Haskell 2010 Report: 2.6 Character and String Literals".

identifier

identifiers: see "Haskell 2010 Report: 2.4 Identifiers and Operators".

layout

Haskell layout: see "Haskell 2010 Report, 10.3 Layout".

numeric

numeric literals: see "Haskell 2010 Report: 2.5 Numeric Literals".

special

special: see "Haskell 2010 Report: 2.2 Lexical Program Structure".

whitespace

whitespaces: see "Haskell 2010 Report: 2.2 Lexical Program Structure" and "Haskell 2010 Report: 2.3 Comments".

Structs

LexError

Lexical error.

Location

Source location.

Range

A half-open source range: a pair of Locations.

Scanner

Scanner with a back buffer.

Type Definitions

Result

Lexer result.