Header menu logo F# Compiler Guide

SynRationalConst Type

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

Union cases

Union case Description

Integer(value, range)

Full Usage: Integer(value, range)

Parameters:
    value : int32
    range : range

value : int32
range : range

Negate(rationalConst, range)

Full Usage: Negate(rationalConst, range)

Parameters:
rationalConst : SynRationalConst
range : range

Paren(rationalConst, range)

Full Usage: Paren(rationalConst, range)

Parameters:
rationalConst : SynRationalConst
range : range

Rational(numerator, numeratorRange, divRange, denominator, denominatorRange, range)

Full Usage: Rational(numerator, numeratorRange, divRange, denominator, denominatorRange, range)

Parameters:
    numerator : int32
    numeratorRange : range
    divRange : range
    denominator : int32
    denominatorRange : range
    range : range

numerator : int32
numeratorRange : range
divRange : range
denominator : int32
denominatorRange : range
range : range

Instance members

Instance member Description

this.IsInteger

Full Usage: this.IsInteger

Returns: bool
Returns: bool

this.IsNegate

Full Usage: this.IsNegate

Returns: bool
Returns: bool

this.IsParen

Full Usage: this.IsParen

Returns: bool
Returns: bool

this.IsRational

Full Usage: this.IsRational

Returns: bool
Returns: bool

Type something to start searching.