Header menu logo fantomas

Lexhelp Module

Types and nested modules

Type/Module Description

Keywords

BlockCommentArgs

Used in lex.fsl to represent the state of a block comment

IndentationAwareSyntaxStatus

Lexer args: status of #light processing. Mutated when a #light directive is processed. This alters the behaviour of the lexfilter.

LexArgs

The context applicable to all lexing functions (tokens, strings etc.)

LexResourceManager

LexerStringArgs

Used in lex.fsl to represent the state of a string literal

LexerStringFinisher

LexerStringFinisherContext

LongUnicodeLexResult

ReservedKeyword

SingleLineCommentArgs

Used in lex.fsl to represent the state of a single line comment

Functions and values

Function or value Description

StringCapacity

Full Usage: StringCapacity

Returns: int

Arbitrary value

Returns: int

addByteChar arg1 arg2

Full Usage: addByteChar arg1 arg2

Parameters:
arg0 : ByteBuffer
arg1 : char

addUnicodeChar arg1 arg2

Full Usage: addUnicodeChar arg1 arg2

Parameters:
arg0 : ByteBuffer
arg1 : int

addUnicodeString arg1 arg2

Full Usage: addUnicodeString arg1 arg2

Parameters:
arg0 : ByteBuffer
arg1 : string

advanceColumnBy arg1 n

Full Usage: advanceColumnBy arg1 n

Parameters:
arg0 : LexBuffer<'a>
n : int

digit arg1

Full Usage: digit arg1

Parameters:
    arg0 : char

Returns: int32
arg0 : char
Returns: int32

escape arg1

Full Usage: escape arg1

Parameters:
    arg0 : char

Returns: char
arg0 : char
Returns: char

hexGraphShort arg1

Full Usage: hexGraphShort arg1

Parameters:
    arg0 : string

Returns: uint16
arg0 : string
Returns: uint16

hexdigit arg1

Full Usage: hexdigit arg1

Parameters:
    arg0 : char

Returns: int32
arg0 : char
Returns: int32

mkLexargs (conditionalDefines, indentationSyntaxStatus, resourceManager, ifdefStack, diagnosticsLogger, pathMap, applyLineDirectives)

Full Usage: mkLexargs (conditionalDefines, indentationSyntaxStatus, resourceManager, ifdefStack, diagnosticsLogger, pathMap, applyLineDirectives)

Parameters:
Returns: LexArgs
conditionalDefines : string list
indentationSyntaxStatus : IndentationAwareSyntaxStatus
resourceManager : LexResourceManager
ifdefStack : LexerIfdefStack
diagnosticsLogger : DiagnosticsLogger
pathMap : PathMap
applyLineDirectives : bool
Returns: LexArgs

newline arg1

Full Usage: newline arg1

Parameters:
arg0 : LexBuffer<'a>

resetLexbufPos arg1 arg2

Full Usage: resetLexbufPos arg1 arg2

Parameters:
arg0 : string
arg1 : Lexbuf

reusingLexbufForParsing arg1 arg2

Full Usage: reusingLexbufForParsing arg1 arg2

Parameters:
    arg0 : Lexbuf
    arg1 : unit -> 'a

Returns: 'a
arg0 : Lexbuf
arg1 : unit -> 'a
Returns: 'a

stdinMockFileName

Full Usage: stdinMockFileName

Returns: string
Returns: string

stringBufferAsBytes arg1

Full Usage: stringBufferAsBytes arg1

Parameters:
Returns: byte[]
arg0 : ByteBuffer
Returns: byte[]

stringBufferAsString arg1

Full Usage: stringBufferAsString arg1

Parameters:
Returns: string
arg0 : ByteBuffer
Returns: string

stringBufferIsBytes arg1

Full Usage: stringBufferIsBytes arg1

Parameters:
Returns: bool
arg0 : ByteBuffer
Returns: bool

trigraph arg1 arg2 arg3

Full Usage: trigraph arg1 arg2 arg3

Parameters:
    arg0 : char
    arg1 : char
    arg2 : char

Returns: char
arg0 : char
arg1 : char
arg2 : char
Returns: char

unicodeGraphLong arg1

Full Usage: unicodeGraphLong arg1

Parameters:
    arg0 : string

Returns: LongUnicodeLexResult
arg0 : string
Returns: LongUnicodeLexResult

unicodeGraphShort arg1

Full Usage: unicodeGraphShort arg1

Parameters:
    arg0 : string

Returns: uint16
arg0 : string
Returns: uint16

usingLexbufForParsing (arg1, arg2) arg3

Full Usage: usingLexbufForParsing (arg1, arg2) arg3

Parameters:
Returns: 'a
arg0 : Lexbuf
arg1 : string
arg2 : Lexbuf -> 'a
Returns: 'a

Type something to start searching.