import public Libraries.Text.PrettyPrint.Prettyprinter
import public Libraries.Text.PrettyPrint.Prettyprinter.Util
import public Idris.Doc.AnnotationsaddDocString : Ref Ctxt Defs => Ref Syn SyntaxInfo => Name -> String -> Core ()addDocStringNS : Ref Ctxt Defs => Ref Syn SyntaxInfo => Namespace -> Name -> String -> Core ()prettyType : Ref Ctxt Defs => Ref Syn SyntaxInfo => (IdrisSyntax -> ann) -> ClosedTerm -> Core (Doc ann)getDocsForPrimitive : Ref Ctxt Defs => Ref Syn SyntaxInfo => Constant -> Core (Doc IdrisDocAnn)data Config : TypeMkConfig : {default True _ : Bool} -> {default True _ : Bool} -> {default False _ : Bool} -> {default True _ : Bool} -> ConfigConfiguration of the printer for a name
@ showType Do we show the type?
@ longNames Do we print qualified names?
@ dropFirst Do we drop the first argument in the type?
@ getTotality Do we print the totality status of the function?
methodsConfig : ConfigPrinter configuration for interface methods
* longNames turned off for interface methods because the namespace is
already spelt out for the interface itself
* dropFirst turned on for interface methods because the first argument
is always the interface constraint
* totality turned off for interface methods because the methods themselves
are just projections out of a record and so are total
shortNamesConfig : ConfigjustUserDoc : ConfiggetDocsForName : Ref ROpts REPLOpts => Ref Ctxt Defs => Ref Syn SyntaxInfo => FC -> Name -> Config -> Core (Doc IdrisDocAnn)getDocsForImplementation : Ref Syn SyntaxInfo => Ref Ctxt Defs => PTerm -> Core (Maybe (Doc IdrisSyntax))getDocsForPTerm : Ref ROpts REPLOpts => Ref Ctxt Defs => Ref Syn SyntaxInfo => PTerm -> Core (Doc IdrisDocAnn)getDocs : Ref ROpts REPLOpts => Ref Ctxt Defs => Ref Syn SyntaxInfo => DocDirective -> Core (Doc IdrisDocAnn)getContents : Ref ROpts REPLOpts => Ref Ctxt Defs => Ref Syn SyntaxInfo => Namespace -> Core (Doc IdrisDocAnn)