Logo Xantham

TypeRefRender Module

Types and nested modules

Type/Module Description

Unsafe

SRTPHelper

Functions and values

Function or value Description

create scope resolvedType nullable data

Full Usage: create scope resolvedType nullable data

Parameters:
Returns: TypeRefRender
Modifiers: inline
Type parameters: ^T, ^U, ^V (requires (static member Create : Xantham.Generator.Types.Prelude.RenderScopeStore * Xantham.Decoder.ArenaInterner.ResolvedType * Microsoft.FSharp.Core.bool * ^T -> ^U) and (static member Create : Xantham.Generator.Types.Prelude.RenderScopeStore * Xantham.Decoder.ArenaInterner.ResolvedType * Microsoft.FSharp.Core.bool * ^U -> ^V) and (static member Create : Xantham.Generator.Types.Prelude.RenderScopeStore * Xantham.Decoder.ArenaInterner.ResolvedType * Microsoft.FSharp.Core.bool * ^V -> Xantham.Generator.Types.Prelude.TypeRefRender))

 let inline srtpFunc value =
     RenderScopeStore.TypeRefRender.create scope resolvedType nullable value
 
 // Tuple type
 typeRefs : TypeRefRender array
 |> srtpFunc

 
  // Union type
 typeRefs : TypeRefRender list
 |> srtpFunc

 
  // Function type
 (parameters, returnType) : (TypeRefRender list * TypeRefRender)
 |> srtpFunc

 
  // Prefix type
 (prefix, typeArgs) : (TypeRefRender * TypeRefRender list)
 |> srtpFunc

 
  // Transient path ref
 path : TransientTypePath
 |> srtpFunc

 
  // Concrete path ref
 path: TypePath
 |> srtpFunc

 
  // Widget
 widget: WidgetBuilder<Type>
 |> srtpFunc

 
  // an atom
 atom: TypeRefAtom
 |> srtpFunc
 

  // a molecule
 molecule: TypeRefMolecule
 |> srtpFunc
 

  // a type ref
 typeRef: TypeRef
 |> srtpFunc
val srtpFunc: value: 'a -> 'b
val value: 'a
type 'T array = 'T array
type 'T list = List<'T>

scope : RenderScopeStore

resolvedType : ResolvedType

nullable : bool

data : ^T

Returns: TypeRefRender

createKind _scope _resolvedType nullable typeRef

Full Usage: createKind _scope _resolvedType nullable typeRef

Parameters:
Returns: TypeRefRender
_scope : RenderScopeStore
_resolvedType : ResolvedType
nullable : bool
typeRef : TypeRefKind
Returns: TypeRefRender

Type something to start searching.