RouteProvider


RouteCompilation

Namespace: IsakSky.RouteProvider

Nested types and modules

TypeDescription
CompilationOutputType
DynamicParam
Endpoint
FSharpWriter
FunctionParam
HandlerCtorParam
Method
RouteBuilder
RouteCompilationArgs
RouteNode
RouterKlass

Functions and values

Function or valueDescription
addRoute (...)
Signature: routeNode:RouteNode -> endPoint:Endpoint -> segsRemaining:NamedRouteSegment list -> depth:int -> RouteNode
assignNameClash seg1 seg2
Signature: seg1:NamedRouteSegment -> seg2:NamedRouteSegment -> bool
buildNode endPoint segsRemaining depth
Signature: endPoint:Endpoint -> segsRemaining:NamedRouteSegment list -> depth:int -> RouteNode
buildRouteTree routes
Signature: routes:Route list -> RouteNode
captureEq seg1 seg2
Signature: seg1:NamedRouteSegment -> seg2:NamedRouteSegment -> bool
compileRoutes options output
Signature: options:RouteCompilationArgs -> output:TextWriter -> unit
dbgComment w lbl a
Signature: w:FSharpWriter -> lbl:string -> a:'?7426 -> unit
Type parameters: '?7426
dynParamTypeName dynParam
Signature: dynParam:DynamicParam -> string
genericSeg seg depth
Signature: seg:NamedRouteSegment -> depth:int -> NamedRouteSegment
getBranches routeTree
Signature: routeTree:RouteNode -> seq<NamedRouteSegment list * Endpoint>
getDynamicParams segs
Signature: segs:NamedRouteSegment list -> DynamicParam list
groupNodesByLength routeTree
Signature: routeTree:RouteNode -> (int * RouteNode) list
handlerName
Signature: Route -> string
idVal
Signature: IdentifierValidator
makeCtor routes
Signature: routes:Route list -> HandlerCtorParam list option
makeHandlerCtorParam route
Signature: route:Route -> HandlerCtorParam
makeRouteKlasses routes
Signature: routes:Route list -> RouteBuilder list
noOptDisp
Signature: IDisposable
notFoundCtorStr options inRecord
Signature: options:RouteCompilationArgs -> inRecord:bool -> string
notFoundHandlerParams
Signature: DynamicParam list
paramListTypeString paramList options
Signature: paramList:DynamicParam list -> options:RouteCompilationArgs -> string
quoteIfNeeded fnName
Signature: fnName:string -> string
renderCreateFunction (...)
Signature: klassName:string -> ctorParams:HandlerCtorParam list -> options:RouteCompilationArgs -> w:FSharpWriter -> unit
renderDispatchMethods (...)
Signature: routeTree:RouteNode -> options:RouteCompilationArgs -> w:FSharpWriter -> unit
renderMainClass klass routeTree options
Signature: klass:RouterKlass -> routeTree:RouteNode -> options:RouteCompilationArgs -> string
renderMultiLineStr w s
Signature: w:FSharpWriter -> s:string -> unit
renderNotFoundCall options w
Signature: options:RouteCompilationArgs -> w:FSharpWriter -> unit
renderNotFoundHandler options w
Signature: options:RouteCompilationArgs -> w:FSharpWriter -> unit
renderRecordValues ctorParams options w
Signature: ctorParams:HandlerCtorParam list -> options:RouteCompilationArgs -> w:FSharpWriter -> unit
renderRouteBuilder klass w
Signature: klass:RouteBuilder -> w:FSharpWriter -> unit
renderRouteNodeCondTree (...)
Signature: routeTree:RouteNode -> scope:(int * DynamicParam) list -> options:RouteCompilationArgs -> w:FSharpWriter -> unit
renderSegmentTests (...)
Signature: seg:NamedRouteSegment -> scope:(int * DynamicParam) list -> isFirst:bool -> depth:int -> RouteCompilationArgs -> w:FSharpWriter -> (int * DynamicParam) list * IDisposable
renderUtilities w
Signature: w:FSharpWriter -> unit
resolveBranchOverlap routeTree
Signature: routeTree:RouteNode -> RouteNode
resolveNameClashes seg routeTree
Signature: seg:NamedRouteSegment -> routeTree:RouteNode -> NamedRouteSegment * RouteNode
routeEndPoint route
Signature: route:Route -> Endpoint
routeIVars route
Signature: route:Route -> FunctionParam list
routeName route
Signature: route:Route -> string
routeNotMatchedEx
Signature: string
routes2Class routes options
Signature: routes:Route list -> options:RouteCompilationArgs -> RouterKlass
routeSubClass route
Signature: route:Route -> RouteBuilder
segAssigns seg
Signature: seg:NamedRouteSegment -> bool
segName seg
Signature: seg:NamedRouteSegment -> string
segScore _arg1
Signature: _arg1:NamedRouteSegment -> int
Fork me on GitHub