LexBuffer<'char>
Namespace: Microsoft.FSharp.Text.Lexing
Input buffers consumed by lexers generated by fslex.exe
Instance members
Instance member | Description |
BufferLocalStore
Signature: IDictionary<string,obj>
|
Dynamically typed, non-lexically scoped parameter table
CompiledName: get_BufferLocalStore
|
DiscardInput()
Signature: unit -> unit
|
Remove all input, though don't discard the current lexeme
|
EndPos()
Signature: unit -> Position
|
The end position for the lexeme
CompiledName: set_EndPos
|
EndPos()
Signature: unit -> unit
|
The end position for the lexeme
CompiledName: get_EndPos
|
IsPastEndOfStream()
Signature: unit -> bool
|
True if the refill of the buffer ever failed , or if explicitly set to true.
CompiledName: set_IsPastEndOfStream
|
IsPastEndOfStream()
Signature: unit -> unit
|
True if the refill of the buffer ever failed , or if explicitly set to true.
CompiledName: get_IsPastEndOfStream
|
Lexeme
Signature: 'char array
|
The matched string
CompiledName: get_Lexeme
|
LexemeChar(arg1)
Signature: int -> 'char
|
Fetch a particular character in the matched string
|
LexemeLength
Signature: int
|
The length of the matched string
CompiledName: get_LexemeLength
|
StartPos()
Signature: unit -> Position
|
The start position for the lexeme
CompiledName: set_StartPos
|
StartPos()
Signature: unit -> unit
|
The start position for the lexeme
CompiledName: get_StartPos
|
Static members
Static member | Description |
FromAsyncFunction(arg1)
Signature: (('char [] * int * int -> Async<int>)) -> LexBuffer<'char>
|
Create a lex buffer that asynchronously reads character or byte inputs by using the given function
|
FromBinaryReader(arg1)
Signature: BinaryReader -> LexBuffer<byte>
|
Create a lex buffer suitable for use with ASCII byte lexing that reads byte inputs from the given binary reader
|
FromByteFunction(arg1)
Signature: ((byte [] -> int -> int)) -> LexBuffer<byte>
|
|
FromBytes(arg1)
Signature: (byte []) -> LexBuffer<byte>
|
Create a lex buffer suitable for byte lexing that reads characters from the given array
|
FromCharFunction(arg1)
Signature: ((char [] -> int -> int)) -> LexBuffer<char>
|
|
FromChars(arg1)
Signature: (char []) -> LexBuffer<char>
|
Create a lex buffer suitable for Unicode lexing that reads characters from the given array
|
FromFunction(arg1)
Signature: (('char [] * int * int -> int)) -> LexBuffer<'char>
|
Create a lex buffer that reads character or byte inputs by using the given function
|
FromString(arg1)
Signature: string -> LexBuffer<char>
|
Create a lex buffer suitable for Unicode lexing that reads characters from the given string
|
FromTextReader(arg1)
Signature: TextReader -> LexBuffer<char>
|
Create a lex buffer suitable for use with a Unicode lexer that reads character inputs from the given text reader
|
LexemeString(arg1)
Signature: LexBuffer<char> -> string
|
Fast helper to turn the matched characters into a string, avoiding an intermediate array
|