Header menu logo fantomas

SynMeasure Type

Represents an unchecked syntax tree of F# unit of measure annotations.

Union cases

Union case Description

Anon range

Full Usage: Anon range

Parameters:

An anonymous (inferred) unit of measure

range : range

Divide(measure1, mSlash, measure2, range)

Full Usage: Divide(measure1, mSlash, measure2, range)

Parameters:

A division of two units of measure, e.g. 'kg / m'

measure1 : SynMeasure option
mSlash : range
measure2 : SynMeasure
range : range

Named(longId, range)

Full Usage: Named(longId, range)

Parameters:

A named unit of measure

longId : LongIdent
range : range

One range

Full Usage: One range

Parameters:

The '1' unit of measure

range : range

Paren(measure, range)

Full Usage: Paren(measure, range)

Parameters:

A parenthesized measure

measure : SynMeasure
range : range

Power(measure, caretRange, power, range)

Full Usage: Power(measure, caretRange, power, range)

Parameters:

A power of a unit of measure, e.g. 'kg ^ 2'

measure : SynMeasure
caretRange : range
power : SynRationalConst
range : range

Product(measure1, mAsterisk, measure2, range)

Full Usage: Product(measure1, mAsterisk, measure2, range)

Parameters:

A product of two units of measure, e.g. 'kg * m'

measure1 : SynMeasure
mAsterisk : range
measure2 : SynMeasure
range : range

Seq(measures, range)

Full Usage: Seq(measures, range)

Parameters:

A sequence of several units of measure, e.g. 'kg m m'

measures : SynMeasure list
range : range

Var(typar, range)

Full Usage: Var(typar, range)

Parameters:

A variable unit of measure

typar : SynTypar
range : range

Type something to start searching.