Lexing Module
Types
Type | Description |
Functions and values
Function or value | Description |
Full Usage:
UnicodeFileAsLexbuf (arg1, arg2)
Parameters:
string
arg1 : int option
Returns: FileStream * StreamReader * LexBuffer<char>
|
Standard utility to create a Unicode LexBuffer One small annoyance is that LexBuffers are not IDisposable. This means we can't just return the LexBuffer object, since the file it wraps wouldn't get closed when we're finished with the LexBuffer. Hence we return the stream, the reader and the LexBuffer. The caller should dispose the first two when done.
|