• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
      • Abnf
      • Vwsim
      • Isar
      • Wp-gen
      • Dimacs-reader
      • Pfcs
      • Legacy-defrstobj
      • Proof-checker-array
      • Soft
      • C
        • Syntax-for-tools
        • Atc
        • Language
        • Representation
        • Transformation-tools
          • Simpadd0
          • Splitgso
          • Constant-propagation
          • Split-fn
          • Specialize
          • Split-all-gso
          • Copy-fn
          • Rename
          • Utilities
            • Free-vars
            • Call-graphs
              • Qualified-ident
                • Qualified-ident-fix
                • Qualified-ident-equiv
                • Qualified-identp
                • Make-qualified-ident
                  • Qualified-ident->filepath?
                  • Qualified-ident->ident
                  • Change-qualified-ident
                  • Internal-ident
                  • External-ident
                  • Qualified-ident-internalp
                  • Qualified-ident-externalp
                • Call-graph-transitive-closure
                • Qualified-ident-option
                • Call-graph-transitive-closure0
                • Call-graph-initdeclor-list
                • Call-graph-fundef
                • Call-graph-statassert
                • Call-graph-initdeclor
                • Call-graph-decl
                • Call-graph-const-expr
                • Call-graph-transunit
                • Call-graph-extdecl-list
                • Call-graph-extdecl
                • Call-graph-update
                • Qualify-ident
                • Exists-call-pathp
                • Call-graph-filepath-transunit-map
                • Uncertain-call-pathp
                • Recursivep
                • Direct-recursivep
                • Call-graph-transunit-ensemble
                • Call-graph
                • Qualified-ident-option-set
                • Direct-fun-refp
              • Fresh-ident-utility
              • Collect-idents
          • Insertion-sort
          • Pack
        • Farray
        • Rp-rewriter
        • Instant-runoff-voting
        • Imp-language
        • Sidekick
        • Leftist-trees
        • Java
        • Taspi
        • Riscv
        • Bitcoin
        • Des
        • Ethereum
        • X86isa
        • Sha-2
        • Yul
        • Zcash
        • Proof-checker-itp13
        • Regex
        • ACL2-programming-language
        • Json
        • Jfkr
        • Equational
        • Cryptography
        • Poseidon
        • Where-do-i-place-my-book
        • Axe
        • Aleo
        • Bigmems
        • Builtins
        • Execloader
        • Solidity
        • Paco
        • Concurrent-programs
        • Bls12-377-curves
      • Debugging
      • Std
      • Community
      • Proof-automation
      • ACL2
      • Macro-libraries
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • Qualified-ident

    Make-qualified-ident

    Basic constructor macro for qualified-ident structures.

    Syntax
    (make-qualified-ident [:filepath? <filepath?>] 
                          [:ident <ident>]) 
    

    This is the usual way to construct qualified-ident structures. It simply conses together a structure with the specified fields.

    This macro generates a new qualified-ident structure from scratch. See also change-qualified-ident, which can "change" an existing structure, instead.

    Definition

    This is an ordinary make- macro introduced by fty::defprod.

    Macro: make-qualified-ident

    (defmacro make-qualified-ident (&rest args)
      (std::make-aggregate 'qualified-ident
                           args '((:filepath?) (:ident))
                           'make-qualified-ident
                           nil))

    Function: qualified-ident

    (defun qualified-ident (filepath? ident)
      (declare (xargs :guard (and (c$::filepath-optionp filepath?)
                                  (identp ident))))
      (declare (xargs :guard t))
      (let ((__function__ 'qualified-ident))
        (declare (ignorable __function__))
        (b* ((filepath? (mbe :logic (c$::filepath-option-fix filepath?)
                             :exec filepath?))
             (ident (mbe :logic (ident-fix ident)
                         :exec ident)))
          (list (cons 'filepath? filepath?)
                (cons 'ident ident)))))