• Top
    • Documentation
      • Xdoc
        • Undocumented
        • Save
        • Defsection
        • Markup
        • Preprocessor
        • Terminal
        • Emacs-links
        • Entities
        • Defxdoc
        • Katex-integration
        • Constructors
          • Primitive-constructors
          • Composite-constructors
            • Xdoc::apt-constructors
            • Generic-composite-constructors
            • Event-macro-xdoc-constructors
              • Event-macro-xdoc-constructors-user-level
                • Xdoc::evmac-desc-function/lambda/macro
                • Xdoc::evmac-desc-term
                • Xdoc::evmac-topic-design-notes
                • Xdoc::evmac-appcond
                • Xdoc::evmac-desc-input-name
                • Xdoc::evmac-section-redundancy
                • Xdoc::evmac-input-show-only
                • Xdoc::evmac-input-print
                • Xdoc::evmac-desc-input-enable-t/nil
                  • Xdoc::evmac-section-appconds
                  • Xdoc::evmac-input-hints
                  • Xdoc::evmac-section-generated
                  • Xdoc::evmac-section-intro
                  • Xdoc::evmac-section-inputs
                  • Xdoc::evmac-section-form
                • Event-macro-xdoc-constructors-implementation-level
            • Constructor-preliminaries
            • Trees
          • Defxdoc+
          • Save-rendered
          • Add-resource-directory
          • Testing
          • Order-subtopics
          • Save-rendered-event
          • Archive-matching-topics
          • Archive-xdoc
          • Xdoc-extend
          • Set-default-parents
          • Missing-parents
          • Defpointer
          • Defxdoc-raw
          • Xdoc-tests
          • Xdoc-prepend
          • Defsection-progn
          • Gen-xdoc-for-file
        • ACL2-doc
        • Recursion-and-induction
        • Loop$-primer
        • Operational-semantics
        • Pointers
        • Doc
        • Documentation-copyright
        • Publications
        • Course-materials
        • Args
        • ACL2-doc-summary
        • Finding-documentation
        • Broken-link
        • Doc-terminal-test-2
        • Doc-terminal-test-1
      • Books
      • Boolean-reasoning
      • Projects
      • Debugging
      • Community
      • Std
      • Proof-automation
      • Macro-libraries
      • ACL2
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • Event-macro-xdoc-constructors-user-level

    Xdoc::evmac-desc-input-enable-t/nil

    Construct a description of a :...-enable input for the user documentation of an event macro.

    This is for an input to determine the enablement of an entity (e.g. a function) generated by the event macro.

    The ... in :...-enable is passed as the prefix argument of this macro.

    The default is passed as the default argument of this macro.

    The description of the entity is passed as the desc argument of this macro.

    Macro: evmac-desc-input-enable-t/nil

    (defmacro xdoc::evmac-desc-input-enable-t/nil
              (prefix &key default desc)
     (declare (xargs :guard (and (stringp prefix)
                                 (booleanp default)
                                 (stringp desc))))
     (cons
        'xdoc::desc
        (cons (concatenate 'string
                           "@(':"
                           prefix "-enable') — default "
                           (if default "@('t')" "@('nil')"))
              (cons (cons 'xdoc::p
                          (cons '"Determines whether "
                                (cons desc '(" is enabled."))))
                    '((xdoc::p "It must be one of the following:")
                      (xdoc::ul (xdoc::li "@('t'), to enable.")
                                (xdoc::li "@('nil'), to disable.")))))))