SpadDoc¶
sdoc.spad line 1 [edit on github]
This package provides simple Spad documentation for the interpreter and the MCP server.
- constructorDocumentation: Symbol -> Void
constructorDocumentation(term)displays the documentation of the constructorterm.
- getConstructorDocumentation: Symbol -> String
getConstructorDocumentation(term)returns the cleaned documentation of constructorterm.
- getOperationDocumentation: Symbol -> List Record(origin: String, signature: String, doc: String)
getOperationDocumentation(op)returns a list of records containing the origin constructor, signature, and documentation for operationop.
- listCategories: Symbol -> List Symbol
listCategories(cat)returns a list of the categories matching the categoriescat.
- listConstructors: Symbol -> Record(categories: List Symbol, domains: List Symbol, packages: List Symbol)
listConstructors(const)returns a list of the categories, domains, and packages that the constructorconstbelongs to. For example:listConstructors('AbelianMonoidRing) listConstructors("Int*")
- listDomains: Symbol -> List Symbol
listDomains(dom)returns a list of the domains matching the domainsdom.