SymbolIndexModule

PackageAxial.Guardrails
Facts belong to one immutable FCS file context, never to its filename or a process-wide project snapshot.

Summary

NameSignatureSynopsis
Operations
memomemo ctx key createNo description available.
forContextforContext ctxNo description available.
declarationsdeclarations ctxThe file's typed declarations, read once.

Operations

kind:member

memo

memo ctx key create
Member

Parameters

NameTypeDescription
ctxCliContext
keyobj
createunit -> 'a

Returns

'a
kind:member

forContext

forContext ctx
Member

Parameters

NameTypeDescription
ctxCliContext

Returns

FileSymbols
kind:member

declarations

declarations ctx
Member
The file's typed declarations, read once. FCS rebuilds `Declarations`, and every expression under it, on each read, while each expression caches its own conversion; sharing one read lets every rule walk the same converted tree instead of converting the file again (about 0.75 s per rule on Axial).

Parameters

NameTypeDescription
ctxCliContext

Returns

FSharpImplementationFileDeclaration list