Next: 类型说明符, Previous: 记录类型, Up: 编程类型 [Contents][Index]
type descriptor类型描述符 是一种用于存放类型相关信息的记录。该记录的第一个槽位必须是表示该类型名称的符号,type-of 正是依靠这一点来返回 record 对象的类型。Emacs 本身不会使用类型描述符的其他槽位,这些槽位可自由用于 Lisp 扩展。
type-of
record
cl-structure-class 的任意实例都是类型描述符的一个例子。
cl-structure-class
Emacs
Orgmode
æèµ
© 2025 Jasper Hsu
Creative Commons
Attribute
Noncommercial
Share Alike