Header menu logo fantomas

LexFilter Module

LexFilter - process the token stream prior to parsing. Implements the offside rule and a couple of other lexical transformations.

Types

Type Description

LexFilter

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.

Active patterns

Active pattern Description

(|TyparsCloseOp|_|) txt

Full Usage: (|TyparsCloseOp|_|) txt

Parameters:
    txt : string

Returns: ((bool -> token)[] * token voption) voption

Match the close of '>' of a set of type parameters. This is done for tokens such as '>>' by smashing the token

txt : string
Returns: ((bool -> token)[] * token voption) voption

Type something to start searching.