Lines Matching full:lex
178 driven by a function named ``Lexer.lex``. The ``Lexer.lex`` function is
190 let rec lex = parser
192 | [< ' (' ' | '\n' | '\r' | '\t'); stream >] -> lex stream
194 ``Lexer.lex`` works by recursing over a ``char Stream.t`` to read
200 The next thing ``Lexer.lex`` needs to do is recognize identifiers and
218 | [< stream=lex >] ->
240 | [< stream=lex >] ->
259 | [< ' ('\n'); stream=lex >] -> stream
272 [< 'Token.Kwd c; lex stream >]