[Home] Type Microsoft.FSharp.Compatibility.OCaml.Lexing.lexbuf


ASCII LexBuffers carrying OCaml-compatible position information. The type "lexbuf" is opaque, but has an internal position information field that can be updated by setting "lexbuf.EndPos", for example if you wish to update the other fields in that position data before or during lexing. You will need to do this if you wish to maintain accurate line-count information. If you do this and wish to maintain strict cross-compiling compatibility with other langauges you may need code to conditionally use lexbuf_set_curr_p when compiling F# code. Note: an abbreviation for LexBuffer<position,byte>

Full Type Signature

type lexbuf = LexBuffer<position,byte>

See Also

Microsoft.FSharp.Compatibility.OCaml.Lexing


Documentation for assembly FSharp.Compatibility, version 1.9.4.19, generated using F# version 1.9.4.19