Header menu logo fantomas

LexFilter Type

A stateful filter over the token stream that adjusts it for indentation-aware syntax rules Process the token stream prior to parsing. Implements the offside rule and other lexical transformations.

Constructors

Constructor Description

LexFilter(indentationSyntaxStatus, compilingFSharpCore, lexer, lexbuf, debug)

Full Usage: LexFilter(indentationSyntaxStatus, compilingFSharpCore, lexer, lexbuf, debug)

Parameters:
Returns: LexFilter

Create a lex filter

indentationSyntaxStatus : IndentationAwareSyntaxStatus
compilingFSharpCore : bool
lexer : LexBuffer<char> -> token
lexbuf : LexBuffer<char>
debug : bool
Returns: LexFilter

Instance members

Instance member Description

this.GetToken

Full Usage: this.GetToken

Returns: token

Get the next token

Returns: token

this.LexBuffer

Full Usage: this.LexBuffer

Returns: LexBuffer<char>

The LexBuffer associated with the filter

Returns: LexBuffer<char>

Type something to start searching.