SynType Type
Represents a syntax tree for F# types
Union cases
Union case |
Description
|
|
F# syntax: _
|
|
|
|
|
|
A type arising from a parse error
|
Full Usage:
Fun(argType, returnType, range, trivia)
Parameters:
SynType
returnType : SynType
range : range
trivia : SynTypeFunTrivia
|
F# syntax: type -> type
|
|
|
Full Usage:
Intersection(typar, types, range, trivia)
Parameters:
SynTypar option
types : SynType list
range : range
trivia : SynTyparDeclTrivia
|
F# syntax: x: #I1 & #I2 F# syntax: x: 't & #I1 & #I2 Shorthand for x: 't when 't :> I1 and 't :> I2
|
|
F# syntax: A.B.C
|
Full Usage:
MeasurePower(baseMeasure, exponent, range)
Parameters:
SynType
exponent : SynRationalConst
range : range
|
F# syntax: for units of measure e.g. m^3, kg^1/2
|
Full Usage:
Or(lhsType, rhsType, range, trivia)
Parameters:
SynType
rhsType : SynType
range : range
trivia : SynTypeOrTrivia
|
F# syntax: ^a or ^b, used in trait calls
|
|
|
Full Usage:
SignatureParameter(attributes, optional, id, usedType, range)
Parameters:
SynAttributes
optional : bool
id : Ident option
usedType : SynType
range : range
|
F# syntax: a: b, used in signatures and type annotations
|
|
|
|
|
|
|
|
F# syntax: null, used in parameters to type providers
|
Full Usage:
Tuple(isStruct, path, range)
Parameters:
bool
path : SynTupleTypeSegment list
range : range
|
F# syntax: type * ... * type F# syntax: struct (type * ... * type)
|
|
|
Full Usage:
WithGlobalConstraints(typeName, constraints, range)
Parameters:
SynType
constraints : SynTypeConstraint list
range : range
|
F# syntax: typ with constraints
|
Full Usage:
WithNull(innerType, ambivalent, range, trivia)
Parameters:
SynType
ambivalent : bool
range : range
trivia : SynTypeWithNullTrivia
|
|
Instance members
Instance member |
Description
|
Full Usage:
this.IsAnon
Returns: bool
|
|
Full Usage:
this.IsAnonRecd
Returns: bool
|
|
Full Usage:
this.IsApp
Returns: bool
|
|
Full Usage:
this.IsArray
Returns: bool
|
|
Full Usage:
this.IsFromParseError
Returns: bool
|
|
Full Usage:
this.IsFun
Returns: bool
|
|
Full Usage:
this.IsHashConstraint
Returns: bool
|
|
Full Usage:
this.IsIntersection
Returns: bool
|
|
Full Usage:
this.IsLongIdent
Returns: bool
|
|
Full Usage:
this.IsLongIdentApp
Returns: bool
|
|
Full Usage:
this.IsMeasurePower
Returns: bool
|
|
Full Usage:
this.IsOr
Returns: bool
|
|
Full Usage:
this.IsParen
Returns: bool
|
|
Full Usage:
this.IsSignatureParameter
Returns: bool
|
|
Full Usage:
this.IsStaticConstant
Returns: bool
|
|
Full Usage:
this.IsStaticConstantExpr
Returns: bool
|
|
Full Usage:
this.IsStaticConstantNamed
Returns: bool
|
|
Full Usage:
this.IsStaticConstantNull
Returns: bool
|
|
Full Usage:
this.IsTuple
Returns: bool
|
|
Full Usage:
this.IsVar
Returns: bool
|
|
Full Usage:
this.IsWithGlobalConstraints
Returns: bool
|
|
Full Usage:
this.IsWithNull
Returns: bool
|
|
|
Gets the syntax range of this construct
|