Header menu logo XParsec

LHSOperator<'Op, 'Aux, 'Expr, 'T, 'State, 'Input, 'InputSlice> Type

Union cases

Union case Description

Enclosed(op, parseOp, rightPower, closeOp, parseCloseOp, complete)

Full Usage: Enclosed(op, parseOp, rightPower, closeOp, parseCloseOp, complete)

Parameters:
    op : 'Op
    parseOp : Parser<'Op, 'T, 'State, 'Input, 'InputSlice>
    rightPower : byte<MeasureProduct<bp, MeasureOne>>
    closeOp : 'Op
    parseCloseOp : Parser<'Op, 'T, 'State, 'Input, 'InputSlice>
    complete : 'Op -> 'Expr -> 'Op -> 'Expr

op : 'Op
parseOp : Parser<'Op, 'T, 'State, 'Input, 'InputSlice>
rightPower : byte<MeasureProduct<bp, MeasureOne>>
closeOp : 'Op
parseCloseOp : Parser<'Op, 'T, 'State, 'Input, 'InputSlice>
complete : 'Op -> 'Expr -> 'Op -> 'Expr

LHSTernary(op, parseOp, rightPower, delimiter, parseDelimiter, complete)

Full Usage: LHSTernary(op, parseOp, rightPower, delimiter, parseDelimiter, complete)

Parameters:
    op : 'Op
    parseOp : Parser<'Op, 'T, 'State, 'Input, 'InputSlice>
    rightPower : byte<MeasureProduct<bp, MeasureOne>>
    delimiter : 'Op
    parseDelimiter : Parser<'Op, 'T, 'State, 'Input, 'InputSlice>
    complete : 'Op -> 'Expr -> 'Op -> 'Expr -> 'Expr

Used for control flow constructs like "if then " or "while do "

op : 'Op
parseOp : Parser<'Op, 'T, 'State, 'Input, 'InputSlice>
rightPower : byte<MeasureProduct<bp, MeasureOne>>
delimiter : 'Op
parseDelimiter : Parser<'Op, 'T, 'State, 'Input, 'InputSlice>
complete : 'Op -> 'Expr -> 'Op -> 'Expr -> 'Expr

Prefix(op, parseOp, rightPower, completePrefix)

Full Usage: Prefix(op, parseOp, rightPower, completePrefix)

Parameters:
op : 'Op
parseOp : Parser<'Op, 'T, 'State, 'Input, 'InputSlice>
rightPower : byte<MeasureProduct<bp, MeasureOne>>
completePrefix : 'Op -> 'Expr -> 'Expr

Instance members

Instance member Description

this.IsEnclosed

Full Usage: this.IsEnclosed

Returns: bool
Returns: bool

this.IsLHSTernary

Full Usage: this.IsLHSTernary

Returns: bool
Returns: bool

this.IsPrefix

Full Usage: this.IsPrefix

Returns: bool
Returns: bool

Type something to start searching.