• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Community
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
      • Kestrel-books
        • Crypto-hdwallet
        • Apt
        • Error-checking
        • Fty-extensions
        • Isar
        • Kestrel-utilities
        • Set
        • 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
        • Soft
        • Bv
        • Imp-language
        • Ethereum
        • Event-macros
        • Java
        • Riscv
        • Bitcoin
        • Zcash
        • Yul
        • ACL2-programming-language
        • Prime-fields
        • Json
        • Syntheto
        • File-io-light
        • Cryptography
        • Number-theory
        • Axe
        • Lists-light
        • Builtins
        • Solidity
        • Helpers
        • Htclient
        • Typed-lists-light
        • Arithmetic-light
      • X86isa
      • Axe
      • Execloader
    • 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.