• 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-input-print

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

    Since this documentation is part of the XDOC topic whose name is the name of the macro, the macro-ref variable is not a link.

    Macro: evmac-input-print

    (defmacro xdoc::evmac-input-print (macro &key additional)
     (declare (xargs :guard (symbolp macro)))
     (b* ((macro-name (string-downcase (symbol-name macro)))
          (macro-ref (concatenate 'string
                                  "@('" macro-name "')")))
      (cons
       'xdoc::desc
       (cons
        '"@(':print') — default @(':result')"
        (cons
         '(xdoc::p
               "Specifies what is printed on the screen
            (see "
               (xdoc::seetopic "acl2::event-macro-screen-printing"
                               "screen printing")
               ").")
         (cons
          '(xdoc::p "It must be one of the following:")
          (cons
           (cons
            'xdoc::ul
            (cons
             '(xdoc::li
                  "@('nil'), to print nothing (not even error output).")
             (cons
              '(xdoc::li
                    "@(':error'), to print only error output (if any).")
              (cons
               (cons
                'xdoc::li
                (cons
                 '"@(':result'), to print, besides any error output,
             also the "
                 (cons '(xdoc::seetopic
                             "acl2::event-macro-results" "results")
                       (cons '" of "
                             (cons macro-ref
                                   '(".
             This is the default value of the @(':print') input."))))))
               (cons
                (cons
                 'xdoc::li
                 (cons
                  '"@(':info'), to print,
             besides any error output and the results,
             also some additional information about
             the internal operations of "
                  (cons macro-ref '("."))))
                '((xdoc::li
                   "@(':all'), to print,
             besides any error output,
             the results,
             and the additional information,
             also ACL2's output in response to all the submitted events.")))))))
           (cons (cons 'xdoc::p
                       (cons '"If the call of "
                             (cons macro-ref
                                   '(" is redundant,
            an indication to that effect is printed on the screen,
            unless @(':print') is @('nil')."))))
                 additional))))))))