Documentation

DocGen4.Process.Attributes

class DocGen4.ValueAttr (attrKind : TypeType) :

Captures the notion of a value based attributes, attrKind is things like EnumAttributes.

Instances
    structure DocGen4.ValueAttrWrapper (attrKind : TypeType) [ValueAttr attrKind] :

    Contains a specific attribute declaration of a certain attribute kind (enum based, parametric etc.).

    Instances For

      Obtain the value of an enum attribute for a certain name.

      Equations
      Instances For

        Obtain the value of a parametric attribute for a certain name.

        Equations
        Instances For
          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            Equations
            • One or more equations did not get rendered due to their size.
            Instances For
              @[implicit_reducible]
              Equations
              • One or more equations did not get rendered due to their size.
              @[implicit_reducible]
              Equations
              • One or more equations did not get rendered due to their size.
              @[implicit_reducible]
              Equations
              • One or more equations did not get rendered due to their size.
              @[reducible]

              The list of all enum based attributes doc-gen knows about and can recover.

              Equations
              • One or more equations did not get rendered due to their size.
              Instances For
                @[implicit_reducible]
                Equations
                • One or more equations did not get rendered due to their size.
                @[implicit_reducible]
                Equations
                • One or more equations did not get rendered due to their size.

                The list of all parametric attributes (that is, attributes with any kind of information attached) doc-gen knows about and can recover.

                Equations
                • One or more equations did not get rendered due to their size.
                Instances For
                  Equations
                  • One or more equations did not get rendered due to their size.
                  Instances For
                    def DocGen4.getValuesAux {α : Type} {attrKind : TypeType} [va : ValueAttr attrKind] [Inhabited α] [ToString α] (decl : Lean.Name) (attr : attrKind α) :
                    Equations
                    Instances For
                      def DocGen4.getValues {attrKind : TypeType} [ValueAttr attrKind] (decl : Lean.Name) (attrs : Array (ValueAttrWrapper attrKind)) :
                      Equations
                      • One or more equations did not get rendered due to their size.
                      Instances For
                        Equations
                        • One or more equations did not get rendered due to their size.
                        Instances For
                          Equations
                          • One or more equations did not get rendered due to their size.
                          Instances For

                            The list of custom attributes, that don't fit in the parametric or enum attribute kinds, doc-gen konws about and can recover.

                            Equations
                            Instances For
                              Equations
                              • One or more equations did not get rendered due to their size.
                              Instances For

                                The main entry point for recovering all attribute values for a given declaration.

                                Equations
                                • One or more equations did not get rendered due to their size.
                                Instances For