• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
      • Abnf
      • Vwsim
      • Isar
      • Wp-gen
      • Dimacs-reader
      • Pfcs
      • Legacy-defrstobj
      • C
        • Syntax-for-tools
        • Atc
        • Transformation-tools
        • Language
          • Abstract-syntax
          • Integer-ranges
          • Implementation-environments
          • Dynamic-semantics
          • Static-semantics
          • Grammar
          • Types
            • Type
            • Type-name-list-to-type-list
            • Tyname-to-type
            • Member-type-list->name-list
            • Type-completep
            • Member-type
              • Member-type-fix
              • Member-type-equiv
              • Make-member-type
              • Member-type->name
              • Change-member-type
              • Member-type->type
              • Member-typep
            • Member-type-add-first
            • Member-type-add-last
            • Init-type
            • Type-option
            • Member-type-lookup
            • Tyspecseq-to-type
            • Member-type-list-option
            • Type-promoted-arithmeticp
            • Type-list-result
            • Member-type-list-result
            • Integer-type-bits-nulfun
            • Init-type-result
            • Type-result
            • Type-nonchar-integerp
            • Type-nonchar-integer-listp
            • Type-arithmetic-listp
            • Type-integer-listp
            • Integer-type-xdoc-string
            • Type-unsigned-integerp
            • Type-signed-integerp
            • Integer-type-minbits
            • Integer-type-bits
            • Type-scalarp
            • Type-integerp
            • Type-arithmeticp
            • Type-realp
            • Type-list
            • *nonchar-integer-types*
            • Member-type-list
            • Ident-type-map
            • Type-set
            • Type-option-set
            • Symbol-type-alist
            • Type-option-list
          • Integer-formats-definitions
          • Computation-states
          • Portable-ascii-identifiers
          • Values
          • Integer-operations
          • Object-designators
          • Operations
          • Errors
          • Tag-environments
          • Function-environments
          • Character-sets
          • Flexible-array-member-removal
          • Arithmetic-operations
          • Pointer-operations
          • Real-operations
          • Array-operations
          • Scalar-operations
          • Structure-operations
        • Representation
        • Insertion-sort
        • Pack
      • Proof-checker-array
      • Soft
      • Farray
      • Rp-rewriter
      • Instant-runoff-voting
      • Imp-language
      • Sidekick
      • Ethereum
      • Leftist-trees
      • Java
      • Riscv
      • Taspi
      • Bitcoin
      • Zcash
      • Des
      • X86isa
      • Sha-2
      • Yul
      • Proof-checker-itp13
      • Regex
      • ACL2-programming-language
      • Json
      • Jfkr
      • Equational
      • Cryptography
      • Axe
      • Poseidon
      • Where-do-i-place-my-book
      • Aleo
      • Bigmems
      • Builtins
      • Execloader
      • Solidity
      • Paco
      • Concurrent-programs
      • Bls12-377-curves
    • Debugging
    • Community
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
    • Math
    • Testing-utilities
  • Types

Member-type

Fixtype of member types.

This is a product type introduced by fty::defprod.

Fields
name — ident
type — type

These contain information about the members of structure and union types [C17:6.7.2.1]. This information consists of a name and a type, for each member. We do not capture bit fields (including anonymous ones) and we do not capture static assertions. The information we capture mirrors struct-declon.

We call these `member types' because they are the static counterpart of the member values captured by member-value.

Subtopics

Member-type-fix
Fixing function for member-type structures.
Member-type-equiv
Basic equivalence relation for member-type structures.
Make-member-type
Basic constructor macro for member-type structures.
Member-type->name
Get the name field from a member-type.
Change-member-type
Modifying constructor for member-type structures.
Member-type->type
Get the type field from a member-type.
Member-typep
Recognizer for member-type structures.